2002-11-20 21:33:59 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2002/11/21 02:34:00 margarida Exp $
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
COMMENT= "Gtk bindings for Python"
|
|
|
|
COMMENT-gnome= "Gtk and Gnome bindings for Python"
|
2001-09-18 02:01:58 -04:00
|
|
|
|
|
|
|
# Version numbers between py-gtk and py-gnome are different, but py-gnome
|
2001-10-28 03:48:18 -05:00
|
|
|
# overlaps py-gtk. Because of this version number inconsistency, we use
|
2001-09-18 02:01:58 -04:00
|
|
|
# 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
|
|
|
|
PKGNAME= py-Gtk-${V}
|
|
|
|
DISTNAME= gnome-python-${V}
|
|
|
|
CATEGORIES= x11 devel
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-11-20 21:33:59 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-python/1.4/}
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
HOMEPAGE= http://www.daa.com.au/~james/gnome/
|
2001-09-21 15:17:44 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
MAINTAINER= Maurice Nonnekes <maurice@amaze.nl>
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-11-20 21:33:59 -05:00
|
|
|
# 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
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
FLAVORS= gnome
|
2001-09-18 02:01:58 -04:00
|
|
|
FLAVOR?=
|
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
LIB_DEPENDS+= Imlib.19,gdk_imlib::graphics/imlib \
|
|
|
|
gtkgl.1.2::x11/gtkglarea \
|
|
|
|
gdk_pixbuf::graphics/gdk-pixbuf \
|
2002-04-17 16:27:13 -04:00
|
|
|
gthread.1.2::devel/glib
|
2001-09-21 15:17:44 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
USE_X11= Yes
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
USE_LIBTOOL= Yes
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
CONFIGURE_STYLE=gnu
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
PYTHON_VER= 2.1
|
|
|
|
SUBST_VARS= PYTHON_VER
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
CONFIGURE_ENV= PYTHON=${LOCALBASE}/bin/python${PYTHON_VER}
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
RUN_DEPENDS+= :python-${PYTHON_VER}*:lang/python/${PYTHON_VER}
|
|
|
|
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
2001-09-18 02:01:58 -04:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgnome}
|
2002-04-17 16:30:46 -04:00
|
|
|
LIB_DEPENDS+= glade-gnome.4,glade::devel/libglade,gnome \
|
|
|
|
capplet::x11/gnome/controlcenter \
|
|
|
|
gnorba,gtkxmhtml,zvt::x11/gnome/libs \
|
|
|
|
panel_applet::x11/gnome/core
|
2001-09-18 02:01:58 -04:00
|
|
|
.else
|
2002-04-17 16:30:46 -04:00
|
|
|
PATCH_STRIP= -p1
|
|
|
|
PATCH_LIST= patch-pygtk_configure
|
2001-09-18 02:01:58 -04:00
|
|
|
|
2002-04-17 16:30:46 -04:00
|
|
|
LIB_DEPENDS+= glade.4::devel/libglade
|
|
|
|
WRKDIST= ${WRKDIR}/${DISTNAME}/pygtk
|
2001-09-18 02:01:58 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|