aboutsummaryrefslogtreecommitdiff
path: root/textproc/bsdgrep
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2008-05-27 13:32:03 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2008-05-27 13:32:03 +0000
commit4729bbd7ed95d6be53404e699a49a9bf62096762 (patch)
tree6e88b827956c5bdda4cd1df890846ad1f1761ab7 /textproc/bsdgrep
parent56eba757e3e5d98ff0d6a0fcf0b927f536c8f322 (diff)
downloadports-4729bbd7ed95d6be53404e699a49a9bf62096762.tar.gz
ports-4729bbd7ed95d6be53404e699a49a9bf62096762.zip
Notes
Diffstat (limited to 'textproc/bsdgrep')
-rw-r--r--textproc/bsdgrep/Makefile7
-rw-r--r--textproc/bsdgrep/distinfo6
-rw-r--r--textproc/bsdgrep/pkg-plist10
3 files changed, 18 insertions, 5 deletions
diff --git a/textproc/bsdgrep/Makefile b/textproc/bsdgrep/Makefile
index 7dabe8c4aa97..9fa9b8dc23cc 100644
--- a/textproc/bsdgrep/Makefile
+++ b/textproc/bsdgrep/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= grep
-PORTVERSION= 20080422
+PORTVERSION= 20080526
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= gabor
@@ -23,10 +23,13 @@ MLINKS= grep.1 egrep.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"
+post-install:
+ ${LN} -s ${PREFIX}/bin/grep ${PREFIX}/bin/bsdgrep
+ ${LN} -s /usr/bin/grep ${PREFIX}/bin/gnugrep
+
.include <bsd.port.mk>
diff --git a/textproc/bsdgrep/distinfo b/textproc/bsdgrep/distinfo
index 03873531ab83..8e02a873b8da 100644
--- a/textproc/bsdgrep/distinfo
+++ b/textproc/bsdgrep/distinfo
@@ -1,3 +1,3 @@
-MD5 (grep-20080422.tar.gz) = 6d4d3ca011dde5fe4448db3e68e7de37
-SHA256 (grep-20080422.tar.gz) = b6458bb7dd1d13949682f2dfb84240c4f635433fc911ce6d4406343f9b5acf1a
-SIZE (grep-20080422.tar.gz) = 14820
+MD5 (grep-20080526.tar.gz) = be9bc527004df5ae8dde272aaf886a14
+SHA256 (grep-20080526.tar.gz) = 61d599d337f928c8452874cf285e9e569e131053419d6c7a1595ded08013409f
+SIZE (grep-20080526.tar.gz) = 15549
diff --git a/textproc/bsdgrep/pkg-plist b/textproc/bsdgrep/pkg-plist
new file mode 100644
index 000000000000..27d42a8ebf10
--- /dev/null
+++ b/textproc/bsdgrep/pkg-plist
@@ -0,0 +1,10 @@
+@exec /bin/ln -s %%PREFIX%%/bin/grep %%PREFIX%%/bin/bsdgrep
+@exec /bin/ln -s /usr/bin/grep %%PREFIX%%/bin/gnugrep
+bin/bsdgrep
+bin/egrep
+bin/fgrep
+bin/gnugrep
+bin/grep
+bin/zgrep
+bin/zegrep
+bin/zfgrep