diff options
author | bapt <bapt@FreeBSD.org> | 2015-03-22 07:05:19 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-03-22 07:05:19 +0800 |
commit | fe5a7e4bee2fc7a40343278a44de77847b5c91c5 (patch) | |
tree | b9556c9042a9d20d7c71f49869f39f95afc00052 /vietnamese/unicode-uhoai | |
parent | 9167139629893ea7664f3b1cf93141ff1eeb82b4 (diff) | |
download | freebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.tar.gz freebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.tar.zst freebsd-ports-gnome-fe5a7e4bee2fc7a40343278a44de77847b5c91c5.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 'vietnamese/unicode-uhoai')
-rw-r--r-- | vietnamese/unicode-uhoai/Makefile | 14 | ||||
-rw-r--r-- | vietnamese/unicode-uhoai/pkg-deinstall | 13 | ||||
-rw-r--r-- | vietnamese/unicode-uhoai/pkg-install | 11 | ||||
-rw-r--r-- | vietnamese/unicode-uhoai/pkg-plist | 2 |
4 files changed, 6 insertions, 34 deletions
diff --git a/vietnamese/unicode-uhoai/Makefile b/vietnamese/unicode-uhoai/Makefile index 492830e329ca..f7016f0baf43 100644 --- a/vietnamese/unicode-uhoai/Makefile +++ b/vietnamese/unicode-uhoai/Makefile @@ -3,7 +3,7 @@ PORTNAME= unicode-uhoai PORTVERSION= 2.1 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= vietnamese x11-fonts MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= obrien @@ -12,19 +12,15 @@ DISTNAME= uhoaiw21 MAINTAINER= obrien@FreeBSD.org COMMENT= Unicode TrueType Font with UHoai Vietnamese encoding -USES= zip:infozip +USES= fonts zip:infozip NO_WRKSUBDIR= yes NO_BUILD= taken care of in do-install target -BUILD_DEPENDS= ttmkfdir:${PORTSDIR}/x11-fonts/ttmkfdir \ - bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf -RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir - +FONTNAME= TrueType EXTRACT_BEFORE_ARGS= -qoL do-install: - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/fonts/TrueType - ${INSTALL_DATA} ${WRKSRC}/uhoaiw21.ttf \ - ${STAGEDIR}${PREFIX}/lib/X11/fonts/TrueType + @${MKDIR} ${STAGEDIR}${FONTSDIR} + ${INSTALL_DATA} ${WRKSRC}/uhoaiw21.ttf ${STAGEDIR}${FONTSDIR} .include <bsd.port.mk> diff --git a/vietnamese/unicode-uhoai/pkg-deinstall b/vietnamese/unicode-uhoai/pkg-deinstall deleted file mode 100644 index a4eff4621184..000000000000 --- a/vietnamese/unicode-uhoai/pkg-deinstall +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 -fi - -cd ${PKG_PREFIX}/lib/X11/fonts/TrueType -${PKG_PREFIX}/bin/ttmkfdir -o fonts.scale -if [ `cat fonts.scale` = "0" ]; then - rm -f fonts.scale - rm -f fonts.dir -fi diff --git a/vietnamese/unicode-uhoai/pkg-install b/vietnamese/unicode-uhoai/pkg-install deleted file mode 100644 index 3795ab95170e..000000000000 --- a/vietnamese/unicode-uhoai/pkg-install +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# $FreeBSD$ - -if [ "$2" != "POST-INSTALL" ]; then - exit 0 -fi - -cd ${PKG_PREFIX}/lib/X11/fonts/TrueType -${PKG_PREFIX}/bin/mkfontdir >/dev/null 2>&1 -${PKG_PREFIX}/bin/ttmkfdir -o fonts.scale -chmod a+r fonts.scale diff --git a/vietnamese/unicode-uhoai/pkg-plist b/vietnamese/unicode-uhoai/pkg-plist index aa920ddbc9bd..430fcfdf6c70 100644 --- a/vietnamese/unicode-uhoai/pkg-plist +++ b/vietnamese/unicode-uhoai/pkg-plist @@ -1 +1 @@ -lib/X11/fonts/TrueType/uhoaiw21.ttf +%%FONTSDIR%%/uhoaiw21.ttf |