blob: 1ccb759ce3d618f42b9ca08efa4cf2bbb15022c5 (
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.15 2009/01/18 17:12:56 wiz 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= 24 25
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"
|