aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-10 09:37:47 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-10 09:37:47 +0000
commitc435e8d6617c829a3086286ca5bd777d8a1083f6 (patch)
treeb1b1330ea893ca72d215fcc005952118e8c04d8f /chinese
parent9a9d4138424857fdc552f9ca97285c3116b3e94a (diff)
downloadports-c435e8d6617c829a3086286ca5bd777d8a1083f6.tar.gz
ports-c435e8d6617c829a3086286ca5bd777d8a1083f6.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/ttfm/Makefile19
-rw-r--r--chinese/ttfm/pkg-plist1
2 files changed, 9 insertions, 11 deletions
diff --git a/chinese/ttfm/Makefile b/chinese/ttfm/Makefile
index ab07baf0d791..b932957a20d3 100644
--- a/chinese/ttfm/Makefile
+++ b/chinese/ttfm/Makefile
@@ -17,9 +17,8 @@ LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
MAKE_ARGS= FREETYPE_BASE=${LOCALBASE:Q} CC="${CC}"
PORTDOCS= README USAGE
-MAN1= ttfm.sh.1
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
@@ -31,18 +30,16 @@ post-patch:
${WRKSRC}/ttfm.sh
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${PREFIX}/bin/
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/ttfinfo ${STAGEDIR}${PREFIX}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/ttfm.sh ${STAGEDIR}${PREFIX}/bin/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/
.endfor
-.endif
- ${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${MANPREFIX}/man/man1/
- @${MKDIR} ${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/ttfm.sh.1 ${STAGEDIR}${MANPREFIX}/man/man1/
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for module in gscjk.ttfm xttfm.ttfm
- ${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${DATADIR}/
+ ${INSTALL_SCRIPT} ${WRKSRC}/modules/${module} ${STAGEDIR}${DATADIR}/
.endfor
.include <bsd.port.mk>
diff --git a/chinese/ttfm/pkg-plist b/chinese/ttfm/pkg-plist
index af5050040277..9782da79f2cd 100644
--- a/chinese/ttfm/pkg-plist
+++ b/chinese/ttfm/pkg-plist
@@ -1,5 +1,6 @@
bin/ttfinfo
bin/ttfm.sh
+man/man1/ttfm.sh.1.gz
%%DATADIR%%/gscjk.ttfm
%%DATADIR%%/xttfm.ttfm
@dirrm %%DATADIR%%