Contents of /trunk/extras/font-courier-10pitch-bt/font-courier-10pitch-bt-1.0-r5.smage2
Parent Directory | Revision Log
Revision 2 -
(show annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (16 years ago) by niro
File size: 1049 byte(s)
Fri Oct 10 13:29:42 2008 UTC (16 years ago) by niro
File size: 1049 byte(s)
import repo
1 | # $Header: /magellan-cvs/smage/font-courier-10pitch-bt/font-courier-10pitch-bt-1.0-r5.smage2,v 1.2 2008/03/24 14:56:54 niro Exp $ |
2 | |
3 | PNAME="font-courier-10pitch-bt" |
4 | PVER="1.0" |
5 | PBUILD="r5" |
6 | |
7 | PCATEGORIE="media-fonts" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="Courier 10 Pitch BT font family." |
11 | HOMEPAGE="http://dradul.tripod.com/font_stuff/Courier_10_Pitch_BT.htm" |
12 | |
13 | sminclude xorg mtools mbuild |
14 | |
15 | # overrides |
16 | SRCFILE="bcr10_X11_t1.zip" |
17 | SRCDIR="${BUILDDIR}/Courier10BT" |
18 | XORG_FONT_DIR="courier-10pitch" |
19 | SRC_URI=( mirror://${PNAME}/${SRCFILE} ) |
20 | |
21 | SDEPEND=">= app-arch/unzip-5 |
22 | >= app-text/ghostscript-esp-7 |
23 | >= media-fonts/font-util-1" |
24 | |
25 | src_compile() |
26 | { |
27 | cd ${SRCDIR} |
28 | |
29 | # convert pfb to ghostscript pfa files |
30 | for i in ${SRCDIR}/*.pfb |
31 | do |
32 | pfbtopfa ${i} || die ${i} |
33 | done |
34 | } |
35 | |
36 | src_install() |
37 | { |
38 | cd ${SRCDIR} |
39 | |
40 | minstalldir /usr/share/fonts/${XORG_FONT_DIR} |
41 | minstallfile ${SRCDIR}/\*.afm /usr/share/fonts/${XORG_FONT_DIR} || die |
42 | minstallfile ${SRCDIR}/\*.pfa /usr/share/fonts/${XORG_FONT_DIR} || die |
43 | minstallfile ${SRCDIR}/\*.pfb /usr/share/fonts/${XORG_FONT_DIR} || die |
44 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |