blob: da93e35c4922eb7b23806a5a585189f3aa8d9c7c (
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
37
38
39
40
|
# $NetBSD: Makefile,v 1.36 2012/10/04 00:21:59 cheusov Exp $
#
DISTNAME= py2cairo-1.8.10
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py2//}
PKGREVISION= 5
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
PY_PATCHPLIST= yes
PYTHON_SELF_CONFLICT= yes
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-2*) || \
${OPSYS} == "SunOS"
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"
|