- Changed MASTER_SITE to ${MASTER_SITE_GNOME}

- Changed BUILD_DEPENDS= to BUILD_DEPENDS+=
- Changed LIB_DEPENDS for the gnome flavor to search for
  glade-gnome.4, instead of glade.4

From maintainer
This commit is contained in:
shell 2001-09-21 19:17:44 +00:00
parent c8a2b44084
commit 4b70c652c9

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2001/09/18 06:01:58 shell Exp $ # $OpenBSD: Makefile,v 1.2 2001/09/21 19:17:44 shell Exp $
COMMENT= "Python bindings for Gtk" COMMENT= "Python bindings for Gtk"
COMMENT-gnome= "Python bindings for Gtk and Gnome" COMMENT-gnome= "Python bindings for Gtk and Gnome"
@ -13,7 +13,9 @@ DISTNAME= gnome-python-${V}
CATEGORIES= x11 devel CATEGORIES= x11 devel
NEED_VERSION= 1.405 NEED_VERSION= 1.405
MASTER_SITES= ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnome-python/ MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/gnome-python
HOMEPAGE= http://www.daa.com.au/~james/gnome/ HOMEPAGE= http://www.daa.com.au/~james/gnome/
@ -24,12 +26,12 @@ PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes PERMIT_PACKAGE_FTP= Yes
LIB_DEPENDS+= Imlib.19::graphics/imlib \
gtkgl.1.2::x11/gtkglarea
FLAVORS= gnome FLAVORS= gnome
FLAVOR?= FLAVOR?=
LIB_DEPENDS+= Imlib.19::graphics/imlib \
gtkgl.1.2::x11/gtkglarea
USE_X11= Yes USE_X11= Yes
USE_GMAKE= Yes USE_GMAKE= Yes
USE_LIBTOOL= Yes USE_LIBTOOL= Yes
@ -43,10 +45,10 @@ SUBST_VARS= PYTHON_VER
CONFIGURE_ENV= PYTHON=${LOCALBASE}/bin/python${PYTHON_VER} CONFIGURE_ENV= PYTHON=${LOCALBASE}/bin/python${PYTHON_VER}
RUN_DEPENDS+= python${PYTHON_VER}::lang/python RUN_DEPENDS+= python${PYTHON_VER}::lang/python
BUILD_DEPENDS= ${RUN_DEPENDS} BUILD_DEPENDS+= ${RUN_DEPENDS}
.if ${FLAVOR:L:Mgnome} .if ${FLAVOR:L:Mgnome}
LIB_DEPENDS+= glade.4::devel/libglade,gnome LIB_DEPENDS+= glade-gnome.4::devel/libglade,gnome
.else .else
PATCH_STRIP= -p1 PATCH_STRIP= -p1
PATCH_LIST= patch-pygtk_configure patch-pygtk_gtkmodule_c PATCH_LIST= patch-pygtk_configure patch-pygtk_gtkmodule_c