aboutsummaryrefslogtreecommitdiff
path: root/math/py-basemap-data
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-15 10:05:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-15 10:05:05 +0000
commit9ea6a49f1edaed1734d7b0a74d98883ab2bf5642 (patch)
treeec563b1d087f5d623f5e9aeeb6df4a962a0f496b /math/py-basemap-data
parented20eaa2e330e365b7addcf41376595c43f7c562 (diff)
downloadports-9ea6a49f1edaed1734d7b0a74d98883ab2bf5642.tar.gz
ports-9ea6a49f1edaed1734d7b0a74d98883ab2bf5642.zip
Notes
Diffstat (limited to 'math/py-basemap-data')
-rw-r--r--math/py-basemap-data/Makefile20
1 files changed, 3 insertions, 17 deletions
diff --git a/math/py-basemap-data/Makefile b/math/py-basemap-data/Makefile
index b7638e4f9eb9..745b2c73cfc6 100644
--- a/math/py-basemap-data/Makefile
+++ b/math/py-basemap-data/Makefile
@@ -3,6 +3,7 @@
PORTNAME= basemap-data
PORTVERSION= 0.9
+PORTREVISION= 1
CATEGORIES= math python
MASTER_SITES= SF/matplotlib/matplotlib-toolkits/basemap-${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,24 +13,9 @@ COMMENT= Map data for py-basemap
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
DATADIR= ${PREFIX}/share/py-${PORTNAME}
-
MAKE_ENV= BASEMAP_DATA_PATH=${DATADIR}
-PLISTDIR= ${DATADIR}/*_[hi].txt \
- ${PYTHON_SITELIBDIR}/basemap_data-0.9-py2.5.egg-info
-
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-post-install:
-.for dir in ${PLISTDIR}
- @${FIND} ${dir} ! -type d | \
- ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
- @${FIND} ${dir} -type d | ${SORT} -r | \
- ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-.endfor
- @${ECHO} "@dirrm ${DATADIR:S,${PREFIX}/,,}" >> ${TMPPLIST}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>