36 lines
878 B
Makefile
36 lines
878 B
Makefile
# $NetBSD: Makefile,v 1.16 2009/02/11 14:23:32 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= pycairo-1.8.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://cairographics.org/releases/
|
|
|
|
MAINTAINER= leuzi@trash.net
|
|
HOMEPAGE= http://cairographics.org/pycairo/
|
|
COMMENT= Python bindings for cairo
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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= 25 24
|
|
PY_PATCHPLIST= yes
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(CC_VERSION:Mgcc-2*)
|
|
BUILDLINK_TRANSFORM+= rm:-std=c99
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.0
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../math/py-Numeric/buildlink3.mk"
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|