summaryrefslogtreecommitdiffstats
path: root/misc/findutils
diff options
context:
space:
mode:
authorhoek <hoek@FreeBSD.org>2000-06-02 05:35:49 +0000
committerhoek <hoek@FreeBSD.org>2000-06-02 05:35:49 +0000
commitc096aabde722e19874e8461315ab20a2378df4f1 (patch)
treed9619cd0874e97dc402b64b0dddd9117fae9e420 /misc/findutils
parent271e649042bb41605a154d9529ca59d85d6a855e (diff)
downloadFreeBSD-ports-c096aabde722e19874e8461315ab20a2378df4f1.zip
FreeBSD-ports-c096aabde722e19874e8461315ab20a2378df4f1.tar.gz
Energize findutils!
Diffstat (limited to 'misc/findutils')
-rw-r--r--misc/findutils/Makefile35
-rw-r--r--misc/findutils/distinfo1
-rw-r--r--misc/findutils/files/patch-aa15
-rw-r--r--misc/findutils/pkg-comment1
-rw-r--r--misc/findutils/pkg-descr9
-rw-r--r--misc/findutils/pkg-plist12
6 files changed, 73 insertions, 0 deletions
diff --git a/misc/findutils/Makefile b/misc/findutils/Makefile
new file mode 100644
index 0000000..d28b4bc
--- /dev/null
+++ b/misc/findutils/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: findutils
+# Version required: 4.1
+# Date created: 29 March 2000
+# Whom: Robert Withrow <witr@rwwa.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= findutils
+PORTVERSION= 4.1
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= findutils
+
+MAINTAINER= ports@FreeBSD.org
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS= --program-prefix=g
+MAKE_ARGS= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
+
+USE_GMAKE= yes
+
+MAN1= gfind.1 gxargs.1 glocate.1 gupdatedb.1
+MAN5= glocatedb.5
+
+post-install:
+ install-info ${PREFIX}/info/find.info ${PREFIX}/info/dir
+ ${RM} -f ${PREFIX}/cat1/gfind.1
+ ${RM} -f ${PREFIX}/cat1/gxargs.1
+ ${RM} -f ${PREFIX}/cat1/glocate.1
+ ${RM} -f ${PREFIX}/cat1/gupdatedb.1
+ ${RM} -f ${PREFIX}/cat5/glocatedb.5
+
+.include <bsd.port.mk>
diff --git a/misc/findutils/distinfo b/misc/findutils/distinfo
new file mode 100644
index 0000000..6cb152a
--- /dev/null
+++ b/misc/findutils/distinfo
@@ -0,0 +1 @@
+MD5 (findutils-4.1.tar.gz) = 3ea8fe58ef5386da75f6c707713aa059
diff --git a/misc/findutils/files/patch-aa b/misc/findutils/files/patch-aa
new file mode 100644
index 0000000..38e8a58
--- /dev/null
+++ b/misc/findutils/files/patch-aa
@@ -0,0 +1,15 @@
+--- locate/Makefile.in.orig Sat Nov 5 09:44:08 1994
++++ locate/Makefile.in Wed Mar 29 19:49:11 2000
+@@ -96,8 +96,11 @@
+
+ install-programs: $(PROGRAMS) $(SCRIPTS)
+ $(top_srcdir)/mkinstalldirs $(bindir)
+- for p in $(PROGRAMS) $(SCRIPTS); do \
++ for p in $(PROGRAMS); do \
+ $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
++ done
++ for p in $(SCRIPTS); do \
++ $(INSTALL_SCRIPT) -m 555 $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ done
+
+ uninstall:: uninstall-programs
diff --git a/misc/findutils/pkg-comment b/misc/findutils/pkg-comment
new file mode 100644
index 0000000..b93e94a
--- /dev/null
+++ b/misc/findutils/pkg-comment
@@ -0,0 +1 @@
+The FSF's version of find(1), xargs(1), and locate(1)
diff --git a/misc/findutils/pkg-descr b/misc/findutils/pkg-descr
new file mode 100644
index 0000000..d259b39
--- /dev/null
+++ b/misc/findutils/pkg-descr
@@ -0,0 +1,9 @@
+The Free Software Foundation's "find" utilities, including "find",
+"locate", and "xargs".
+
+These utilities exist in the FreeBSD base collection, but the GNU
+versions have added functionality that is sometimes useful.
+
+Note that this port will install these utilities with a `g' prefix,
+eg., glocate, gfind, gxargs, but the texinfo documentation will refer to
+these utilities without the `g' prefix.
diff --git a/misc/findutils/pkg-plist b/misc/findutils/pkg-plist
new file mode 100644
index 0000000..242a8fa
--- /dev/null
+++ b/misc/findutils/pkg-plist
@@ -0,0 +1,12 @@
+bin/gfind
+bin/gxargs
+bin/glocate
+bin/gupdatedb
+libexec/gfrcode
+libexec/gcode
+libexec/gbigram
+@unexec install-info --delete %D/info/find.info %D/info/dir
+info/find.info
+info/find.info-1
+info/find.info-2
+@exec install-info %D/info/find.info %D/info/dir
OpenPOWER on IntegriCloud