summaryrefslogtreecommitdiff
path: root/editors/gnotepad+/Makefile
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-09-10 22:23:26 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-09-10 22:23:26 +0000
commitc50469eb322eba6571a21cf4c3d2a82808c33ab0 (patch)
tree6c6165602d155f33f7c7891346353936af156062 /editors/gnotepad+/Makefile
parentFix build by forcing -lpopt. (diff)
Use OPTIONS_SUB to obtain NO_DOCS, rather than adding NOPORTDOCS to PLIST_SUB.
The presence of NOPORTDOCS would trigger commit hook errors in future updates.
Notes
Notes: svn path=/head/; revision=367901
Diffstat (limited to 'editors/gnotepad+/Makefile')
-rw-r--r--editors/gnotepad+/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/editors/gnotepad+/Makefile b/editors/gnotepad+/Makefile
index 476010737c66..a5ba899da275 100644
--- a/editors/gnotepad+/Makefile
+++ b/editors/gnotepad+/Makefile
@@ -28,17 +28,12 @@ LDFLAGS+= -L${LOCALBASE}/lib
DOCVERSION= 1.2.0
OPTIONS_DEFINE= DOCS
+OPTIONS_SUB= yes
DOCS_DISTFILES= ${PORTNAME}-help-${DOCVERSION}${EXTRACT_SUFX}:doc
.include <bsd.port.options.mk>
-.if ! ${PORT_OPTIONS:MDOCS}
-PLIST_SUB+= NOPORTDOCS=""
-.else
-PLIST_SUB+= NOPORTDOCS="@comment "
-.endif
-
post-extract:
.if ${PORT_OPTIONS:MDOCS}
@${MV} ${WRKSRC}/docs ${WRKSRC}/docs.old