2011-09-21 09:45:11 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.49 2011/09/21 13:45:11 ajacoutot Exp $
|
2007-05-09 17:43:48 -04:00
|
|
|
|
2011-09-21 09:45:11 -04:00
|
|
|
COMMENT= Python bindings for glib2 gobject (deprecated)
|
2007-05-09 17:43:48 -04:00
|
|
|
|
2009-08-07 07:20:10 -04:00
|
|
|
GNOME_PROJECT= pygobject
|
2011-06-13 12:46:39 -04:00
|
|
|
GNOME_VERSION= 2.28.6
|
2011-09-21 09:37:14 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2009-10-12 08:29:26 -04:00
|
|
|
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME= py-gobject-${GNOME_VERSION}
|
2011-09-21 09:45:11 -04:00
|
|
|
REVISION= 3
|
2011-04-07 11:08:13 -04:00
|
|
|
|
2010-08-30 18:24:14 -04:00
|
|
|
EPOCH= 0
|
2009-10-12 13:19:16 -04:00
|
|
|
|
2011-03-09 01:17:08 -05:00
|
|
|
CATEGORIES= devel
|
2010-04-25 16:59:38 -04:00
|
|
|
|
2011-03-09 01:17:08 -05:00
|
|
|
SHARED_LIBS += pyglib-2.0-python${MODPY_VERSION} 2.0 # .0.0
|
2007-05-09 17:43:48 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.pygtk.org/
|
|
|
|
|
2011-03-09 01:17:08 -05:00
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.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
|
|
|
|
|
2011-09-21 09:37:14 -04:00
|
|
|
WANTLIB += ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0
|
|
|
|
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
|
|
|
|
2011-09-21 09:37:14 -04:00
|
|
|
LIB_DEPENDS= devel/glib2
|
2007-05-09 17:43:48 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2011-09-21 09:37:14 -04:00
|
|
|
|
|
|
|
# not really needed because we don't add "goi" to MODGNOME_TOOLS,
|
|
|
|
# however it is clearer to explicitely note that it is disabled --
|
|
|
|
# introspection support for py-gobject is now in devel/py-gobject3
|
|
|
|
CONFIGURE_ARGS= --disable-introspection
|
2008-11-16 16:47:47 -05:00
|
|
|
|
2011-03-09 01:17:08 -05:00
|
|
|
REGRESS_DEPENDS= ${FULLPKGNAME}:${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>
|