openbsd-ports/x11/py-gtk2/Makefile

54 lines
1.3 KiB
Makefile
Raw Normal View History

2010-11-22 03:36:47 -05:00
# $OpenBSD: Makefile,v 1.47 2010/11/22 08:37:04 espie Exp $
SHARED_ONLY= Yes
COMMENT= GTK+2 Python bindings
GNOME_PROJECT= pygtk
GNOME_VERSION= 2.22.0
PKGNAME= py-gtk2-${VERSION}
2010-10-11 04:11:24 -04:00
REVISION= 0
CATEGORIES= x11
HOMEPAGE= http://www.pygtk.org/
# LGPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2009-03-07 10:37:38 -05:00
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
2010-10-11 04:11:24 -04:00
WANTLIB += gmodule-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0
2010-07-30 05:23:28 -04:00
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png xml2 glade-2.0
2010-04-23 09:02:16 -04:00
WANTLIB += z pthread-stubs xcb gthread-2.0 xcb-render xcb-render-util
MODULES= devel/gettext \
lang/python \
x11/gnome
2006-12-16 07:22:32 -05:00
BUILD_DEPENDS= ${RUN_DEPENDS}
2010-11-22 03:36:47 -05:00
LIB_DEPENDS= devel/libglade2
RUN_DEPENDS= graphics/py-cairo>=1.2 \
devel/py-gobject>=2.26.0 \
math/py-numpy
USE_GMAKE= No
2007-05-09 17:35:52 -04:00
LIBTOOL_FLAGS+= --tag=disable-static
CONFIGURE_STYLE=gnu
# pick bind_textdomain_codeset
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv"
REGRESS_IS_INTERACTIVE= x11
pre-configure:
@find ${WRKDIST} -name \*.py | \
xargs perl -i -pe 's,^#!/usr/bin/env python,#!${MODPY_BIN},'
.include <bsd.port.mk>