summaryrefslogtreecommitdiff
path: root/editors/gnotepad+/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'editors/gnotepad+/Makefile')
-rw-r--r--editors/gnotepad+/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/editors/gnotepad+/Makefile b/editors/gnotepad+/Makefile
index 8366e3ce750d..2a24fd8a5576 100644
--- a/editors/gnotepad+/Makefile
+++ b/editors/gnotepad+/Makefile
@@ -36,9 +36,12 @@ post-patch:
@${REINPLACE_CMD} -e 's|\(use_gtkhtml=\)yes|\1no|g' ${WRKSRC}/configure
.if !defined(NOPORTDOCS)
+PLIST_SUB+= NOPORTDOCS="@comment "
post-extract:
@${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old
@${CP} -R ${WRKDIR}/${PORTNAME}-help-${DOCVERSION}/docs ${WRKSRC}/docs
+.else
+PLIST_SUB+= NOPORTDOCS=""
.endif
.if ${HAVE_GNOME:Mgnomelibs}!=""