aboutsummaryrefslogtreecommitdiff
path: root/security/subweb
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 12:35:05 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-25 12:35:05 +0000
commitf8d68c846932e9d2b9e481a201f6d2d460479522 (patch)
tree76f4761c032bbcb982a8b0ac40b58ab52b438a25 /security/subweb
parentc00718afa8c9fe364784652e874ba62ec20dd1e4 (diff)
- Support staging
- Use shebangfix
Notes
Notes: svn path=/head/; revision=345983
Diffstat (limited to 'security/subweb')
-rw-r--r--security/subweb/Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/security/subweb/Makefile b/security/subweb/Makefile
index 1ab6424ed778..13fc694da0f2 100644
--- a/security/subweb/Makefile
+++ b/security/subweb/Makefile
@@ -8,14 +8,16 @@ MASTER_SITES= http://www.hsc.fr/ressources/outils/subweb/download/
MAINTAINER= ecu@200ok.org
COMMENT= SubWeb is a (reverse) proxy to inspect HTTP flows on the fly
-NO_BUILD= YES
+USES= shebangfix
+NO_BUILD= yes
+
+SHEBANG_FILES= subweb
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/subweb ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${PREFIX}/share/doc/subweb
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/subweb
-.endif
+ ${INSTALL_SCRIPT} ${WRKSRC}/subweb ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>