2007-10-08 04:22:38 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2007/10/08 08:22:41 steven Exp $
|
2005-11-03 14:44:48 -05:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 16:09:40 -04:00
|
|
|
COMMENT= cairo bindings for Python
|
2005-11-03 14:44:48 -05:00
|
|
|
|
2007-05-22 17:08:17 -04:00
|
|
|
V= 1.4.0
|
|
|
|
DISTNAME= pycairo-${V}
|
2007-10-08 04:22:38 -04:00
|
|
|
PKGNAME= py-cairo-${V}p0
|
2005-11-03 14:44:48 -05:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://cairographics.org/introduction/
|
|
|
|
|
|
|
|
MAINTAINER= Eric Faurot <eric.faurot@gmail.com>
|
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://cairographics.org/releases/
|
|
|
|
|
2007-05-22 17:08:17 -04:00
|
|
|
WANTLIB= X11 Xrender Xau Xdmcp expat fontconfig freetype m z glitz png
|
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
|
|
|
CONFIGURE_ENV= PYTHON=${MODPY_BIN}
|
|
|
|
|
|
|
|
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>
|