2006-06-03 05:19:52 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2006/06/03 09:36:00 alek Exp $
|
2005-11-03 14:44:48 -05:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT= "cairo bindings for Python"
|
|
|
|
|
|
|
|
DISTNAME= pycairo-1.0.2
|
2006-06-03 05:19:52 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/py/py-/}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/
|
|
|
|
|
|
|
|
WANTLIB= freetype gobject-2.0.0.0 glib-2.0.0.0
|
|
|
|
|
|
|
|
MODULES= lang/python \
|
|
|
|
devel/gettext
|
|
|
|
LIB_DEPENDS= cairo.4::graphics/cairo
|
|
|
|
RUN_DEPENDS= :py-gtk2-*:x11/py-gtk2
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
|
|
|
:pkgconfig-*:devel/pkgconfig
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
sed "s|@VERSION@|${V}|" cairo/__init__.py.in | \
|
|
|
|
sed "s|@VERSION_INFO@|${V:S/./,/g}|" > cairo/__init__.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|