summaryrefslogtreecommitdiff
path: root/graphics/py-matplotlib-tk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/py-matplotlib-tk/Makefile')
-rw-r--r--graphics/py-matplotlib-tk/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/graphics/py-matplotlib-tk/Makefile b/graphics/py-matplotlib-tk/Makefile
new file mode 100644
index 00000000000..0842f0f9df1
--- /dev/null
+++ b/graphics/py-matplotlib-tk/Makefile
@@ -0,0 +1,44 @@
+# $NetBSD: Makefile,v 1.24 2014/01/21 19:22:08 drochner Exp $
+#
+
+DISTNAME= matplotlib-1.3.1
+PKGNAME= ${PYPKGPREFIX}-matplotlib-tk-1.3.1
+CATEGORIES= graphics python
+MASTER_SITES= https://github.com/downloads/matplotlib/matplotlib/
+FETCH_USING= curl
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://matplotlib.sourceforge.net/
+COMMENT= Tk frontend for matplotlib
+
+DEPENDS+= ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
+
+USE_TOOLS+= pkg-config
+PY_PATCHPLIST= yes
+PYDISTUTILSPKG= yes
+USE_LANGUAGES= c c++
+
+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
+
+post-install:
+ ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_NAME}-py${PYVERSSUFFIX}.egg-info
+
+.include "../../lang/python/egg.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"
+.include "../../x11/tk/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"