diff options
author | pawel <pawel@FreeBSD.org> | 2012-06-08 06:44:21 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2012-06-08 06:44:21 +0800 |
commit | 2a1ebc56ba5020d2bf92961dbe81972f5a54841d (patch) | |
tree | 973987c82bdc40f9b4f7cd63831224e568aba682 /www | |
parent | 10b52a170f1d404abc5699061d2a3cf931eeb1e5 (diff) | |
download | freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.gz freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.tar.zst freebsd-ports-gnome-2a1ebc56ba5020d2bf92961dbe81972f5a54841d.zip |
Convert my ports to optionsNG
Diffstat (limited to 'www')
-rw-r--r-- | www/netsurf/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/netsurf/Makefile b/www/netsurf/Makefile index e1da6a1ed715..6f4794e6158b 100644 --- a/www/netsurf/Makefile +++ b/www/netsurf/Makefile @@ -48,6 +48,8 @@ CSS_DISTNAME= libcss-0.1.2-src NSBMP_DISTNAME= libnsbmp-0.0.3-src NSGIF_DISTNAME= libnsgif-0.0.3-src +.include <bsd.port.options.mk> + post-patch: @${REINPLACE_CMD} -e \ 's| -O2 | |' ${WRKSRC}/Makefile.defaults @@ -85,7 +87,7 @@ do-install: @${FIND} ${DATADIR} | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} @${FIND} ${DATADIR} -type d | ${XARGS} ${CHMOD} a+rx @${FIND} ${DATADIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE} -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} |