Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= liberation-fonts-ttf |
8 |
PORTNAME= liberation-fonts-ttf |
9 |
PORTVERSION= 1.05.1.20090721 |
9 |
PORTVERSION= 1.05.2.20091227 |
10 |
PORTEPOCH= 1 |
10 |
PORTEPOCH= 1 |
11 |
CATEGORIES= x11-fonts |
11 |
CATEGORIES= x11-fonts |
12 |
MASTER_SITES= https://fedorahosted.org/releases/l/i/liberation-fonts/ |
12 |
MASTER_SITES= https://fedorahosted.org/releases/l/i/liberation-fonts/ |
Lines 18-24
Link Here
|
18 |
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir |
18 |
mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir |
19 |
|
19 |
|
20 |
USE_XORG= x11 |
20 |
USE_XORG= x11 |
21 |
USE_ZIP= yes # The 1.05.1.20090721 tarball is broken |
|
|
22 |
|
21 |
|
23 |
NO_WRKSUBDIR= yes |
22 |
NO_WRKSUBDIR= yes |
24 |
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" |
23 |
PLIST_SUB= FONTDIR="${FONTDIR:S|${PREFIX}/||}" |
Lines 29-50
Link Here
|
29 |
|
28 |
|
30 |
FONTNAME= Liberation |
29 |
FONTNAME= Liberation |
31 |
FONTDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME} |
30 |
FONTDIR= ${PREFIX}/lib/X11/fonts/${FONTNAME} |
32 |
INSTDAT= AUTHORS License.txt fonts.dir fonts.scale |
31 |
INSTDAT= AUTHORS License.txt ttf/fonts.dir ttf/fonts.scale |
33 |
|
32 |
|
34 |
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale |
33 |
MKFONTSCL_CMD= ${LOCALBASE}/bin/mkfontscale |
35 |
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir |
34 |
MKFONTDIR_CMD= ${LOCALBASE}/bin/mkfontdir |
36 |
|
35 |
|
37 |
do-build: |
36 |
do-build: |
38 |
cd ${WRKSRC} && \ |
37 |
cd ${WRKSRC}/ttf && ${MKFONTSCL_CMD} |
39 |
${MKFONTSCL_CMD} |
38 |
${REINPLACE_CMD} -e 's|-misc-|-redhat-|' ${WRKSRC}/ttf/fonts.scale |
40 |
${REINPLACE_CMD} -e 's|-misc-|-redhat-|' ${WRKSRC}/fonts.scale |
39 |
cd ${WRKSRC}/ttf && ${MKFONTDIR_CMD} |
41 |
cd ${WRKSRC} && \ |
|
|
42 |
${MKFONTDIR_CMD} |
43 |
|
40 |
|
44 |
do-install: |
41 |
do-install: |
45 |
${MKDIR} ${FONTDIR} |
42 |
${MKDIR} ${FONTDIR} |
46 |
cd ${WRKSRC} && \ |
43 |
cd ${WRKSRC} && \ |
47 |
${INSTALL_DATA} ${INSTDAT} *.ttf ${FONTDIR} |
44 |
${INSTALL_DATA} ${INSTDAT} ttf/*.ttf ${FONTDIR} |
48 |
|
45 |
|
49 |
post-install: |
46 |
post-install: |
50 |
@${ECHO_MSG} |
47 |
@${ECHO_MSG} |