summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2008-07-29 19:57:12 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2008-07-29 19:57:12 +0000
commit0703650edbc40fdefaf282c054cce2932f732375 (patch)
tree9bbbb687b994c8e24d92f7ada6d02fa76197c7d9
parentUpdate to version 2.2.7 (diff)
- Make clean before building to clean up the .o files that the distfile
contains, because I forgot to make clean before tarballing this release. For the next update it will be rolled in a clean way. - Bump PORTREVISION Reported by: pointyhat (via erwin)
Notes
Notes: svn path=/head/; revision=217826
-rw-r--r--textproc/bsdgrep/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/textproc/bsdgrep/Makefile b/textproc/bsdgrep/Makefile
index 966d393606ec..9580ba40e6b6 100644
--- a/textproc/bsdgrep/Makefile
+++ b/textproc/bsdgrep/Makefile
@@ -7,6 +7,7 @@
PORTNAME= grep
PORTVERSION= 20080725
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= gabor
@@ -40,6 +41,9 @@ PLIST_SUB+= NLS="@comment "
PLIST_SUB+= NLS=""
.endif
+post-extract:
+ @cd ${WRKSRC}; ${MAKE} clean
+
post-install:
${LN} -s ${PREFIX}/bin/grep ${PREFIX}/bin/bsdgrep
${LN} -s /usr/bin/grep ${PREFIX}/bin/gnugrep