Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Feb 2014 21:18:20 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342858 - head/devel/py-bitstring
Message-ID:  <201402052118.s15LIKd4048381@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Feb  5 21:18:20 2014
New Revision: 342858
URL: http://svnweb.freebsd.org/changeset/ports/342858
QAT: https://qat.redports.org/buildarchive/r342858/

Log:
  - Stage support
  - Use PYDISTUTILS_AUTOPLIST
  - Remove infozip dependency

Deleted:
  head/devel/py-bitstring/pkg-plist
Modified:
  head/devel/py-bitstring/Makefile

Modified: head/devel/py-bitstring/Makefile
==============================================================================
--- head/devel/py-bitstring/Makefile	Wed Feb  5 21:16:37 2014	(r342857)
+++ head/devel/py-bitstring/Makefile	Wed Feb  5 21:18:20 2014	(r342858)
@@ -6,6 +6,7 @@ PORTVERSION=	3.1.2
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+EXTRACT_SUFX=	.zip
 
 MAINTAINER=	sbz@FreeBSD.org
 COMMENT=	Simple construction, analysis, and modification of binary data
@@ -14,20 +15,16 @@ LICENSE=	MIT
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-USE_ZIP=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
-
 PORTDOCS=	PKG-INFO README.txt release_notes.txt
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 regression-test: extract
 	@(cd ${WRKSRC}/test && ${PYTHON_CMD} -c 'import unittest, test_${PORTNAME}; unittest.main(test_${PORTNAME})')



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