svn commit: r344490 - head/devel/py-utils
Antoine Brodin
antoine at FreeBSD.org
Sat Feb 15 22:10:23 UTC 2014
Author: antoine
Date: Sat Feb 15 22:10:22 2014
New Revision: 344490
URL: http://svnweb.freebsd.org/changeset/ports/344490
QAT: https://qat.redports.org/buildarchive/r344490/
Log:
- Stage support
- Use PYDISTUTILS_AUTOPLIST
- Remove infozip dependency
Deleted:
head/devel/py-utils/pkg-plist
Modified:
head/devel/py-utils/Makefile
Modified: head/devel/py-utils/Makefile
==============================================================================
--- head/devel/py-utils/Makefile Sat Feb 15 22:02:02 2014 (r344489)
+++ head/devel/py-utils/Makefile Sat Feb 15 22:10:22 2014 (r344490)
@@ -7,24 +7,22 @@ CATEGORIES= devel python
MASTER_SITES= http://www.voidspace.org.uk/downloads/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pythonutils-${PORTVERSION}
+EXTRACT_SUFX= .zip
MAINTAINER= daniel at netwalk.org
COMMENT= General utility modules that simplify common programming in Python
USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-PYDISTUTILS_PKGNAME= pythonutils
-PYDISTUTILS_EGGINFODIR= ${PYTHONPREFIX_SITELIBDIR}/pythonutils
-WRKSRC= ${WRKDIR}/pythonutils-${PORTVERSION}
-USE_ZIP= yes
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- @(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR})
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list