summaryrefslogtreecommitdiff
path: root/x11/gnome-python/Makefile
blob: 3d010ef2de2db9aaf58cc58f376f3955c287cfd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# $NetBSD: Makefile,v 1.16 2001/02/17 17:06:25 wiz Exp $

DISTNAME=		gnome-python-1.0.53
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.2.0:../gnome-core
DEPENDS+=		gtkglarea-*:../../x11/gtkglarea
DEPENDS+=		libglade-*:../../devel/libglade
DEPENDS+=		python-2.0:../../lang/python

CONFLICTS+=		py-gtk-*

GNU_CONFIGURE=		yes
USE_X11=		yes
USE_GMAKE=		yes
USE_LIBTOOL=		# defined
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"