2012-04-17 19:17:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2012/04/17 17:17:28 drochner Exp $
|
2009-05-14 15:54:13 +02:00
|
|
|
#
|
|
|
|
|
2012-04-17 19:17:28 +02:00
|
|
|
DISTNAME= matplotlib-1.1.0
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-matplotlib-tk-1.1.0
|
2009-05-14 15:54:13 +02:00
|
|
|
CATEGORIES= graphics python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=matplotlib/}
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://matplotlib.sourceforge.net/
|
|
|
|
COMMENT= Tk frontend for matplotlib
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
|
2011-02-17 11:33:37 +01:00
|
|
|
post-patch:
|
|
|
|
( echo "[directories]"; \
|
|
|
|
echo "basedirlist=/usr"; \
|
|
|
|
echo "[provide_packages]"; \
|
|
|
|
echo "pytz = False"; \
|
|
|
|
echo "dateutil = False"; \
|
|
|
|
echo "[gui_support]"; \
|
|
|
|
echo "gtk = False"; \
|
|
|
|
echo "gtkagg = False"; \
|
|
|
|
echo "tkagg = True"; \
|
|
|
|
echo "wxagg = False"; \
|
|
|
|
echo "macosx = False" ) > ${WRKSRC}/setup.cfg
|
2009-05-14 15:54:13 +02:00
|
|
|
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../graphics/py-matplotlib/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
2009-05-25 01:27:07 +02:00
|
|
|
.include "../../x11/py-Tk/buildlink3.mk"
|
2009-05-14 15:54:13 +02:00
|
|
|
.include "../../x11/tk/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|