1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

- Update to 20080624

Changes:
	- Improved GNU compatibility, e.g. all the returned status codes
	  should be compatible now
	- Added NLS support via catgets()
	- Change the way of handling gzip/bzip2 files to get rid of some
	  limitations, like detecting of binary bzip2 files
	- Cleanups in the code
This commit is contained in:
Gabor Kovesdan 2008-06-24 21:21:52 +00:00
parent fdd06f4488
commit 8335e164e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215735
3 changed files with 20 additions and 6 deletions

View File

@ -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>

View File

@ -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

View File

@ -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