aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gnome-js-common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/gnome-js-common/Makefile')
-rw-r--r--devel/gnome-js-common/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/devel/gnome-js-common/Makefile b/devel/gnome-js-common/Makefile
index 74acf5d760a3..a4cdb660166b 100644
--- a/devel/gnome-js-common/Makefile
+++ b/devel/gnome-js-common/Makefile
@@ -15,21 +15,21 @@ COMMENT= GNOME JavaScript common modules and tests
GNU_CONFIGURE= yes
USE_GNOME= intltool
USES= pathfix pkgconfig gettext gmake tar:bzip2
+NO_ARCH= yes
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 ${PORT_OPTIONS:MDOCS}
+
+post-patch-DOCS-on:
@${REINPLACE_CMD} -e 's|$${prefix}/share/doc/gnome_js_common|${DOCSDIR}|' \
${WRKSRC}/Makefile.in
-.else
+
+post-patch-DOCS-off:
@${REINPLACE_CMD} -e 's|install-gnome_js_commondocDATA ||g' ${WRKSRC}/Makefile.in
-.endif
.include <bsd.port.mk>