openbsd-ports/x11/py-Gtk/Makefile

53 lines
1.3 KiB
Makefile
Raw Normal View History

2006-09-18 06:21:48 -04:00
# $OpenBSD: Makefile,v 1.19 2006/09/18 10:21:49 espie Exp $
2002-04-17 16:30:46 -04:00
COMMENT= "Gtk bindings for Python"
# Version numbers between py-gtk and py-gnome are different, but py-gnome
# overlaps py-gtk. Because of this version number inconsistency, we use
# py-gnome's version number, even for py-gtk.
2002-04-17 16:30:46 -04:00
V= 1.4.2 ## For py-gtk, this really is 0.6.9
2006-06-04 05:44:23 -04:00
PKGNAME= py-Gtk-${V}p1
2002-04-17 16:30:46 -04:00
DISTNAME= gnome-python-${V}
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-python/1.4/}
2002-04-17 16:30:46 -04:00
HOMEPAGE= http://www.daa.com.au/~james/gnome/
# GPL
2002-04-17 16:30:46 -04:00
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
WANTLIB= GL GLU X11 Xext Xi gdk glib gmodule gtk \
jpeg m png pthread tiff ungif xml z ICE SM
MODULES= devel/gettext
LIB_DEPENDS+= gdk_imlib::graphics/imlib \
2006-09-18 06:21:48 -04:00
gtkgl.>=1.2::x11/gtkglarea \
2002-04-17 16:30:46 -04:00
gdk_pixbuf::graphics/gdk-pixbuf \
2006-09-18 06:21:48 -04:00
gthread.>=1.2::devel/glib
2002-04-17 16:30:46 -04:00
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
2002-04-17 16:30:46 -04:00
CONFIGURE_STYLE=gnu
2006-06-04 05:44:23 -04:00
PYTHON_VER= 2.4
2002-04-17 16:30:46 -04:00
SUBST_VARS= PYTHON_VER
2002-04-17 16:30:46 -04:00
CONFIGURE_ENV= PYTHON=${LOCALBASE}/bin/python${PYTHON_VER}
2002-04-17 16:30:46 -04:00
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
BUILD_DEPENDS+= ${RUN_DEPENDS}
2002-04-17 16:30:46 -04:00
PATCH_STRIP= -p1
PATCH_LIST= patch-pygtk_configure
2006-09-18 06:21:48 -04:00
LIB_DEPENDS+= glade.>=4::devel/libglade
2002-04-17 16:30:46 -04:00
WRKDIST= ${WRKDIR}/${DISTNAME}/pygtk
.include <bsd.port.mk>