# $NetBSD: Makefile,v 1.15 2006/05/11 14:15:04 joerg Exp $ # DISTNAME= matplotlib-0.87.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} PKGREVISION= 3 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 USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config PY_PATCHPLIST= yes PYDISTUTILSPKG= yes .include "../../lang/python/extension.mk" .if ${PYPACKAGE} == "python15" || ${PYPACKAGE} == "python20" || \ ${PYPACKAGE} == "python21" || ${PYPACKAGE} == "python22" || \ ${PYPACKAGE} == "python23" PLIST_SUBST+= COND_SUBPROCESS="" .else PLIST_SUBST+= COND_SUBPROCESS="@comment " .endif .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../math/py-Numeric/buildlink3.mk" .include "../../math/py-numarray/buildlink3.mk" .include "../../mk/bsd.pkg.mk"