f79573370a
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
35 lines
946 B
Makefile
35 lines
946 B
Makefile
# $NetBSD: Makefile,v 1.19 2001/09/27 23:19:00 jlam Exp $
|
|
|
|
DISTNAME= gnome-python-1.4.0
|
|
CATEGORIES= x11 gnome
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=stable/sources/gnome-python/}
|
|
|
|
MAINTAINER= tron@netbsd.org
|
|
HOMEPAGE= http://www.daa.com.au/~james/gnome/
|
|
COMMENT= Python Bindings for the GNU Network Object Model Environment
|
|
|
|
DEPENDS+= gnome-core>1.4.0:../gnome-core
|
|
DEPENDS+= gtkglarea-[0-9]*:../../x11/gtkglarea
|
|
DEPENDS+= libglade-[0-9]*:../../devel/libglade
|
|
DEPENDS+= python>=2.0:../../lang/python
|
|
|
|
CONFLICTS+= py-gtk-[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_X11= yes
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL= yes
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${OBJECT_FMT} == a.out)
|
|
post-configure:
|
|
.for DIR in pygtk pygnome
|
|
${MV} ${WRKSRC}/${DIR}/Makefile ${WRKSRC}/${DIR}/Makefile.old
|
|
${SED} -e 's#-Wl,-R#-R#g' ${WRKSRC}/${DIR}/Makefile.old \
|
|
>${WRKSRC}/${DIR}/Makefile
|
|
.endfor
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|