aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 23:58:28 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 23:58:28 +0000
commit694152b3b3edb1490baab2b715d505337e3cdb0e (patch)
treebcb082cf2ef17756fd2f0ee498fd098395f3a205 /chinese
parent82fc70fd02a693e131547b5aebe47817bbd683e1 (diff)
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/gcin/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/chinese/gcin/Makefile b/chinese/gcin/Makefile
index ac83ec08f7af..01d023d39aa6 100644
--- a/chinese/gcin/Makefile
+++ b/chinese/gcin/Makefile
@@ -24,6 +24,8 @@ OPTIONS_DEFINE= ANTHY QT_IM_MODULE
ANTHY_DESC= Japanese anthy IM module
QT_IM_MODULE_DESC= QT IM module
+OPTIONS_DEFINE= DOCS
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MQT_IM_MODULE}
@@ -78,7 +80,7 @@ post-patch:
${WRKSRC}/scripts/utf8-edit
@${REINPLACE_CMD} -e '/make/ d' ${WRKSRC}/IMdkit/lib/Makefile
@${REINPLACE_CMD} -e 's,/usr/X11R6/lib,${LOCALBASE}/lib,' ${WRKSRC}/im-client/Makefile
-.ifdef NOPORTDOCS
+.if empty(PORT_OPTIONS:MDOCS)
@${REINPLACE_CMD} '/install.*DOC_DIR/d' ${WRKSRC}/Makefile
.endif