Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Dec 2016 12:13:36 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r429607 - head/security/w3af
Message-ID:  <201612271213.uBRCDaWn076147@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Dec 27 12:13:36 2016
New Revision: 429607
URL: https://svnweb.freebsd.org/changeset/ports/429607

Log:
  - Remove bogus (in presence of USE_GITHUB) USES=tar*
  - Switch to options helpers
  - Don't install license with docs
  
  Approved by:	portmgr blanket

Modified:
  head/security/w3af/Makefile
  head/security/w3af/pkg-plist

Modified: head/security/w3af/Makefile
==============================================================================
--- head/security/w3af/Makefile	Tue Dec 27 12:11:41 2016	(r429606)
+++ head/security/w3af/Makefile	Tue Dec 27 12:13:36 2016	(r429607)
@@ -50,7 +50,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml
 USE_GITHUB=	yes
 GH_ACCOUNT=	andresriancho
 
-USES=		gettext python tar:bzip2 shebangfix
+USES=		gettext python shebangfix
 SHEBANG_FILES=	tools/*
 NO_BUILD=	yes
 
@@ -64,8 +64,6 @@ GUI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}
 
 GUI_USE=	GNOME=pygtk2
 
-.include <bsd.port.options.mk>
-
 do-install:
 	@${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
 	@(cd ${WRKSRC}/w3af && ${COPYTREE_SHARE} \* \
@@ -82,15 +80,15 @@ do-install:
 	@(cd ${WRKSRC}/${f}/ && ${COPYTREE_SHARE} \* \
 		${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/${f})
 .endfor
-.if ${PORT_OPTIONS:MGUI}
+
+do-install-GUI-on:
 	${INSTALL_SCRIPT} ${WRKSRC}/w3af_gui \
 		${STAGEDIR}${PREFIX}/bin/w3af_gui
-.endif
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for d in CHANGELOG CONTRIBUTORS GPL INSTALL README TODO
-	@${INSTALL_DATA} ${WRKSRC}/doc/${d} ${STAGEDIR}${DOCSDIR}
+.for d in CHANGELOG CONTRIBUTORS INSTALL README TODO
+	${INSTALL_DATA} ${WRKSRC}/doc/${d} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>

Modified: head/security/w3af/pkg-plist
==============================================================================
--- head/security/w3af/pkg-plist	Tue Dec 27 12:11:41 2016	(r429606)
+++ head/security/w3af/pkg-plist	Tue Dec 27 12:13:36 2016	(r429607)
@@ -78,7 +78,6 @@ libexec/w3af/urlencode
 %%PYTHON_SITELIBDIR%%/w3af/scripts/xss_stored.w3af
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/CHANGELOG
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/CONTRIBUTORS
-%%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/GPL
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/INSTALL
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/README
 %%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/TODO



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201612271213.uBRCDaWn076147>