summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-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