svn commit: r345983 - head/security/subweb

Emanuel Haupt ehaupt at FreeBSD.org
Tue Feb 25 12:35:06 UTC 2014


Author: ehaupt
Date: Tue Feb 25 12:35:05 2014
New Revision: 345983
URL: http://svnweb.freebsd.org/changeset/ports/345983
QAT: https://qat.redports.org/buildarchive/r345983/

Log:
  - Support staging
  - Use shebangfix

Modified:
  head/security/subweb/Makefile

Modified: head/security/subweb/Makefile
==============================================================================
--- head/security/subweb/Makefile	Tue Feb 25 12:32:55 2014	(r345982)
+++ head/security/subweb/Makefile	Tue Feb 25 12:35:05 2014	(r345983)
@@ -8,14 +8,16 @@ MASTER_SITES=	http://www.hsc.fr/ressourc
 MAINTAINER=	ecu at 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>


More information about the svn-ports-all mailing list