aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2007-06-20 05:20:04 +0800
committergabor <gabor@FreeBSD.org>2007-06-20 05:20:04 +0800
commit0156d76ad912a767cddcb208f10a2871c180280a (patch)
treefa78bd3cdb2d5a5e61f26fad213402c477f2404b
parent62f778bf8671185529e2fde1f06e9dea00f0129c (diff)
downloadfreebsd-ports-gnome-0156d76ad912a767cddcb208f10a2871c180280a.tar.gz
freebsd-ports-gnome-0156d76ad912a767cddcb208f10a2871c180280a.tar.zst
freebsd-ports-gnome-0156d76ad912a767cddcb208f10a2871c180280a.zip
This is the BSD-licensed version of the well-known grep utility, obtained from
OpenBSD. It lacks some features of GNU grep. It is a proposed project idea to replace the GNU grep with this one, but it needs to be completed first. Patches are highly appreciated. WWW: http://www.freebsd.org/projects/ideas/#p-bsdtexttools Obtained from: OpenBSD
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/bsdgrep/Makefile30
-rw-r--r--textproc/bsdgrep/distinfo3
-rw-r--r--textproc/bsdgrep/pkg-descr6
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 96836605a055..da028fc69631 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -36,6 +36,7 @@
SUBDIR += br-aspell
SUBDIR += british-ispell
SUBDIR += bsddiff
+ SUBDIR += bsdgrep
SUBDIR += btparse
SUBDIR += c2html
SUBDIR += ca-aspell
diff --git a/textproc/bsdgrep/Makefile b/textproc/bsdgrep/Makefile
new file mode 100644
index 000000000000..777ba054010e
--- /dev/null
+++ b/textproc/bsdgrep/Makefile
@@ -0,0 +1,30 @@
+# New ports collection makefile for: bsd-grep
+# Date created: 12 Juni 2007
+# Whom: Gabor Kovesdan <gabor@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= grep
+PORTVERSION= 20070612
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= gabor
+PKGNAMEPREFIX= bsd-
+
+MAINTAINER= gabor@FreeBSD.org
+COMMENT= BSD-licensed version of grep from OpenBSD
+
+MAN1= grep.1
+MLINKS= grep.1 egrep.1 \
+ grep.1 fgrep.1 \
+ grep.1 zgrep.1 \
+ grep.1 zegrep.1 \
+ grep.1 zfgrep.1
+PLIST_FILES= bin/grep bin/egrep bin/fgrep bin/zgrep bin/zegrep bin/zfgrep
+
+MAKE_ENV+= BINDIR="${PREFIX}/bin" \
+ MANDIR="${MANPREFIX}/man/man" \
+ CATDIR="${MANPREFIX}/man/man"
+
+.include <bsd.port.mk>
diff --git a/textproc/bsdgrep/distinfo b/textproc/bsdgrep/distinfo
new file mode 100644
index 000000000000..e636d46c8706
--- /dev/null
+++ b/textproc/bsdgrep/distinfo
@@ -0,0 +1,3 @@
+MD5 (grep-20070612.tar.gz) = 53f1c2ccc3e229311f06402b9eeb1228
+SHA256 (grep-20070612.tar.gz) = 403ce6f6461e83471d8f0f89ff6e748cc2f9a8e1c34e14e3fe0593b8620ffb24
+SIZE (grep-20070612.tar.gz) = 14113
diff --git a/textproc/bsdgrep/pkg-descr b/textproc/bsdgrep/pkg-descr
new file mode 100644
index 000000000000..5bcfcac441db
--- /dev/null
+++ b/textproc/bsdgrep/pkg-descr
@@ -0,0 +1,6 @@
+This is the BSD-licensed version of the well-known grep utility, obtained from
+OpenBSD. It lacks some features of GNU grep. It is a proposed project idea
+to replace the GNU grep with this one, but it needs to be completed first.
+Patches are highly appreciated.
+
+WWW: http://www.freebsd.org/projects/ideas/#p-bsdtexttools