pkgsrc/graphics/py-cairo/Makefile

33 lines
805 B
Makefile

# $NetBSD: Makefile,v 1.3 2006/04/23 17:13:03 wiz Exp $
#
DISTNAME= pycairo-1.0.2
PKGNAME= ${PYPKGPREFIX}-cairo-1.0.2
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= http://cairographics.org/releases/
MAINTAINER= leuzi@trash.net
HOMEPAGE= http://cairographics.org/pycairo/
COMMENT= Python bindings for cairo
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= 24 23
PY_PATCHPLIST= yes
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-2*)
BUILDLINK_TRANSFORM+= rm:-std=c99
.endif
.include "../../lang/python/extension.mk"
.include "../../math/py-Numeric/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"