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 - -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 +.include