2011-09-16 05:24:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.46 2011/09/16 09:24:55 espie Exp $
|
2007-05-09 17:43:48 -04:00
|
|
|
|
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
|
2011-06-13 12:46:39 -04:00
|
|
|
GNOME_VERSION= 2.28.6
|
2009-10-12 08:29:26 -04:00
|
|
|
|
2010-08-30 18:24:14 -04:00
|
|
|
PKGNAME= py-gobject-${GNOME_VERSION}
|
2011-09-16 05:24:48 -04:00
|
|
|
REVISION= 1
|
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-12 08:07:24 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2011-05-13 18:28:15 -04:00
|
|
|
WANTLIB += ffi gio-2.0 girepository-1.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
|
|
WANTLIB += gthread-2.0 m 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-04-08 02:17:36 -04:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
RUN_DEPENDS= graphics/py-cairo
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS= devel/glib2 \
|
2011-04-07 11:08:13 -04:00
|
|
|
devel/libffi \
|
2011-04-08 02:17:36 -04:00
|
|
|
devel/gobject-introspection>=0.10.7p3
|
2007-05-09 17:43:48 -04:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=gnu
|
2011-03-09 01:17:08 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
2011-04-07 11:08:13 -04:00
|
|
|
--enable-introspection \
|
|
|
|
--enable-cairo
|
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>
|