update to 2.8; mostly from gsoares@

ok sthen@, gsoares@
This commit is contained in:
naddy 2011-05-31 19:36:36 +00:00
parent 03fb5bd137
commit b54c819e8e
4 changed files with 49 additions and 34 deletions

View File

@ -1,37 +1,32 @@
# $OpenBSD: Makefile,v 1.10 2010/11/20 17:22:41 espie Exp $
# $OpenBSD: Makefile,v 1.11 2011/05/31 19:36:36 naddy Exp $
COMMENT= GNU versions of grep pattern matching utilities
DISTNAME= grep-2.5.1
DISTNAME= grep-2.8
PKGNAME= g${DISTNAME}
REVISION = 1
CATEGORIES= sysutils
HOMEPAGE= http://www.gnu.org/software/grep/grep.html
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c pcre
MASTER_SITES= ${MASTER_SITE_GNU:=grep/}
WANTLIB= c pcre
MODULES= devel/gettext
LIB_DEPENDS= devel/pcre
BUILD_DEPENDS= devel/gperf
SEPARATE_BUILD= simple
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --program-prefix=g
CONFIGURE_ARGS= --program-prefix=g \
--disable-silent-rules
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
CONFIGURE_ENV+= ac_cv_func_mbrtowc=no
post-build:
@perl -i -pe 's/\bgrep\b/ggrep/g' ${WRKBUILD}/src/[ef]grep
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/build-aux
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (grep-2.5.1.tar.gz) = hd8CTtyflokDX2s94ox3MQ==
RMD160 (grep-2.5.1.tar.gz) = ltH9oil6A6EcfS/OoW7//1XSy9A=
SHA1 (grep-2.5.1.tar.gz) = g0x/ObNduvfJB0wUqHZdajpYvzA=
SHA256 (grep-2.5.1.tar.gz) = 0sBocBr66RS5oHB/KvbDc1Vse3YZExaa4Kevqf1bJEI=
SIZE (grep-2.5.1.tar.gz) = 683093
MD5 (grep-2.8.tar.gz) = yy38UCxa/HpKbl9s79aFDg==
RMD160 (grep-2.8.tar.gz) = DJu3J6BEWT46423C6n7LSkdKlnM=
SHA1 (grep-2.8.tar.gz) = CXv8urqAmFKNQcdf9NhThKEAbMg=
SHA256 (grep-2.8.tar.gz) = 2kjQ4gvOqsx9Bb/LzLNMPe4MUL1+gN5SIv1eMZgJryc=
SIZE (grep-2.8.tar.gz) = 1757034

View File

@ -1,11 +0,0 @@
$OpenBSD: patch-doc_grep_1,v 1.1 2003/12/23 23:21:12 naddy Exp $
--- doc/grep.1.orig 2003-12-23 16:37:10.000000000 +0100
+++ doc/grep.1 2003-12-23 16:37:37.000000000 +0100
@@ -191,6 +191,7 @@ Interpret
.I PATTERN
as a list of fixed strings, separated by newlines,
any of which is to be matched.
+.TP
.BR \-P ", " \-\^\-perl-regexp
Interpret
.I PATTERN

View File

@ -1,28 +1,59 @@
@comment $OpenBSD: PLIST,v 1.3 2004/09/15 18:39:32 espie Exp $
bin/gegrep
bin/gfgrep
bin/ggrep
@comment $OpenBSD: PLIST,v 1.4 2011/05/31 19:36:36 naddy Exp $
@bin bin/gegrep
@bin bin/gfgrep
@bin bin/ggrep
@info info/grep.info
@comment lib/charset.alias
@man man/man1/gegrep.1
@man man/man1/gfgrep.1
@man man/man1/ggrep.1
share/locale/af/
share/locale/af/LC_MESSAGES/
share/locale/af/LC_MESSAGES/grep.mo
share/locale/be/LC_MESSAGES/grep.mo
share/locale/bg/LC_MESSAGES/grep.mo
share/locale/ca/LC_MESSAGES/grep.mo
share/locale/cs/LC_MESSAGES/grep.mo
share/locale/da/LC_MESSAGES/grep.mo
share/locale/de/LC_MESSAGES/grep.mo
share/locale/el/LC_MESSAGES/grep.mo
share/locale/eo/LC_MESSAGES/grep.mo
share/locale/es/LC_MESSAGES/grep.mo
share/locale/et/LC_MESSAGES/grep.mo
share/locale/eu/LC_MESSAGES/grep.mo
share/locale/fi/LC_MESSAGES/grep.mo
share/locale/fr/LC_MESSAGES/grep.mo
share/locale/ga/LC_MESSAGES/grep.mo
share/locale/gl/LC_MESSAGES/grep.mo
share/locale/he/LC_MESSAGES/grep.mo
share/locale/hr/LC_MESSAGES/grep.mo
share/locale/hu/LC_MESSAGES/grep.mo
share/locale/id/LC_MESSAGES/grep.mo
share/locale/it/LC_MESSAGES/grep.mo
share/locale/ja/LC_MESSAGES/grep.mo
share/locale/ko/LC_MESSAGES/grep.mo
share/locale/ky/
share/locale/ky/LC_MESSAGES/
share/locale/ky/LC_MESSAGES/grep.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/grep.mo
share/locale/nb/LC_MESSAGES/grep.mo
share/locale/nl/LC_MESSAGES/grep.mo
share/locale/no/LC_MESSAGES/grep.mo
share/locale/pl/LC_MESSAGES/grep.mo
share/locale/pt/LC_MESSAGES/grep.mo
share/locale/pt_BR/LC_MESSAGES/grep.mo
share/locale/ro/LC_MESSAGES/grep.mo
share/locale/ru/LC_MESSAGES/grep.mo
share/locale/sk/LC_MESSAGES/grep.mo
share/locale/sl/LC_MESSAGES/grep.mo
share/locale/sr/LC_MESSAGES/grep.mo
share/locale/sv/LC_MESSAGES/grep.mo
share/locale/th/
share/locale/th/LC_MESSAGES/
share/locale/th/LC_MESSAGES/grep.mo
share/locale/tr/LC_MESSAGES/grep.mo
share/locale/uk/LC_MESSAGES/grep.mo
share/locale/vi/LC_MESSAGES/grep.mo
share/locale/zh_CN/LC_MESSAGES/grep.mo
share/locale/zh_TW/LC_MESSAGES/grep.mo