aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gnomefind
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-06 20:52:06 +0800
committersobomax <sobomax@FreeBSD.org>2000-06-06 20:52:06 +0800
commit64c01a3b3a34e121bc2bb8ffd34a4bd3a379ea5a (patch)
tree6a1b4d6518a930830435b45d3ece7ab9808f1512 /sysutils/gnomefind
parentd47f70bff06818ffa7746ac3739fcd0532e2f8c8 (diff)
downloadfreebsd-ports-gnome-64c01a3b3a34e121bc2bb8ffd34a4bd3a379ea5a.tar.gz
freebsd-ports-gnome-64c01a3b3a34e121bc2bb8ffd34a4bd3a379ea5a.tar.zst
freebsd-ports-gnome-64c01a3b3a34e121bc2bb8ffd34a4bd3a379ea5a.zip
Initial import of gnomefind - a Gnome'fied version of GNU find utility (not a
frontend).
Diffstat (limited to 'sysutils/gnomefind')
-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