2009-08-15 16:26:38 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2009/08/15 14:26:38 wiz Exp $
|
2006-04-15 20:25:07 +02:00
|
|
|
#
|
|
|
|
|
2009-07-22 14:55:20 +02:00
|
|
|
DISTNAME= pycairo-1.8.6
|
2009-01-07 22:05:22 +01:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
2006-04-15 20:25:07 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= http://cairographics.org/releases/
|
|
|
|
|
|
|
|
MAINTAINER= leuzi@trash.net
|
|
|
|
HOMEPAGE= http://cairographics.org/pycairo/
|
|
|
|
COMMENT= Python bindings for cairo
|
2009-07-22 14:55:20 +02:00
|
|
|
LICENSE= gnu-lgpl-v2.1 OR mpl-v1.1
|
2009-05-13 14:56:46 +02:00
|
|
|
|
2007-08-23 22:50:52 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-04-15 20:25:07 +02:00
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN:Q}
|
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= pycairo.pc.in
|
2009-08-15 16:26:38 +02:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 26 25
|
2006-04-15 20:25:07 +02:00
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
|
2006-04-23 19:13:03 +02:00
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
|
|
|
|
.if !empty(CC_VERSION:Mgcc-2*)
|
|
|
|
BUILDLINK_TRANSFORM+= rm:-std=c99
|
|
|
|
.endif
|
|
|
|
|
2009-05-13 14:56:46 +02:00
|
|
|
BUILDLINK_API_DEPENDS.cairo+= cairo>=1.8.4nb1
|
2006-09-20 14:57:46 +02:00
|
|
|
|
2006-04-15 20:25:07 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.include "../../math/py-Numeric/buildlink3.mk"
|
|
|
|
.include "../../graphics/cairo/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|