aboutsummaryrefslogtreecommitdiff
path: root/devel/gnome-js-common
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 23:57:07 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 23:57:07 +0000
commit82fc70fd02a693e131547b5aebe47817bbd683e1 (patch)
tree5e89dfc088ba8feff5421e300f6eb260a867a747 /devel/gnome-js-common
parent3d9b49d653bccf2b8a9b326038fa2b5056ed96d7 (diff)
downloadports-82fc70fd02a693e131547b5aebe47817bbd683e1.tar.gz
ports-82fc70fd02a693e131547b5aebe47817bbd683e1.zip
Notes
Diffstat (limited to 'devel/gnome-js-common')
-rw-r--r--devel/gnome-js-common/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/devel/gnome-js-common/Makefile b/devel/gnome-js-common/Makefile
index 5fcbd03710b9..b160b66d580d 100644
--- a/devel/gnome-js-common/Makefile
+++ b/devel/gnome-js-common/Makefile
@@ -19,10 +19,14 @@ USES= pkgconfig gettext gmake
PORTDOCS= AUTHORS COPYING INSTALL NEWS README ChangeLog
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-patch:
@${REINPLACE_CMD} -e 's|== x|= x|g' \
${WRKSRC}/configure
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|$${prefix}/share/doc/gnome_js_common|${DOCSDIR}|' \
${WRKSRC}/Makefile.in
.else