From 327397264403e8b028a4f0011a4be59918aecf43 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Fri, 3 Jan 2014 15:59:41 +0000 Subject: Convert chinese to MDOCS --- chinese/gb2ps/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'chinese/gb2ps') 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 + 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 -- cgit v1.2.3