svn commit: r343488 - head/devel/py-geojson
Antoine Brodin
antoine at FreeBSD.org
Sun Feb 9 12:35:37 UTC 2014
Author: antoine
Date: Sun Feb 9 12:35:36 2014
New Revision: 343488
URL: http://svnweb.freebsd.org/changeset/ports/343488
QAT: https://qat.redports.org/buildarchive/r343488/
Log:
- Fix plist (docs not packaged)
- Switch from easy_install to install
Modified:
head/devel/py-geojson/Makefile
Modified: head/devel/py-geojson/Makefile
==============================================================================
--- head/devel/py-geojson/Makefile Sun Feb 9 12:34:32 2014 (r343487)
+++ head/devel/py-geojson/Makefile Sun Feb 9 12:35:36 2014 (r343488)
@@ -3,6 +3,7 @@
PORTNAME= geojson
PORTVERSION= 1.0.6
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel geography python
MASTER_SITES= CHEESESHOP
@@ -16,21 +17,16 @@ LICENSE= BSD
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.3.0:${PORTSDIR}/devel/py-nose
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}simplejson>1.9:${PORTSDIR}/devel/py-simplejson
-DOCSFILE= LICENSE.rst CHANGELOG.rst README.rst
+PORTDOCS= LICENSE.rst CHANGELOG.rst README.rst
USE_PYTHON= yes
-USE_PYDISTUTILS=easy_install
-PYDISTUTILS_NOEGGINFO= yes
+USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
-.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for f in ${DOCSFILE}
- @cd ${WRKSRC} && ${CP} ${f} ${STAGEDIR}${DOCSDIR}
-.endfor
-.endif
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list