2010-07-03 00:50:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2010/07/03 04:50:00 ajacoutot Exp $
|
2007-05-09 17:43:48 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 22:52:56 -04:00
|
|
|
COMMENT= Python bindings for glib2 gobject
|
2007-05-09 17:43:48 -04:00
|
|
|
|
2009-10-12 08:29:26 -04:00
|
|
|
# XXX on update, add GObj. Introspection support to graphics/evince
|
2009-08-07 07:20:10 -04:00
|
|
|
GNOME_PROJECT= pygobject
|
2010-04-23 08:51:11 -04:00
|
|
|
GNOME_VERSION= 2.20.0
|
2009-10-12 08:29:26 -04:00
|
|
|
|
2010-07-03 00:50:00 -04:00
|
|
|
PKGNAME= py-gobject-${GNOME_VERSION}p1v0
|
2009-10-12 08:29:26 -04:00
|
|
|
|
2010-04-23 08:51:11 -04:00
|
|
|
SHARED_LIBS += pyglib-2.0-python${MODPY_VERSION} 0.1 # .0.0
|
2009-10-12 13:19:16 -04:00
|
|
|
|
2010-04-25 16:59:38 -04:00
|
|
|
PYGLIB_VER= ${LIBpyglib-2.0-python${MODPY_VERSION}_VERSION}
|
|
|
|
SUBST_VARS+= PYGLIB_VER
|
|
|
|
|
2007-10-05 09:38:31 -04:00
|
|
|
CATEGORIES= devel x11
|
2007-05-09 17:43:48 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.pygtk.org/
|
|
|
|
|
2008-11-16 16:47:47 -05:00
|
|
|
# LGPLv2.1
|
2007-05-09 17:43:48 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2010-04-23 08:51:11 -04:00
|
|
|
WANTLIB= pcre z
|
2007-11-13 09:06:21 -05:00
|
|
|
|
2009-04-26 07:01:04 -04:00
|
|
|
MODULES= devel/gettext \
|
2009-08-07 07:20:10 -04:00
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2009-04-26 07:01:04 -04:00
|
|
|
|
2009-10-09 18:18:13 -04:00
|
|
|
LIB_DEPENDS= ffi::devel/libffi \
|
|
|
|
gio-2.0.>=1800.0,glib-2.0.>=1800.0,gmodule-2.0.>=2.1800,gobject-2.0.>=1800.0,gthread-2.0.>=1800.0::devel/glib2
|
2007-05-09 17:43:48 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
2008-11-16 16:47:47 -05:00
|
|
|
REGRESS_DEPENDS= :${PKGNAME}:${BUILD_PKGPATH}
|
|
|
|
|
2009-09-06 06:46:25 -04:00
|
|
|
REGRESS_IS_INTERACTIVE= x11
|
2007-09-19 09:19:50 -04:00
|
|
|
|
2010-07-03 00:50:00 -04:00
|
|
|
post-install:
|
|
|
|
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
|
|
|
|
${PREFIX}/share/pygobject/2.0/codegen
|
|
|
|
|
2007-05-09 17:43:48 -04:00
|
|
|
.include <bsd.port.mk>
|