2010-04-23 09:02:16 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2010/04/23 13:02:16 ajacoutot Exp $
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2006-06-03 05:45:42 -04:00
|
|
|
SHARED_ONLY= Yes
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= GTK+2 Python bindings
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2008-04-22 10:50:54 -04:00
|
|
|
GNOME_PROJECT= pygtk
|
2009-10-11 10:15:15 -04:00
|
|
|
GNOME_VERSION= 2.16.0
|
2010-04-23 09:02:16 -04:00
|
|
|
PKGNAME= py-gtk2-${VERSION}p1
|
2008-04-22 10:50:54 -04:00
|
|
|
|
2004-02-16 16:12:50 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.pygtk.org/
|
|
|
|
|
2008-04-22 10:50:54 -04:00
|
|
|
# LGPLv2
|
2004-02-16 16:12:50 -05:00
|
|
|
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
|
|
|
|
WANTLIB += glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0 m pango-1.0
|
|
|
|
WANTLIB += pangocairo-1.0 pangoft2-1.0 pcre pixman-1 png xml2
|
2010-04-23 09:02:16 -04:00
|
|
|
WANTLIB += z pthread-stubs xcb gthread-2.0 xcb-render xcb-render-util
|
2006-05-08 09:44:18 -04:00
|
|
|
|
2008-04-22 10:50:54 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2006-12-16 07:22:32 -05:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2006-09-18 08:19:39 -04:00
|
|
|
LIB_DEPENDS= glade-2.0::devel/libglade2
|
2007-05-09 17:35:52 -04:00
|
|
|
RUN_DEPENDS= :py-cairo->=1.2:graphics/py-cairo \
|
|
|
|
:py-gobject-*:devel/py-gobject \
|
2009-10-11 10:15:15 -04:00
|
|
|
::math/py-numpy
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2008-04-22 10:50:54 -04:00
|
|
|
USE_GMAKE= No
|
|
|
|
|
2006-11-13 08:01:37 -05:00
|
|
|
USE_X11= Yes
|
2007-05-09 17:35:52 -04:00
|
|
|
LIBTOOL_FLAGS+= --tag=disable-static
|
2004-02-16 16:12:50 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
|
2009-06-03 13:26:00 -04:00
|
|
|
# pick bind_textdomain_codeset
|
|
|
|
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib -lintl -liconv"
|
|
|
|
|
2009-09-06 06:46:25 -04:00
|
|
|
REGRESS_IS_INTERACTIVE= x11
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2008-04-22 10:50:54 -04:00
|
|
|
pre-configure:
|
2006-05-08 09:44:18 -04:00
|
|
|
@find ${WRKDIST} -name \*.py | \
|
2009-03-25 05:03:21 -04:00
|
|
|
xargs perl -i -pe 's,^#!/usr/bin/env python,#!${MODPY_BIN},'
|
2004-02-16 16:12:50 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|