diff options
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/findutils/Makefile | 35 | ||||
-rw-r--r-- | misc/findutils/distinfo | 1 | ||||
-rw-r--r-- | misc/findutils/files/patch-aa | 15 | ||||
-rw-r--r-- | misc/findutils/pkg-comment | 1 | ||||
-rw-r--r-- | misc/findutils/pkg-descr | 9 | ||||
-rw-r--r-- | misc/findutils/pkg-plist | 12 |
7 files changed, 74 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index 17fbee9d4764..1518caad3f95 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -45,6 +45,7 @@ SUBDIR += fd SUBDIR += fep SUBDIR += figlet + SUBDIR += findutils SUBDIR += fortuneit SUBDIR += freedialog SUBDIR += geekcode diff --git a/misc/findutils/Makefile b/misc/findutils/Makefile new file mode 100644 index 000000000000..d28b4bc06bdf --- /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 000000000000..6cb152a12ba6 --- /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 000000000000..38e8a58da3a0 --- /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 000000000000..b93e94a32662 --- /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 000000000000..d259b39f5b7f --- /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 000000000000..242a8faf425d --- /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 |