blob: 7f847411adde2d7ab52b96b6d84f14b895d79bc1 (
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
|
# $NetBSD: Makefile,v 1.21 2009/08/15 14:26:38 wiz Exp $
#
DISTNAME= pycairo-1.8.6
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
LICENSE= gnu-lgpl-v2.1 OR mpl-v1.1
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= 26 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.4nb1
.include "../../lang/python/extension.mk"
.include "../../math/py-Numeric/buildlink3.mk"
.include "../../graphics/cairo/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|