From 5c7f2d30913f245164c2a3933fdccbc5b0af98d7 Mon Sep 17 00:00:00 2001 From: bouyer Date: Mon, 14 Oct 2002 16:43:14 +0000 Subject: Package for GNU grep 2.5. --- textproc/grep/DESCR | 5 +++++ textproc/grep/Makefile | 21 +++++++++++++++++++++ textproc/grep/PLIST | 33 +++++++++++++++++++++++++++++++++ textproc/grep/distinfo | 5 +++++ textproc/grep/patches/patch-aa | 18 ++++++++++++++++++ 5 files changed, 82 insertions(+) create mode 100644 textproc/grep/DESCR create mode 100644 textproc/grep/Makefile create mode 100644 textproc/grep/PLIST create mode 100644 textproc/grep/distinfo create mode 100644 textproc/grep/patches/patch-aa diff --git a/textproc/grep/DESCR b/textproc/grep/DESCR new file mode 100644 index 00000000000..c5dd1f74101 --- /dev/null +++ b/textproc/grep/DESCR @@ -0,0 +1,5 @@ +This package is GNU GREP. + +Grep searches the named input files (or standard input if no files are +named, or the file name - is given) for lines containing a match to +the given pattern. By default, grep prints the matching lines. diff --git a/textproc/grep/Makefile b/textproc/grep/Makefile new file mode 100644 index 00000000000..ac3d8ec1db2 --- /dev/null +++ b/textproc/grep/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/10/14 16:43:14 bouyer Exp $ +# FreeBSD Id: Makefile,v 1.10 1999/01/27 07:41:16 fenner Exp $ + +DISTNAME= grep-2.5 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GNU:=grep/} + +MAINTAINER= bouyer@netbsd.org +HOMEPAGE= http://www.gnu.org/software/grep/grep.html +COMMENT= GNU grep + +USE_BUILDLINK2= YES +BUILD_USES_MSGFMT= YES +TEXINFO_REQD= 4.0 + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --program-prefix=g + +.include "../../devel/gettext-lib/buildlink2.mk" +.include "../../mk/texinfo.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/grep/PLIST b/textproc/grep/PLIST new file mode 100644 index 00000000000..c5e18bd6b6c --- /dev/null +++ b/textproc/grep/PLIST @@ -0,0 +1,33 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/14 16:43:14 bouyer Exp $ +bin/ggrep +bin/gegrep +bin/gfgrep +man/man1/ggrep.1 +man/man1/gfgrep.1 +man/man1/gegrep.1 +@unexec ${INSTALL_INFO} --delete %D/info/grep.info %D/info/dir +info/grep.info +info/grep.info-1 +info/grep.info-2 +info/grep.info-3 +@exec ${INSTALL_INFO} %D/info/grep.info %D/info/dir +share/locale/cs/LC_MESSAGES/grep.mo +share/locale/de/LC_MESSAGES/grep.mo +share/locale/el/LC_MESSAGES/grep.mo +share/locale/eo/LC_MESSAGES/grep.mo +share/locale/es/LC_MESSAGES/grep.mo +share/locale/et/LC_MESSAGES/grep.mo +share/locale/fr/LC_MESSAGES/grep.mo +share/locale/gl/LC_MESSAGES/grep.mo +share/locale/hr/LC_MESSAGES/grep.mo +share/locale/id/LC_MESSAGES/grep.mo +share/locale/it/LC_MESSAGES/grep.mo +share/locale/ja/LC_MESSAGES/grep.mo +share/locale/ko/LC_MESSAGES/grep.mo +share/locale/nl/LC_MESSAGES/grep.mo +share/locale/no/LC_MESSAGES/grep.mo +share/locale/pl/LC_MESSAGES/grep.mo +share/locale/pt_BR/LC_MESSAGES/grep.mo +share/locale/ru/LC_MESSAGES/grep.mo +share/locale/sl/LC_MESSAGES/grep.mo +share/locale/sv/LC_MESSAGES/grep.mo diff --git a/textproc/grep/distinfo b/textproc/grep/distinfo new file mode 100644 index 00000000000..038c9fac892 --- /dev/null +++ b/textproc/grep/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/10/14 16:43:14 bouyer Exp $ + +SHA1 (grep-2.5.tar.gz) = 551a4d4708ce9280ccf3054edb048fadca089cc6 +Size (grep-2.5.tar.gz) = 683116 bytes +SHA1 (patch-aa) = 18f1398881d686840f257048eda431f9ded866be diff --git a/textproc/grep/patches/patch-aa b/textproc/grep/patches/patch-aa new file mode 100644 index 00000000000..a22545d1798 --- /dev/null +++ b/textproc/grep/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/10/14 16:43:14 bouyer Exp $ + +--- src/Makefile.in.orig Mon Oct 14 13:09:01 2002 ++++ src/Makefile.in Mon Oct 14 13:14:03 2002 +@@ -354,8 +354,11 @@ + + + install-exec-local: +- @SYMLINK@ @SYMLINKFROM@ $(bindir)/egrep +- @SYMLINK@ @SYMLINKFROM@ $(bindir)/fgrep ++ s=`echo @SYMLINKFROM@|sed '$(transform);s/$$/$(EXEEXT)/'`; \ ++ et=`echo egrep|sed '$(transform);s/$$/$(EXEEXT)/'`; \ ++ ft=`echo fgrep|sed '$(transform);s/$$/$(EXEEXT)/'`; \ ++ @SYMLINK@ $$s $(bindir)/$$et ; \ ++ @SYMLINK@ $$s $(bindir)/$$ft + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. + .NOEXPORT: -- cgit v1.2.3