openbsd-ports/devel/py-gobject/Makefile

48 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2010/07/03 04:50:00 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= Python bindings for glib2 gobject
2009-10-12 08:29:26 -04:00
# XXX on update, add GObj. Introspection support to graphics/evince
GNOME_PROJECT= pygobject
2010-04-23 08:51:11 -04:00
GNOME_VERSION= 2.20.0
2009-10-12 08:29:26 -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
PYGLIB_VER= ${LIBpyglib-2.0-python${MODPY_VERSION}_VERSION}
SUBST_VARS+= PYGLIB_VER
2007-10-05 09:38:31 -04:00
CATEGORIES= devel x11
HOMEPAGE= http://www.pygtk.org/
# LGPLv2.1
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
MODULES= devel/gettext \
lang/python \
x11/gnome
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
CONFIGURE_STYLE=gnu
REGRESS_DEPENDS= :${PKGNAME}:${BUILD_PKGPATH}
REGRESS_IS_INTERACTIVE= x11
post-install:
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
${PREFIX}/share/pygobject/2.0/codegen
.include <bsd.port.mk>