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/manu-gothica | |
parent | 51da733b698e7bbedaac4743f457352334401249 (diff) | |
download | freebsd-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
Diffstat (limited to 'x11-fonts/manu-gothica')
-rw-r--r-- | x11-fonts/manu-gothica/Makefile | 14 | ||||
-rw-r--r-- | x11-fonts/manu-gothica/pkg-plist | 6 |
2 files changed, 6 insertions, 14 deletions
diff --git a/x11-fonts/manu-gothica/Makefile b/x11-fonts/manu-gothica/Makefile index 26bded8b0f2b..038aa6f6540d 100644 --- a/x11-fonts/manu-gothica/Makefile +++ b/x11-fonts/manu-gothica/Makefile @@ -3,7 +3,7 @@ PORTNAME= manu-gothica DISTVERSION= 0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-fonts MASTER_SITES= http://www.bryld.dk/filer/ \ http://www.kswla.org/KATG%20Page%20Files/ @@ -13,11 +13,11 @@ EXTRACT_SUFX= .ttf MAINTAINER= ports@FreeBSD.org COMMENT= Old German blackletter handwriting (Suetterlin) -BUILD_DEPENDS= fc-cache:${PORTSDIR}/x11-fonts/fontconfig -RUN_DEPENDS:= ${BUILD_DEPENDS} +USES= fonts RESTRICTED= The font is free for personal use +FONTNAME= TTF EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS= EXTRACT_AFTER_ARGS= ${WRKSRC} @@ -25,13 +25,11 @@ EXTRACT_AFTER_ARGS= ${WRKSRC} NO_BUILD= yes NO_WRKSUBDIR= yes NO_ARCH= yes +PLIST_FILES= ${FONTSDIR}/manugot19.ttf do-install: - @${MKDIR} ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${FONTSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} manugot19.ttf \ - ${STAGEDIR}${DATADIR}) - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/TTF - @${LN} -sf ${DATADIR}/manugot19.ttf \ - ${STAGEDIR}${PREFIX}/lib/X11/fonts/TTF + ${STAGEDIR}${FONTSDIR}) .include <bsd.port.mk> diff --git a/x11-fonts/manu-gothica/pkg-plist b/x11-fonts/manu-gothica/pkg-plist deleted file mode 100644 index 609f910137af..000000000000 --- a/x11-fonts/manu-gothica/pkg-plist +++ /dev/null @@ -1,6 +0,0 @@ -lib/X11/fonts/TTF/manugot19.ttf -%%DATADIR%%/manugot19.ttf -@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/lib/X11/fonts/TTF 2>/dev/null || true -@unexec rm %D/lib/X11/fonts/TTF/fonts.cache-1 2>/dev/null || true -@unexec %%LOCALBASE%%/bin/fc-cache -f -v %D/lib/X11/fonts/TTF 2>/dev/null || true -@unexec if [ -e %D/lib/X11/fonts/TTF/fonts.cache-1 -a ! -s %D/lib/X11/fonts/TTF/fonts.cache-1 ]; then rm %D/lib/X11/fonts/TTF/fonts.cache-1; fi |