diff options
author | rxg <rxg> | 2002-02-18 11:23:54 +0000 |
---|---|---|
committer | rxg <rxg> | 2002-02-18 11:23:54 +0000 |
commit | b819dfd390da22461c9993c197213de67b48174b (patch) | |
tree | 01aa83878a3d16d120ee453e2ef93bacfd959f4f /fonts | |
parent | e5c9a40552f968e37e57928b9e9b8581dbea0a35 (diff) | |
download | pkgsrc-b819dfd390da22461c9993c197213de67b48174b.tar.gz |
Add a option to fonts/arphicttf to let it support freetype module
in XFree 4.x, close PR pkg/15337 submitted by me.
Diffstat (limited to 'fonts')
-rw-r--r-- | fonts/arphicttf/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/fonts/arphicttf/Makefile b/fonts/arphicttf/Makefile index 6f0d0d47ace..ba7b1efe7b8 100644 --- a/fonts/arphicttf/Makefile +++ b/fonts/arphicttf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2001/11/29 17:37:57 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2002/02/18 11:23:54 rxg Exp $ # DISTNAME= arphicttf-2.11 @@ -11,7 +11,7 @@ DISTFILES= ${FONT_SETS} ${MISC_FILES} MAINTAINER= rxg@ms25.url.com.tw COMMENT= Chinese Big5/GB TrueType fonts made by Arphic Technology -DEPENDS+= mkttfdir>=1.1nb1:../../fonts/mkttfdir +DEPENDS+= mkttfdir>=1.2:../../fonts/mkttfdir FONT_SETS= bkai00mp.ttf.gz \ bsmi00lp.ttf.gz \ @@ -31,6 +31,8 @@ NO_BUILD= yes USE_X11BASE= yes FONTDIR= ${PREFIX}/lib/X11/fonts/TrueType +.include "../../mk/bsd.prefs.mk" + do-install: ${INSTALL_DATA_DIR} ${FONTDIR} for f in ${FONT_SETS}; do \ @@ -39,6 +41,10 @@ do-install: done post-install: +.if defined(TTF_TYPE) && (${TTF_TYPE} == "freetype") + ${SH} ${LOCALBASE}/bin/mkttfdir --freetype ${FONTDIR} +.else ${SH} ${LOCALBASE}/bin/mkttfdir ${FONTDIR} +.endif .include "../../mk/bsd.pkg.mk" |