diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-03-21 23:05:19 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-03-21 23:05:19 +0000 |
commit | a5da770e67afce95b829c38c5d5330fe69f7822c (patch) | |
tree | b9556c9042a9d20d7c71f49869f39f95afc00052 /x11-fonts/sgifonts | |
parent | 51da733b698e7bbedaac4743f457352334401249 (diff) |
Notes
Diffstat (limited to 'x11-fonts/sgifonts')
-rw-r--r-- | x11-fonts/sgifonts/Makefile | 19 | ||||
-rw-r--r-- | x11-fonts/sgifonts/files/pkg-message.in | 2 |
2 files changed, 10 insertions, 11 deletions
diff --git a/x11-fonts/sgifonts/Makefile b/x11-fonts/sgifonts/Makefile index 719761ad9d0d..70a20603e435 100644 --- a/x11-fonts/sgifonts/Makefile +++ b/x11-fonts/sgifonts/Makefile @@ -3,7 +3,7 @@ PORTNAME= sgifonts PORTVERSION= 1.0.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-fonts MASTER_SITES= ftp://patches.sgi.com/pub/linux/ProPack1.4/SRPMS/ DISTNAME= sgi-fonts-1.0-1.src @@ -14,17 +14,17 @@ COMMENT= Fonts from the SGI ProPack 1.4 (originally for Linux) LICENSE= MIT -BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \ - mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir +BUILD_DEPENDS= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf +USES= fonts NO_ARCH= yes NO_WRKSUBDIR= yes SUB_FILES= pkg-message -PLIST_FILES= lib/X11/fonts/local/sgi/fonts.alias \ - lib/X11/fonts/local/sgi/fonts.dir \ - ${FONTS:S!^!lib/X11/fonts/local/sgi/!:S!$!.pcf.gz!} +FONTNAME= sgi +PLIST_FILES= ${FONTS:S!^!${FONTSDIR}/!:S!$!.pcf.gz!} \ + ${FONTSDIR}/fonts.alias FONTS= Scr7 Scr8 Scr9 Scr10 Scr11 Scr12 \ Scr13 Scr14 Scr15 Scr16 Scr18 \ @@ -51,11 +51,10 @@ do-build: .endfor do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/sgi + @${MKDIR} ${STAGEDIR}${FONTSDIR} (cd ${WRKSRC}/sgi-fonts/sgi && ${INSTALL_DATA} fonts.alias \ - ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/sgi) + ${STAGEDIR}${FONTSDIR}) (cd ${WRKSRC}/sgi-fonts/sgi && ${INSTALL_DATA} *.pcf.gz \ - ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/sgi) - (cd ${STAGEDIR}${PREFIX}/lib/X11/fonts/local/sgi && mkfontdir) + ${STAGEDIR}${FONTSDIR}) .include <bsd.port.mk> diff --git a/x11-fonts/sgifonts/files/pkg-message.in b/x11-fonts/sgifonts/files/pkg-message.in index 96a94c3ed0a8..0949aa3c69b8 100644 --- a/x11-fonts/sgifonts/files/pkg-message.in +++ b/x11-fonts/sgifonts/files/pkg-message.in @@ -1,6 +1,6 @@ ****************************************** Add a line -FontPath "%%PREFIX%%/lib/X11/fonts/local/sgi" +FontPath "%%FONTSDIR%% to your xorg.conf. Then, restart the X server or do "xset fp rehash". ***************************************** |