aboutsummaryrefslogtreecommitdiff
path: root/www/netsurf/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
committerPawel Pekala <pawel@FreeBSD.org>2012-06-07 22:44:21 +0000
commit2fa62596744270745d9d0540f5bbd839f6b78d23 (patch)
treeb7e5a1ec8ce92178c23aff878c9671b8c96b7b89 /www/netsurf/Makefile
parente496938a05b08a6dc0a4f3562f7615a574354e2e (diff)
downloadports-2fa62596744270745d9d0540f5bbd839f6b78d23.tar.gz
ports-2fa62596744270745d9d0540f5bbd839f6b78d23.zip
Notes
Diffstat (limited to 'www/netsurf/Makefile')
-rw-r--r--www/netsurf/Makefile4
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}