2015-04-25 16:22:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.51 2015/04/25 14:23:18 tnn Exp $
|
2006-04-06 18:45:34 +02:00
|
|
|
|
2014-01-21 22:16:02 +01:00
|
|
|
DISTNAME= matplotlib-1.3.1
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-matplotlib-gtk-1.3.1
|
2015-04-25 16:22:51 +02:00
|
|
|
PKGREVISION= 2
|
2006-04-06 18:45:34 +02:00
|
|
|
CATEGORIES= graphics python
|
2012-12-17 12:52:42 +01:00
|
|
|
MASTER_SITES= https://github.com/downloads/matplotlib/matplotlib/
|
2006-04-06 18:45:34 +02:00
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://matplotlib.sourceforge.net/
|
|
|
|
COMMENT= GTK frontend for matplotlib
|
|
|
|
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
PYDISTUTILSPKG= yes
|
2014-05-09 09:36:53 +02:00
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # py-gtk2
|
2006-06-12 00:58:12 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2006-04-06 18:45:34 +02:00
|
|
|
|
2011-02-17 11:33:37 +01:00
|
|
|
post-patch:
|
2013-04-06 16:58:18 +02:00
|
|
|
( ${ECHO} "[directories]"; \
|
|
|
|
${ECHO} "basedirlist=/usr"; \
|
|
|
|
${ECHO} "[provide_packages]"; \
|
|
|
|
${ECHO} "pytz = False"; \
|
|
|
|
${ECHO} "dateutil = False"; \
|
|
|
|
${ECHO} "[gui_support]"; \
|
|
|
|
${ECHO} "gtk = True"; \
|
|
|
|
${ECHO} "gtkagg = True"; \
|
|
|
|
${ECHO} "tkagg = False"; \
|
|
|
|
${ECHO} "wxagg = False"; \
|
|
|
|
${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg
|
2011-02-17 11:33:37 +01:00
|
|
|
|
2014-01-21 22:16:02 +01:00
|
|
|
post-install:
|
2014-12-07 18:09:09 +01:00
|
|
|
${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR}
|
2014-01-21 22:16:02 +01:00
|
|
|
|
|
|
|
.include "../../lang/python/egg.mk"
|
2006-04-06 18:45:34 +02:00
|
|
|
.include "../../graphics/py-matplotlib/buildlink3.mk"
|
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/png/buildlink3.mk"
|
2008-12-19 23:39:47 +01:00
|
|
|
.include "../../math/py-numpy/buildlink3.mk"
|
2006-04-06 18:45:34 +02:00
|
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|