2010-10-19 11:21:03 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.30 2010/10/19 15:21:03 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-08-07 07:20:10 -04:00
|
|
|
GNOME_PROJECT= pygobject
|
2010-09-30 03:30:44 -04:00
|
|
|
GNOME_VERSION= 2.26.0
|
2009-10-12 08:29:26 -04:00
|
|
|
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME= py-gobject-${GNOME_VERSION}
|
|
|
|
EPOCH= 0
|
2010-10-02 04:33:03 -04:00
|
|
|
REVISION= 0
|
2009-10-12 08:29:26 -04:00
|
|
|
|
2010-09-30 03:30:44 -04:00
|
|
|
SHARED_LIBS += pyglib-2.0-python${MODPY_VERSION} 1.0 # .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-09-30 03:30:44 -04:00
|
|
|
WANTLIB= pcre z ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
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
|
|
|
|
2010-09-30 03:30:44 -04:00
|
|
|
LIB_DEPENDS= ::devel/glib2 \
|
|
|
|
::devel/libffi
|
2007-05-09 17:43:48 -04:00
|
|
|
|
2010-10-18 09:28:51 -04:00
|
|
|
|
2007-05-09 17:43:48 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2010-09-30 03:30:44 -04:00
|
|
|
CONFIGURE_ARGS+=--disable-introspection
|
2007-05-09 17:43:48 -04:00
|
|
|
|
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>
|