From 08d5e201a79b0ec5cd91ed7db4edd296913bcc9b Mon Sep 17 00:00:00 2001
From: Pav Lucistnik <pav@FreeBSD.org>
Date: Mon, 1 Dec 2008 13:17:22 +0000
Subject: - Clean up toolkits directory (no longer installed by matplotlib) -
 While here, don't package egg-info twice

Reported by:	pointyhat
---
 math/py-basemap/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'math')

diff --git a/math/py-basemap/Makefile b/math/py-basemap/Makefile
index bc7d4511907f..93a8f40e6d86 100644
--- a/math/py-basemap/Makefile
+++ b/math/py-basemap/Makefile
@@ -34,7 +34,6 @@ PLISTDIR=	${PYTHON_SITELIBDIR}/matplotlib/toolkits/basemap \
 		${PYTHON_SITELIBDIR}/shptree.so \
 		${PYTHON_SITELIBDIR}/shapelibc.so \
 		${PYTHON_SITELIBDIR}/pyproj.so \
-		${PYTHON_SITELIBDIR}/basemap-0.9.2-py2.5.egg-info \
 		${DATADIR}
 .if !defined(NOPORTDOCS)
 PLISTDIR+=	${EXAMPLESDIR}
@@ -56,5 +55,6 @@ post-install:
 	@${FIND} ${dir} -type d | ${SORT} -r | \
 		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
 .endfor
+	@${ECHO} "@unexec rmdir %D/${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}/matplotlib/toolkits 2> /dev/null || true" >> ${TMPPLIST}
 
 .include <bsd.port.post.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0