# $NetBSD: Makefile,v 1.29 2011/02/25 09:47:23 wiz Exp $ # DISTNAME= py2cairo-1.8.10 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py2//} PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://cairographics.org/releases/ MAINTAINER= leuzi@trash.net HOMEPAGE= http://cairographics.org/pycairo/ COMMENT= Python bindings for cairo LICENSE= gnu-lgpl-v2.1 OR mpl-1.1 PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/${DISTNAME:S/py2/py/} USE_PKGLOCALEDIR= yes USE_LIBTOOL= yes USE_TOOLS+= pkg-config GNU_CONFIGURE= yes CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q} PKGCONFIG_OVERRIDE+= pycairo.pc.in PYTHON_VERSIONS_ACCEPTED= 27 26 25 PY_PATCHPLIST= yes .include "../../mk/compiler.mk" .if !empty(CC_VERSION:Mgcc-2*) BUILDLINK_TRANSFORM+= rm:-std=c99 .endif .include "../../lang/python/extension.mk" BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.10 .include "../../graphics/cairo/buildlink3.mk" .include "../../mk/bsd.pkg.mk"