aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/bsdgrep/Makefile
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2008-07-30 03:57:12 +0800
committergabor <gabor@FreeBSD.org>2008-07-30 03:57:12 +0800
commit78cf5646473eebd8a95e78cbe9c19e0affdddf42 (patch)
tree20e925cbc8619cb717d5df7faad07ae3dc4a3f74 /textproc/bsdgrep/Makefile
parent0befbede256b27b503de919e97c868d2e08842c6 (diff)
downloadfreebsd-ports-gnome-78cf5646473eebd8a95e78cbe9c19e0affdddf42.tar.gz
freebsd-ports-gnome-78cf5646473eebd8a95e78cbe9c19e0affdddf42.tar.zst
freebsd-ports-gnome-78cf5646473eebd8a95e78cbe9c19e0affdddf42.zip
- 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)
Diffstat (limited to 'textproc/bsdgrep/Makefile')
-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