aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-03 12:03:42 +0800
committeradamw <adamw@FreeBSD.org>2014-07-03 12:03:42 +0800
commit28e4cb3c15893364e6dd08dffe0ba735415ab259 (patch)
treef61425745b379f5509e20c6f9f7f9054bd88597e
parentc632f49901b640db4e39cb987fc245e31ddccc30 (diff)
downloadfreebsd-ports-gnome-28e4cb3c15893364e6dd08dffe0ba735415ab259.tar.gz
freebsd-ports-gnome-28e4cb3c15893364e6dd08dffe0ba735415ab259.tar.zst
freebsd-ports-gnome-28e4cb3c15893364e6dd08dffe0ba735415ab259.zip
Avoid unnecessary bsd.port.options.mk inclusion.
-rw-r--r--www/llgal/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/www/llgal/Makefile b/www/llgal/Makefile
index 057fce4ac632..e3c4fa25629d 100644
--- a/www/llgal/Makefile
+++ b/www/llgal/Makefile
@@ -28,8 +28,6 @@ SHEBANG_FILES= llgal.in
USE_PERL5= run fixpacklist
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
post-patch:
${REINPLACE_CMD} -e "s,^PREFIX,#PREFIX," ${WRKSRC}/Makefile
@@ -41,11 +39,10 @@ post-configure:
post-install:
${INSTALL_DATA} ${WRKSRC}/llgal.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/llgalrc.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
-.if ${PORT_OPTIONS:MDOCS}
+
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/llgalrc ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} examples ${STAGEDIR}${DOCSDIR})
-.endif
.include <bsd.port.mk>