aboutsummaryrefslogtreecommitdiff
path: root/devel/gide
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-10-21 05:49:49 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-10-21 05:49:49 +0000
commit586a4a1a7262fcc59e08c909b0526adc4c2ed83d (patch)
tree91c2f00b63899425c4289941495963c48a3a3b60 /devel/gide
parent1aef35c8ff44e3b7b07273d42aa90c8d2889809b (diff)
downloadports-586a4a1a7262fcc59e08c909b0526adc4c2ed83d.tar.gz
ports-586a4a1a7262fcc59e08c909b0526adc4c2ed83d.zip
Notes
Diffstat (limited to 'devel/gide')
-rw-r--r--devel/gide/Makefile24
-rw-r--r--devel/gide/distinfo2
-rw-r--r--devel/gide/files/patch-ar25
-rw-r--r--devel/gide/pkg-plist15
4 files changed, 55 insertions, 11 deletions
diff --git a/devel/gide/Makefile b/devel/gide/Makefile
index 555d975eb24f..5acf21606aa0 100644
--- a/devel/gide/Makefile
+++ b/devel/gide/Makefile
@@ -1,13 +1,13 @@
# New ports collection makefile for: gIDE
-# Version required: 0.1.2
+# Version required: 0.1.5
# Date created: 29 Jul 1998
# Whom: rom
#
# $FreeBSD$
#
-DISTNAME= gIDE-0.1.2
-PKGNAME= gide-0.1.2
+DISTNAME= gIDE-0.1.5
+PKGNAME= gide-0.1.5
CATEGORIES= devel gnome
MASTER_SITES= http://gide.gdev.net/ \
http://gide.pn.org/
@@ -22,18 +22,22 @@ GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
FETCH_BEFORE_ARGS= -b
USE_X_PREFIX= yes
-USE_GMAKE= yes
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
- --datadir=${PREFIX}/share/gnome \
- --with-gnome=${PREFIX}
+USE_GMAKE= yes
+USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GTK_CONFIG="${GTK_CONFIG}" \
LIBS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome \
+ --with-gnome=${PREFIX}
MAN1= gide.1 gdbio.1
-pre-install:
- @${MKDIR} ${PREFIX}/share/gnome/gIDE/extra
+post-patch:
+ @${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/src/*.c
+ @${PERL} -pi -e 's|%%X11BASE%%|${X11BASE}|g' ${WRKSRC}/src/*.c
+
+post-install:
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/devel/gide/distinfo b/devel/gide/distinfo
index 2dd2c0b6c087..33e00bac6d9a 100644
--- a/devel/gide/distinfo
+++ b/devel/gide/distinfo
@@ -1 +1 @@
-MD5 (gIDE-0.1.2.tar.gz) = adc38514d2a925b7d053f29917d9028d
+MD5 (gIDE-0.1.5.tar.gz) = 6b545ee64c5d12b163d3c994de6b4d3f
diff --git a/devel/gide/files/patch-ar b/devel/gide/files/patch-ar
new file mode 100644
index 000000000000..894b7451e3b9
--- /dev/null
+++ b/devel/gide/files/patch-ar
@@ -0,0 +1,25 @@
+--- src/gide.c.orig Tue Aug 17 00:06:24 1999
++++ src/gide.c Mon Oct 18 20:17:29 1999
+@@ -292,17 +292,17 @@
+ #endif
+
+ cfg->tab_width = 4;
+- cfg->incpath = (gchar *) realloc( cfg->incpath, 40 );
+- strcpy( cfg->incpath, "/usr/include:/usr/local/include" );
++ cfg->incpath = (gchar *) realloc( cfg->incpath, 60 );
++ strcpy( cfg->incpath, "/usr/include:%%LOCALBASE%%/include:%%X11BASE%%/include" );
+ cfg->ccopt = (gchar *) realloc( cfg->ccopt, 2 );
+ strcpy( cfg->ccopt, "" );
+- cfg->libpath = (gchar *) realloc( cfg->libpath, 40 );
+- strcpy( cfg->libpath, "/lib:/usr/lib:/usr/local/lib" );
++ cfg->libpath = (gchar *) realloc( cfg->libpath, 60 );
++ strcpy( cfg->libpath, "/usr/lib:%%LOCALBASE%%/lib:%%X11BASE%%/lib" );
+ cfg->ldopt = (gchar *) realloc( cfg->ldopt, 2 );
+ strcpy( cfg->ldopt, "" );
+
+ cfg->bash = (gchar *) realloc( cfg->bash, 20 );
+- strcpy( cfg->bash, "/bin/bash" );
++ strcpy( cfg->bash, "/bin/sh" );
+
+ cfg->xterm = (gchar *) realloc( cfg->xterm, 10 );
+ strcpy( cfg->xterm, "xterm" );
diff --git a/devel/gide/pkg-plist b/devel/gide/pkg-plist
index a8ffd2979249..039002f3695a 100644
--- a/devel/gide/pkg-plist
+++ b/devel/gide/pkg-plist
@@ -1,5 +1,20 @@
bin/gdbio
bin/gide
+include/gtksctext.h
+include/gtkeditor/gtkeditor.h
+include/gtkeditor/gtkhint.h
+include/regex.h
+lib/libgtkeditor.a
+lib/libgtkeditor.so
+lib/libgtkeditor.so.0
+lib/libgtksctext.a
+lib/libgtksctext.so
+lib/libgtksctext.so.0
+lib/libregex.a
+lib/libregex.so
+lib/libregex.so.0
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
share/gnome/gIDE/extra/README
share/gnome/gIDE/extra/compile_sets
share/gnome/gIDE/extra/functions.highlight