aboutsummaryrefslogtreecommitdiff
path: root/x11-fonts/sgifonts
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-03-21 23:05:19 +0000
commita5da770e67afce95b829c38c5d5330fe69f7822c (patch)
treeb9556c9042a9d20d7c71f49869f39f95afc00052 /x11-fonts/sgifonts
parent51da733b698e7bbedaac4743f457352334401249 (diff)
downloadports-a5da770e67afce95b829c38c5d5330fe69f7822c.tar.gz
ports-a5da770e67afce95b829c38c5d5330fe69f7822c.zip
Make fonts repecting XDG
Xorg is now looking in ${LOCALBASE}/share/fonts by default Xorg now accepts symlinks in etc/X11/fontpath.d (as decribed in Xserver(1)) Large cleanup on lots of font ports All fonts are now properly dynamically generating fonts.dir and fonts.scale instead of sometime overwriting existing ones) All fonts are generating fontconfig's cache Improve consistency in fonts ports
Notes
Notes: svn path=/head/; revision=381876
Diffstat (limited to 'x11-fonts/sgifonts')
-rw-r--r--x11-fonts/sgifonts/Makefile19
-rw-r--r--x11-fonts/sgifonts/files/pkg-message.in2
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".
*****************************************