diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-01 16:20:47 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-09-01 16:20:47 +0000 |
commit | c7e624b3210627ca07b51be84044b2e269762e53 (patch) | |
tree | 48fdd1f0d0902abb3a399e525fb6d85182e9d9ab /devel/gnome-js-common | |
parent | - Switch to options helpers (diff) |
- Switch to options helpers
- While here, add some NO_ARCHes
Approved by: portmgr blanket
Diffstat (limited to 'devel/gnome-js-common')
-rw-r--r-- | devel/gnome-js-common/Makefile | 10 |
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> |