Import of hgrep 09oct1999; submitted by Nick Nauwelaerts <nick@wanadoo.be>.

hgrep is a trivial, but cute, front-end for grep. It takes the results of
the grep search and highlights the word that was searched for.
This commit is contained in:
naddy 2002-03-11 22:20:43 +00:00
parent b6f0a7ee7e
commit bcba3dfe34
5 changed files with 59 additions and 0 deletions

32
textproc/hgrep/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/03/11 22:20:43 naddy Exp $
COMMENT= "grep wrapper with search highlighting"
DISTNAME= hgrep-19991004
CATEGORIES= textproc
NEED_VERSION= 1.504
HOMEPAGE= http://www.acme.com/software/hgrep/
MAINTAINER= Nick Nauwelaerts <nick@wanadoo.be>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
DISTFILES= hgrep_04oct1999.tar.gz
NO_REGRESS= Yes
MAKE_FLAGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS=""
WRKDIST= ${WRKDIR}/hgrep
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/hgrep ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/hgrep.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

3
textproc/hgrep/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (hgrep_04oct1999.tar.gz) = 7c57e964c0ccf1893790ca7fc482f3ec
RMD160 (hgrep_04oct1999.tar.gz) = 9439a5f3197962c385a9a37057e674461c57f352
SHA1 (hgrep_04oct1999.tar.gz) = 7dc67e9fb907658f81b8ded1ec0807b5e12c6a58

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-hgrep_1,v 1.1.1.1 2002/03/11 22:20:43 naddy Exp $
--- hgrep.1.orig Mon Mar 11 23:04:46 2002
+++ hgrep.1 Mon Mar 11 23:05:04 2002
@@ -9,13 +9,6 @@ is a trivial, but cute, front-end for
.I grep.
It takes the results of the grep and highlights the word that was
searched for.
-.PP
-Links called
-.I hegrep, hfgrep, hngrep,
-and
-.I hagrep
-are also installed, so you can get highlighting version of those
-greps too.
.SH "SEE ALSO"
grep(1)
.SH BUGS

4
textproc/hgrep/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
hgrep is a trivial, but cute, front-end for grep. It takes the results of
the grep search and highlights the word that was searched for.
WWW: ${HOMEPAGE}

3
textproc/hgrep/pkg/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/03/11 22:20:43 naddy Exp $
bin/hgrep
man/man1/hgrep.1