2006-06-27 15:14:00 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.15 2006/06/27 19:14:00 naddy 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
|
|
|
|
2006-05-08 09:44:18 -04:00
|
|
|
COMMENT= "GTK+2 Python bindings"
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2006-06-27 15:14:00 -04:00
|
|
|
V= 2.8.6
|
2004-02-16 16:12:50 -05:00
|
|
|
DISTNAME= pygtk-${V}
|
2006-06-27 15:14:00 -04:00
|
|
|
PKGNAME= py-gtk2-${V}
|
2004-02-16 16:12:50 -05:00
|
|
|
CATEGORIES= x11
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.pygtk.org/
|
|
|
|
|
2004-07-04 19:40:05 -04:00
|
|
|
MAINTAINER= Michael Coulter <mjc@openbsd.org>
|
2004-02-16 16:12:50 -05:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-06-27 15:14:00 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pygtk/${V:R}/}
|
2005-05-12 17:10:05 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2006-06-13 09:19:08 -04:00
|
|
|
WANTLIB= X11 Xext Xrender atk-1.0.0.0 fontconfig freetype \
|
2006-06-27 15:14:00 -04:00
|
|
|
gdk-x11-2.0.802.0 gdk_pixbuf-2.0.802.0 glib-2.0.1000.0 \
|
|
|
|
gmodule-2.0.1000.0 gobject-2.0.1000.0 gthread-2.0.1000.0 \
|
|
|
|
gtk-x11-2.0.802.0 m pango-1.0.0.0 pangoft2-1.0.0.0 \
|
2006-06-13 09:19:08 -04:00
|
|
|
pangocairo-1.0.0.0 xml2 z cairo glitz png
|
2006-05-08 09:44:18 -04:00
|
|
|
|
|
|
|
MODULES= devel/gettext lang/python
|
2004-02-16 16:12:50 -05:00
|
|
|
|
|
|
|
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
|
2006-06-27 15:14:00 -04:00
|
|
|
:py-cairo->=1.0.2p1:graphics/py-cairo
|
2006-05-08 09:44:18 -04:00
|
|
|
LIB_DEPENDS= glade-2.0.0.0::devel/libglade2
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2005-05-12 17:10:05 -04:00
|
|
|
USE_LIBTOOL= Yes
|
2004-02-16 16:12:50 -05:00
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= PYTHON=${MODPY_BIN}
|
|
|
|
|
2005-05-12 17:10:05 -04:00
|
|
|
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
|
2004-02-16 16:12:50 -05:00
|
|
|
|
2006-05-08 09:44:18 -04:00
|
|
|
pre-patch:
|
|
|
|
@find ${WRKDIST} -name \*.py | \
|
|
|
|
xargs perl -i -pe 's:^#!/usr/bin/env python:#!${MODPY_BIN}:'
|
2004-02-16 16:12:50 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|