# $NetBSD: Makefile,v 1.53 2016/05/29 14:03:42 mef Exp $ VERSION= 1.3.1 DISTNAME= matplotlib-${VERSION} PKGNAME= ${PYPKGPREFIX}-matplotlib-gtk-${VERSION} PKGREVISION= 2 CATEGORIES= graphics python MASTER_SITES= ${MASTER_SITE_GITHUB:=matplotlib/} GITHUB_PROJECT= matplotlib # with Githubify, size changes little bit, so the following line, please delete for another update. DIST_SUBDIR= matplotlib-1.3.1 MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://matplotlib.sourceforge.net/ COMMENT= GTK frontend for matplotlib USE_TOOLS+= pkg-config PY_PATCHPLIST= yes PYDISTUTILSPKG= yes PYTHON_VERSIONS_INCOMPATIBLE= 33 34 35 # py-gtk2 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 = True"; \ ${ECHO} "gtkagg = True"; \ ${ECHO} "tkagg = False"; \ ${ECHO} "wxagg = False"; \ ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg post-install: ${RM} -r ${DESTDIR}/${PREFIX}/${PYSITELIB}/${EGG_INFODIR} .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/py-gtk2/buildlink3.mk" .include "../../mk/bsd.pkg.mk"