aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 12:52:06 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-06-06 12:52:06 +0000
commit7b6e4a522eb973552050f7e840bebf7fea7af9b5 (patch)
tree5c051f71d2f6fdd6630601f50230987df28daa36 /sysutils
parent7e6ec888605ce97376f0711b35aad47b7dd0e1e8 (diff)
downloadports-7b6e4a522eb973552050f7e840bebf7fea7af9b5.tar.gz
ports-7b6e4a522eb973552050f7e840bebf7fea7af9b5.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gnomefind/Makefile32
-rw-r--r--sysutils/gnomefind/distinfo1
-rw-r--r--sysutils/gnomefind/files/patch-aa11
-rw-r--r--sysutils/gnomefind/files/patch-ab11
-rw-r--r--sysutils/gnomefind/files/patch-ac20
-rw-r--r--sysutils/gnomefind/files/patch-ae11
-rw-r--r--sysutils/gnomefind/pkg-comment1
-rw-r--r--sysutils/gnomefind/pkg-descr22
-rw-r--r--sysutils/gnomefind/pkg-plist9
9 files changed, 118 insertions, 0 deletions
diff --git a/sysutils/gnomefind/Makefile b/sysutils/gnomefind/Makefile
new file mode 100644
index 000000000000..6cd712730409
--- /dev/null
+++ b/sysutils/gnomefind/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: gnomefind
+# Date created: 26 May 2000
+# Whom: Maxim Sobolev
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnomefind
+PORTVERSION= 0.4
+CATEGORIES= sysutils gnome
+MASTER_SITES= http://download.sourceforge.net/gnome-find/
+DISTNAME= gnome-find-${PORTVERSION}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
+ glade.3:${PORTSDIR}/devel/libglade
+
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-lgnuregex -L${LOCALBASE}/lib"
+
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+
+MAN1= gnome-find.1
+
+.include <bsd.port.mk>
diff --git a/sysutils/gnomefind/distinfo b/sysutils/gnomefind/distinfo
new file mode 100644
index 000000000000..97e168c401c7
--- /dev/null
+++ b/sysutils/gnomefind/distinfo
@@ -0,0 +1 @@
+MD5 (gnome-find-0.4.tar.gz) = 620440befa7b20c323db1d83ae062273
diff --git a/sysutils/gnomefind/files/patch-aa b/sysutils/gnomefind/files/patch-aa
new file mode 100644
index 000000000000..2590255e4703
--- /dev/null
+++ b/sysutils/gnomefind/files/patch-aa
@@ -0,0 +1,11 @@
+--- src/defs.h 2000/05/26 09:38:10 1.1
++++ src/defs.h 2000/05/26 09:38:24
+@@ -42,7 +42,7 @@
+
+ #include <time.h>
+
+-#include <regex.h>
++#include <gnuregex.h>
+ #include "pred.h"
+ #include "win.h"
+
diff --git a/sysutils/gnomefind/files/patch-ab b/sysutils/gnomefind/files/patch-ab
new file mode 100644
index 000000000000..d8aac8eadceb
--- /dev/null
+++ b/sysutils/gnomefind/files/patch-ab
@@ -0,0 +1,11 @@
+--- src/pred.h 2000/05/26 09:43:28 1.1
++++ src/pred.h 2000/05/26 09:43:36
+@@ -30,7 +30,7 @@
+
+ #include <time.h>
+
+-#include <regex.h>
++#include <gnuregex.h>
+
+ #if __STDC__
+ # define P_(s) s
diff --git a/sysutils/gnomefind/files/patch-ac b/sysutils/gnomefind/files/patch-ac
new file mode 100644
index 000000000000..21bbb371e142
--- /dev/null
+++ b/sysutils/gnomefind/files/patch-ac
@@ -0,0 +1,20 @@
+--- src/fstype.c 2000/05/26 09:54:55 1.1
++++ src/fstype.c 2000/05/26 10:08:03
+@@ -318,7 +318,7 @@
+ char *p;
+
+ if (S_ISLNK (statp->st_mode))
+- p = dirname (relpath);
++ readlink(relpath, (p = malloc(MAXPATHLEN)), MAXPATHLEN);
+ else
+ p = relpath;
+
+@@ -332,7 +332,7 @@
+ else
+ {
+ #ifdef MFSNAMELEN /* NetBSD. */
+- type = xstrdup (fss.f_fstypename);
++ type = strdup (fss.f_fstypename);
+ #else
+ type = fstype_to_string (fss.f_type);
+ #endif
diff --git a/sysutils/gnomefind/files/patch-ae b/sysutils/gnomefind/files/patch-ae
new file mode 100644
index 000000000000..f32384c432ae
--- /dev/null
+++ b/sysutils/gnomefind/files/patch-ae
@@ -0,0 +1,11 @@
+--- src/parser.c.orig Tue Jun 6 13:37:39 2000
++++ src/parser.c Tue Jun 6 13:37:49 2000
+@@ -23,7 +23,7 @@
+ #include <stdio.h>
+ #include <pwd.h>
+ #include <grp.h>
+-#include <regex.h>
++#include <gnuregex.h>
+ #include "modechange.h"
+ #include "defs.h"
+ #include "modetype.h"
diff --git a/sysutils/gnomefind/pkg-comment b/sysutils/gnomefind/pkg-comment
new file mode 100644
index 000000000000..0de826604c0a
--- /dev/null
+++ b/sysutils/gnomefind/pkg-comment
@@ -0,0 +1 @@
+Graphical version of the GNU "find" utility
diff --git a/sysutils/gnomefind/pkg-descr b/sysutils/gnomefind/pkg-descr
new file mode 100644
index 000000000000..d86cbd2f8b1f
--- /dev/null
+++ b/sysutils/gnomefind/pkg-descr
@@ -0,0 +1,22 @@
+gnome-find is an easy-to-use, but powerful, graphical version of the GNU "find"
+utility.
+
+It is not just a front-end which just forks and execs "find", nor is it a
+utility that reinvents the wheel by rewriting the "find" utility itself.
+
+The original source code to the GNU "find" utility (as found in findutils-4.1)
+was used, and a GUI component was integrated into it. Consequently, the actual
+file finding backend component is based on the very stable and mature code in
+GNU "find", while the GUI component provides a modern, easy-to-use, yet
+powerful, interface.
+
+By making it a truely graphical program, it avoids the common portability
+problems typically encountered by front-ends when they run on systems without
+GNU "find", as well as avoiding messy issues with forking a new process and
+communicating with it (e.g., pipes, temporary files, etc.).
+
+gnome-find features a default, no-nonsense dialog for use in most commonly
+specified searches. Additionally, a second, more detailed and advanced dialog
+is available to specify more powerful search parameters.
+
+WWW: http://gnome-find.sourceforge.net/
diff --git a/sysutils/gnomefind/pkg-plist b/sysutils/gnomefind/pkg-plist
new file mode 100644
index 000000000000..f451b342a675
--- /dev/null
+++ b/sysutils/gnomefind/pkg-plist
@@ -0,0 +1,9 @@
+bin/gnome-find
+share/gnome-find/gnome-find.glade
+share/gnome-find/gnome-find.spec
+share/gnome-find/gnome-find.xpm
+share/gnome-find/multiple.xpm
+share/gnome/apps/Utilities/gnome-find.desktop
+share/locale/es/LC_MESSAGES/gnome-find.mo
+share/locale/ru/LC_MESSAGES/gnome-find.mo
+@dirrm share/gnome-find