47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# $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/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://matplotlib.sourceforge.net/
|
|
COMMENT= Matlab-style plotting package for Python
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-pytz>=2008b:../../time/py-pytz
|
|
DEPENDS+= ${PYPKGPREFIX}-dateutil>=1.2:../../time/py-dateutil
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
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"; \
|
|
echo "[gui_support]"; \
|
|
echo "gtk = False"; \
|
|
echo "gtkagg = False"; \
|
|
echo "tkagg = False"; \
|
|
echo "wxagg = False" ) > ${WRKSRC}/setup.cfg
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|