svn commit: r337168 - head/net/py-impacket

Antoine Brodin antoine at FreeBSD.org
Sat Dec 21 23:21:07 UTC 2013


Author: antoine
Date: Sat Dec 21 23:21:06 2013
New Revision: 337168
URL: http://svnweb.freebsd.org/changeset/ports/337168

Log:
  - Stage support
  - Use PYDISTUTILS_AUTOPLIST

Deleted:
  head/net/py-impacket/pkg-plist
Modified:
  head/net/py-impacket/Makefile

Modified: head/net/py-impacket/Makefile
==============================================================================
--- head/net/py-impacket/Makefile	Sat Dec 21 21:58:16 2013	(r337167)
+++ head/net/py-impacket/Makefile	Sat Dec 21 23:21:06 2013	(r337168)
@@ -21,15 +21,18 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pcap
 USES=		dos2unix
 USE_PYTHON=	yes
 USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=yes
+
 PORTDOCS=	README
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 .include <bsd.port.options.mk>
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list