diff options
author | Rong-En Fan <rafan@FreeBSD.org> | 2008-06-06 16:16:30 +0000 |
---|---|---|
committer | Rong-En Fan <rafan@FreeBSD.org> | 2008-06-06 16:16:30 +0000 |
commit | 9055c1c3bd073ba5dc873f72b4f16e67d958b9c4 (patch) | |
tree | 5d54be1acdca92226f61a3a9692e8dfeef2244ff /chinese | |
parent | 4e73fe838b04916a8a4294ea943f5458746ebfa8 (diff) | |
download | ports-9055c1c3bd073ba5dc873f72b4f16e67d958b9c4.tar.gz ports-9055c1c3bd073ba5dc873f72b4f16e67d958b9c4.zip |
Notes
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/ttfm/Makefile | 5 | ||||
-rw-r--r-- | chinese/ttfm/files/patch-ttfm.sh | 13 |
2 files changed, 15 insertions, 3 deletions
diff --git a/chinese/ttfm/Makefile b/chinese/ttfm/Makefile index b2a3047c0587..1207a360f0ab 100644 --- a/chinese/ttfm/Makefile +++ b/chinese/ttfm/Makefile @@ -18,6 +18,8 @@ RUN_DEPENDS= mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir \ mkfontscale:${PORTSDIR}/x11-fonts/mkfontscale LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 +MAKE_ARGS= FREETYPE_BASE=${LOCALBASE:Q} + PORTDOCS= README USAGE MAN1= ttfm.sh.1 @@ -25,7 +27,8 @@ post-patch: @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' \ -e 's,%%PREFIX%%,${PREFIX},' \ ${WRKSRC}/modules/gscjk.ttfm \ - ${WRKSRC}/modules/xttfm.ttfm + ${WRKSRC}/modules/xttfm.ttfm \ + ${WRKSRC}/ttfm.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin/ diff --git a/chinese/ttfm/files/patch-ttfm.sh b/chinese/ttfm/files/patch-ttfm.sh index 3a741299074d..5e91298f6184 100644 --- a/chinese/ttfm/files/patch-ttfm.sh +++ b/chinese/ttfm/files/patch-ttfm.sh @@ -1,5 +1,14 @@ ---- ./ttfm.sh.orig Wed Jan 31 17:34:46 2001 -+++ ./ttfm.sh Mon Nov 27 02:03:54 2006 +--- ttfm.sh.orig 2001-01-31 17:34:46.000000000 +0800 ++++ ttfm.sh 2008-06-04 22:02:46.000000000 +0800 +@@ -38,7 +38,7 @@ + + VERSION=0.9.3 + +-export PREFIX; PREFIX=/usr/local ++export PREFIX; PREFIX=%%PREFIX%% + export PATH; PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PREFIX/bin:$PREFIX/sbin + export DefaultFontPath; DefaultFontPath=$PREFIX/share/fonts/TrueType + export ScriptDir; ScriptDir=$PREFIX/share/ttfm @@ -258,7 +258,7 @@ # Call script with --remove for i in "$INSTALLSCRIPT"; do |