diff options
-rw-r--r-- | textproc/bsdgrep/Makefile | 18 | ||||
-rw-r--r-- | textproc/bsdgrep/distinfo | 6 | ||||
-rw-r--r-- | textproc/bsdgrep/pkg-plist | 2 |
3 files changed, 20 insertions, 6 deletions
diff --git a/textproc/bsdgrep/Makefile b/textproc/bsdgrep/Makefile index 2eb601e36fea..16c366da285f 100644 --- a/textproc/bsdgrep/Makefile +++ b/textproc/bsdgrep/Makefile @@ -6,7 +6,7 @@ # PORTNAME= grep -PORTVERSION= 20080615 +PORTVERSION= 20080624 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= gabor @@ -26,10 +26,22 @@ MLINKS= grep.1 egrep.1 \ MAKE_ENV+= BINDIR="${PREFIX}/bin" \ MANDIR="${MANPREFIX}/man/man" \ - CATDIR="${MANPREFIX}/man/man" + CATDIR="${MANPREFIX}/man/man" \ + NLSDIR="${PREFIX}/share/nls" + +OPTIONS= NLS "Compile in NLS support" on + +.include <bsd.port.pre.mk> + +.if defined(WITHOUT_NLS) +MAKE_ENV+= WITHOUT_NLS=yes +PLIST_SUB+= NLS="@comment " +.else +PLIST_SUB+= NLS="" +.endif post-install: ${LN} -s ${PREFIX}/bin/grep ${PREFIX}/bin/bsdgrep ${LN} -s /usr/bin/grep ${PREFIX}/bin/gnugrep -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/textproc/bsdgrep/distinfo b/textproc/bsdgrep/distinfo index 5e0558548585..7a78d4f97a81 100644 --- a/textproc/bsdgrep/distinfo +++ b/textproc/bsdgrep/distinfo @@ -1,3 +1,3 @@ -MD5 (grep-20080615.tar.gz) = d2746055191069a2159b6ecbdd860c4a -SHA256 (grep-20080615.tar.gz) = a6267c7a121cfe251df3d379a448dd515f09b5d4d78b4fa742d6c1207b6eb88f -SIZE (grep-20080615.tar.gz) = 16136 +MD5 (grep-20080624.tar.gz) = f81bd574465b30338baab160154d2dc4 +SHA256 (grep-20080624.tar.gz) = f489ae7f6b45259cd35f10606d3a7611905ea4637497d3a0493a4e4804bd7ea7 +SIZE (grep-20080624.tar.gz) = 17832 diff --git a/textproc/bsdgrep/pkg-plist b/textproc/bsdgrep/pkg-plist index 27d42a8ebf10..da3fd4e87736 100644 --- a/textproc/bsdgrep/pkg-plist +++ b/textproc/bsdgrep/pkg-plist @@ -8,3 +8,5 @@ bin/grep bin/zgrep bin/zegrep bin/zfgrep +%%NLS%%share/nls/hu_HU.ISO8859-2/grep.cat +%%NLS%%share/nls/pt_BR.ISO8859-1/grep.cat |