blob: 8071f1e4adb6202c93d2a3faf212eb7340c39c9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.9 2008/03/12 20:54:52 drochner Exp $
#
DISTNAME= pycairo-1.4.12
PKGNAME= ${PYPKGPREFIX}-cairo-1.4.12
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= 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.4.12
.include "../../lang/python/extension.mk"
.include "../../math/py-Numeric/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|