openbsd-ports/devel/py-gobject/Makefile
sthen de918bd5ec Add a nasty hack so this can build with non-default MODPY_VERSION.
Better suggestions welcome, but we couldn't think of any.
"Oh that is nasty, ok aja@".
2009-10-12 17:19:16 +00:00

44 lines
941 B
Makefile

# $OpenBSD: Makefile,v 1.22 2009/10/12 17:19:16 sthen Exp $
SHARED_ONLY= Yes
COMMENT= Python bindings for glib2 gobject
# XXX on update, add GObj. Introspection support to graphics/evince
GNOME_PROJECT= pygobject
GNOME_VERSION= 2.18.0
PKGNAME= py-gobject-${GNOME_VERSION}p0v0
SHARED_LIBS += pyglib-2.0-python${MODPY_VERSION} 0.0 # .0.0
PYGLIB_VER= ${LIBpyglib-2.0-python${MODPY_VERSION}_VERSION}
SUBST_VARS+= PYGLIB_VER
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
WANTLIB= pcre
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
.include <bsd.port.mk>