Replace python interpreter in a few files. Bump PKGREVISION.

This commit is contained in:
wiz 2012-05-05 21:53:57 +00:00
parent 47efa45924
commit b2e87f64e2

View file

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.30 2012/04/17 17:17:03 drochner Exp $
# $NetBSD: Makefile,v 1.31 2012/05/05 21:53:57 wiz Exp $
#
DISTNAME= matplotlib-1.1.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=matplotlib/}
@ -20,6 +21,13 @@ USE_TOOLS+= pkg-config
PY_PATCHPLIST= yes
PYDISTUTILSPKG= yes
REPLACE_PYTHON= lib/matplotlib/dates.py
REPLACE_PYTHON+= lib/matplotlib/sankey.py
REPLACE_PYTHON+= lib/mpl_toolkits/mplot3d/art3d.py
REPLACE_PYTHON+= lib/mpl_toolkits/mplot3d/axes3d.py
REPLACE_PYTHON+= lib/mpl_toolkits/mplot3d/axis3d.py
REPLACE_PYTHON+= lib/mpl_toolkits/mplot3d/proj3d.py
post-patch:
( echo "[directories]"; \
echo "basedirlist=/usr"; \
@ -29,6 +37,7 @@ post-patch:
echo "tkagg = False"; \
echo "wxagg = False" ) > ${WRKSRC}/setup.cfg
.include "../../lang/python/application.mk"
.include "../../lang/python/extension.mk"
.include "../../devel/zlib/buildlink3.mk"