aboutsummaryrefslogtreecommitdiff
path: root/chinese/gb2ps
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:59:41 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-01-03 15:59:41 +0000
commit327397264403e8b028a4f0011a4be59918aecf43 (patch)
tree7da1e63338dd5f8ff27577d1a336dc067e1bd073 /chinese/gb2ps
parent43b73e5cfaaa8d7a48d81772a31f46e9121f5faa (diff)
downloadports-327397264403e8b028a4f0011a4be59918aecf43.tar.gz
ports-327397264403e8b028a4f0011a4be59918aecf43.zip
Convert chinese to MDOCS
Notes
Notes: svn path=/head/; revision=338553
Diffstat (limited to 'chinese/gb2ps')
-rw-r--r--chinese/gb2ps/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/chinese/gb2ps/Makefile b/chinese/gb2ps/Makefile
index 4132c056ff68..6b4fb0867644 100644
--- a/chinese/gb2ps/Makefile
+++ b/chinese/gb2ps/Makefile
@@ -17,6 +17,8 @@ COMMENT= Converts Chinese GB (simple) encoded text to PostScript
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
WRKSRC= ${WRKDIR}/GB2PS
+.include <bsd.port.options.mk>
+
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/chinese/gb
${INSTALL_PROGRAM} ${WRKSRC}/gb2ps ${STAGEDIR}${PREFIX}/bin
@@ -24,7 +26,7 @@ do-install:
.for font in csong24.ccf ckai24.ccf cfang24.ccf chei24.ccf cfan24.ccf
${GUNZIP_CMD} -c ${DISTDIR}/${font}.gz > ${STAGEDIR}${PREFIX}/share/chinese/gb/${font}
.endfor
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/gb2ps
${INSTALL_DATA} ${WRKSRC}/gb2ps.help ${STAGEDIR}${PREFIX}/share/doc/gb2ps
.endif