summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>