Package for GNU grep 2.5.

This commit is contained in:
bouyer 2002-10-14 16:43:14 +00:00
parent 760c3dae2e
commit fb90c42c04
5 changed files with 82 additions and 0 deletions

5
textproc/grep/DESCR Normal file
View file

@ -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.

21
textproc/grep/Makefile Normal file
View file

@ -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"

33
textproc/grep/PLIST Normal file
View file

@ -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

5
textproc/grep/distinfo Normal file
View file

@ -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

View file

@ -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: