1999-01-17 20:01:53 +00:00
|
|
|
# New ports collection makefile for: gIDE
|
|
|
|
# Date created: 29 Jul 1998
|
|
|
|
# Whom: rom
|
1998-07-31 21:02:41 +00:00
|
|
|
#
|
1999-08-25 05:57:29 +00:00
|
|
|
# $FreeBSD$
|
1998-07-31 21:02:41 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 21:30:15 +00:00
|
|
|
PORTNAME= gide
|
2000-05-17 16:34:01 +00:00
|
|
|
PORTVERSION= 0.3.0
|
1999-05-30 03:36:55 +00:00
|
|
|
CATEGORIES= devel gnome
|
2000-05-17 16:34:01 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME}
|
1999-12-22 21:19:40 +00:00
|
|
|
MASTER_SITE_SUBDIR= unstable/sources/gIDE
|
1998-07-31 21:02:41 +00:00
|
|
|
|
2000-05-17 16:34:01 +00:00
|
|
|
MAINTAINER= ade@FreeBSD.org
|
1998-07-31 21:02:41 +00:00
|
|
|
|
2000-06-01 16:25:45 +00:00
|
|
|
LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
|
2000-07-11 22:02:22 +00:00
|
|
|
glade.4:${PORTSDIR}/devel/libglade \
|
2000-08-04 01:34:38 +00:00
|
|
|
guile.9:${PORTSDIR}/lang/guile
|
2000-06-26 16:14:32 +00:00
|
|
|
RUN_DEPENDS= gnomecc:${PORTSDIR}/sysutils/gnomecontrolcenter
|
1998-11-13 04:10:42 +00:00
|
|
|
|
1999-05-30 03:36:55 +00:00
|
|
|
GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
|
|
|
|
|
1999-06-23 23:58:13 +00:00
|
|
|
USE_X_PREFIX= yes
|
1999-10-21 05:49:49 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_LIBTOOL= yes
|
2000-05-17 16:34:01 +00:00
|
|
|
CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
|
|
|
|
--datadir=${PREFIX}/share/gnome
|
1999-05-30 03:36:55 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
GTK_CONFIG="${GTK_CONFIG}" \
|
2000-05-17 16:34:01 +00:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
1998-08-25 01:53:21 +00:00
|
|
|
|
1999-06-06 16:41:27 +00:00
|
|
|
MAN1= gide.1 gdbio.1
|
|
|
|
|
2000-04-29 23:59:19 +00:00
|
|
|
PLIST_SUB= VERSION=${PORTVERSION}
|
2000-02-29 03:04:32 +00:00
|
|
|
|
2000-08-04 16:11:37 +00:00
|
|
|
pre-patch:
|
2000-08-04 01:34:38 +00:00
|
|
|
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
|
|
|
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
1999-10-21 05:49:49 +00:00
|
|
|
post-patch:
|
2000-02-29 03:04:32 +00:00
|
|
|
@${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/src/*.c
|
|
|
|
@${PERL} -pi -e "s|%%X11BASE%%|${X11BASE}|g" ${WRKSRC}/src/*.c
|
1999-10-21 05:49:49 +00:00
|
|
|
|
1998-07-31 21:02:41 +00:00
|
|
|
.include <bsd.port.mk>
|