summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbouyer <bouyer>1999-12-10 17:32:59 +0000
committerbouyer <bouyer>1999-12-10 17:32:59 +0000
commit6e26782a24e3d5b7d33c287fa416575931e4b057 (patch)
tree38975f8e5f7c5825a217f143b2e1c103a9e9c763
parentc37392184380670b50a2dc5013d420442d2c3a6c (diff)
downloadpkgsrc-6e26782a24e3d5b7d33c287fa416575931e4b057.tar.gz
A package for the findutils GNU utilities.
-rw-r--r--sysutils/findutils/Makefile15
-rw-r--r--sysutils/findutils/files/md53
-rw-r--r--sysutils/findutils/files/patch-sum4
-rw-r--r--sysutils/findutils/patches/patch-aa34
-rw-r--r--sysutils/findutils/patches/patch-ab20
-rw-r--r--sysutils/findutils/pkg/COMMENT1
-rw-r--r--sysutils/findutils/pkg/DESCR1
-rw-r--r--sysutils/findutils/pkg/PLIST21
8 files changed, 99 insertions, 0 deletions
diff --git a/sysutils/findutils/Makefile b/sysutils/findutils/Makefile
new file mode 100644
index 00000000000..78985763803
--- /dev/null
+++ b/sysutils/findutils/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/12/10 17:32:59 bouyer Exp $
+# FreeBSD Id: Makefile,v 1.13 1999/01/27 07:41:14 fenner Exp $
+
+DISTNAME= findutils-4.1
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GNU:=findutils/}
+
+MAINTAINER= bouyer@netbsd.org
+HOMEPAGE= http://www.gnu.org/software/findutils/findutils.html
+
+USE_GTEXINFO= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --program-prefix=g
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/findutils/files/md5 b/sysutils/findutils/files/md5
new file mode 100644
index 00000000000..2b3774b01f7
--- /dev/null
+++ b/sysutils/findutils/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/12/10 17:32:59 bouyer Exp $
+
+MD5 (findutils-4.1.tar.gz) = 3ea8fe58ef5386da75f6c707713aa059
diff --git a/sysutils/findutils/files/patch-sum b/sysutils/findutils/files/patch-sum
new file mode 100644
index 00000000000..a95e5c30d41
--- /dev/null
+++ b/sysutils/findutils/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/12/10 17:32:59 bouyer Exp $
+
+MD5 (patch-aa) = faf48470ef2e14ef26092a0b66d58108
+MD5 (patch-ab) = 62cef51bc536ea2c5ea871c64191353b
diff --git a/sysutils/findutils/patches/patch-aa b/sysutils/findutils/patches/patch-aa
new file mode 100644
index 00000000000..6bf66d5948c
--- /dev/null
+++ b/sysutils/findutils/patches/patch-aa
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/12/10 17:32:59 bouyer Exp $
+
+--- locate/Makefile.in.orig Sat Nov 5 06:44:08 1994
++++ locate/Makefile.in Fri Dec 10 07:35:53 1999
+@@ -29,7 +29,7 @@
+ datadir = $(prefix)/share
+ sysconfdir = $(prefix)/etc
+ sharedstatedir = $(prefix)/com
+-localstatedir = $(prefix)/var
++localstatedir = /var/run
+ libdir = $(exec_prefix)/lib
+ infodir = $(prefix)/info
+ mandir = $(prefix)/man
+@@ -38,6 +38,7 @@
+
+ INSTALL = @INSTALL@
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+ INSTALL_DATA = @INSTALL_DATA@
+ transform = @program_transform_name@
+
+@@ -96,8 +97,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) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
+ done
+
+ uninstall:: uninstall-programs
diff --git a/sysutils/findutils/patches/patch-ab b/sysutils/findutils/patches/patch-ab
new file mode 100644
index 00000000000..cafae650214
--- /dev/null
+++ b/sysutils/findutils/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/12/10 17:32:59 bouyer Exp $
+
+--- configure.old Fri Dec 10 07:32:53 1999
++++ configure Fri Dec 10 07:32:57 1999
+@@ -633,6 +633,7 @@
+ # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
+ # It thinks the first close brace ends the variable substitution.
+ test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
+
+ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+
+@@ -2601,6 +2602,7 @@
+ s%@CC@%$CC%g
+ s%@CPP@%$CPP%g
+ s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
++s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
+ s%@INSTALL_DATA@%$INSTALL_DATA%g
+ s%@RANLIB@%$RANLIB%g
+ s%@SET_MAKE@%$SET_MAKE%g
diff --git a/sysutils/findutils/pkg/COMMENT b/sysutils/findutils/pkg/COMMENT
new file mode 100644
index 00000000000..a0f982dcd99
--- /dev/null
+++ b/sysutils/findutils/pkg/COMMENT
@@ -0,0 +1 @@
+The GNU find, xargs and locate utilities.
diff --git a/sysutils/findutils/pkg/DESCR b/sysutils/findutils/pkg/DESCR
new file mode 100644
index 00000000000..a0f982dcd99
--- /dev/null
+++ b/sysutils/findutils/pkg/DESCR
@@ -0,0 +1 @@
+The GNU find, xargs and locate utilities.
diff --git a/sysutils/findutils/pkg/PLIST b/sysutils/findutils/pkg/PLIST
new file mode 100644
index 00000000000..b5914463003
--- /dev/null
+++ b/sysutils/findutils/pkg/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/10 17:32:59 bouyer Exp $
+bin/gfind
+bin/gxargs
+bin/glocate
+bin/gupdatedb
+libexec/gfrcode
+libexec/gcode
+libexec/gbigram
+info/find.info
+info/find.info-1
+info/find.info-2
+man/cat1/gfind.1
+man/cat1/gxargs.1
+man/cat1/glocate.1
+man/cat1/gupdatedb.1
+man/cat5/glocatedb.5
+man/man1/gfind.1
+man/man1/gxargs.1
+man/man1/glocate.1
+man/man1/gupdatedb.1
+man/man5/glocatedb.5