2004-08-27 08:29:06 +02:00
|
|
|
# $NetBSD: Makefile,v 1.42 2004/08/27 06:29:11 jlam Exp $
|
1999-11-20 21:17:47 +01:00
|
|
|
|
2003-02-22 01:49:27 +01:00
|
|
|
DISTNAME= gnome-python-1.4.4
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-gnome-1.4.4
|
2004-03-26 03:27:34 +01:00
|
|
|
PKGREVISION= 5
|
2000-11-20 15:38:27 +01:00
|
|
|
CATEGORIES= x11 gnome
|
2002-10-19 12:54:42 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-python/1.4/}
|
1999-11-20 21:17:47 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= drochner@NetBSD.org
|
2000-11-20 15:38:27 +01:00
|
|
|
HOMEPAGE= http://www.daa.com.au/~james/gnome/
|
2001-02-17 18:06:11 +01:00
|
|
|
COMMENT= Python Bindings for the GNU Network Object Model Environment
|
1999-11-20 21:17:47 +01:00
|
|
|
|
2003-04-20 16:17:48 +02:00
|
|
|
BUILDLINK_DEPENDS.gnome-panel= gnome-panel<2.0
|
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
CONFLICTS+= py-gtk-[0-9]*
|
2002-01-19 12:44:19 +01:00
|
|
|
CONFLICTS+= gnome-python-*
|
1999-11-20 21:17:47 +01:00
|
|
|
|
2000-11-20 15:38:27 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_X11= yes
|
2004-04-27 04:04:06 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2004-01-24 16:30:32 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2001-04-07 21:43:30 +02:00
|
|
|
USE_LIBTOOL= yes
|
2000-11-20 15:38:27 +01:00
|
|
|
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
|
2002-01-19 12:44:19 +01:00
|
|
|
CONFIGURE_ENV+= PYTHON=${PYTHONBIN}
|
|
|
|
MAKE_ENV+= PYINC=${PYINC}
|
|
|
|
PY_PATCHPLIST= yes
|
|
|
|
PYBINMODULE= yes
|
1999-11-20 21:17:47 +01:00
|
|
|
|
1999-11-21 20:53:20 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2003-03-14 20:37:30 +01:00
|
|
|
# XXX This doesn't quite work if _USE_RPATH=no.
|
1999-11-21 20:53:20 +01:00
|
|
|
.if (${OBJECT_FMT} == a.out)
|
|
|
|
post-configure:
|
2000-01-02 20:55:15 +01:00
|
|
|
.for DIR in pygtk pygnome
|
|
|
|
${MV} ${WRKSRC}/${DIR}/Makefile ${WRKSRC}/${DIR}/Makefile.old
|
2004-08-27 08:29:06 +02:00
|
|
|
${SED} -e 's#-Wl,-R#${LINKER_RPATH_FLAG} #g' \
|
|
|
|
${WRKSRC}/${DIR}/Makefile.old >${WRKSRC}/${DIR}/Makefile
|
2000-01-02 20:55:15 +01:00
|
|
|
.endfor
|
1999-11-21 20:53:20 +01:00
|
|
|
.endif
|
|
|
|
|
2004-04-27 04:04:06 +02:00
|
|
|
.include "../../devel/libglade/buildlink3.mk"
|
2002-09-22 01:46:45 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2004-04-27 04:04:06 +02:00
|
|
|
.include "../../x11/gnome-core/buildlink3.mk"
|
|
|
|
.include "../../x11/gtkglarea/buildlink3.mk"
|
1999-11-20 21:17:47 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|