2009-04-26 07:01:04 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2009/04/26 11:01:04 ajacoutot Exp $
|
2005-11-03 14:44:48 -05:00
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= cairo bindings for Python
|
2005-11-03 14:44:48 -05:00
|
|
|
|
2009-02-16 09:48:53 -05:00
|
|
|
VERSION= 1.8.2
|
2008-03-24 09:43:13 -04:00
|
|
|
DISTNAME= pycairo-${VERSION}
|
2009-03-16 18:20:02 -04:00
|
|
|
PKGNAME= py-cairo-${VERSION}p0
|
2005-11-03 14:44:48 -05:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
2008-06-08 16:47:10 -04:00
|
|
|
HOMEPAGE= http://cairographics.org/pycairo/
|
2005-11-03 14:44:48 -05:00
|
|
|
|
2008-03-24 09:43:13 -04:00
|
|
|
MAINTAINER= Eric Faurot <eric@openbsd.org>
|
2005-11-03 14:44:48 -05:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://cairographics.org/releases/
|
|
|
|
|
2008-06-08 16:47:10 -04:00
|
|
|
WANTLIB= X11 Xrender Xau Xdmcp expat fontconfig freetype glitz m pixman-1 png z
|
2005-11-03 14:44:48 -05:00
|
|
|
|
2006-06-27 15:12:13 -04:00
|
|
|
MODULES= lang/python
|
2007-05-22 17:08:17 -04:00
|
|
|
LIB_DEPENDS= cairo.>=6::graphics/cairo
|
2007-03-26 16:32:11 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2006-11-13 11:31:07 -05:00
|
|
|
USE_X11= Yes
|
2005-11-03 14:44:48 -05:00
|
|
|
|
2006-06-27 15:12:13 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2007-03-26 16:32:11 -04:00
|
|
|
|
|
|
|
pre-install:
|
|
|
|
perl -pi -e "s,!!MODPY_BIN!!,${MODPY_BIN}," ${WRKSRC}/test/test.test
|
|
|
|
|
|
|
|
do-regress: fake
|
|
|
|
cd ${WRKSRC}/test && env PYTHONPATH=${WRKINST}${MODPY_SITEPKG} \
|
|
|
|
${MODPY_BIN} ./test.py
|
2005-11-03 14:44:48 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|