aboutsummaryrefslogtreecommitdiff
path: root/textproc/gnugrep
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2023-03-08 14:28:04 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2023-03-08 14:28:04 +0000
commitcf64aa2940678ec14efb53f981b3e4bdfd25dd61 (patch)
treefb79468006fad6f8532889c8d069719d6fc0fb1d /textproc/gnugrep
parent3bee47ad6ebb9c6ac1476f5acbdcf6ee594c59bc (diff)
downloadports-cf64aa2940678ec14efb53f981b3e4bdfd25dd61.tar.gz
ports-cf64aa2940678ec14efb53f981b3e4bdfd25dd61.zip
Diffstat (limited to 'textproc/gnugrep')
-rw-r--r--textproc/gnugrep/Makefile9
-rw-r--r--textproc/gnugrep/distinfo6
-rw-r--r--textproc/gnugrep/pkg-plist6
3 files changed, 11 insertions, 10 deletions
diff --git a/textproc/gnugrep/Makefile b/textproc/gnugrep/Makefile
index 2a4bfddf0088..3edc4db9c139 100644
--- a/textproc/gnugrep/Makefile
+++ b/textproc/gnugrep/Makefile
@@ -1,5 +1,5 @@
PORTNAME= grep
-PORTVERSION= 3.8
+PORTVERSION= 3.9
CATEGORIES= textproc
MASTER_SITES= GNU
PKGNAMEPREFIX= gnu
@@ -20,8 +20,9 @@ TEST_TARGET= check
INFO= grep
CPE_VENDOR= gnu
-OPTIONS_DEFINE= ICONV LIBSIGSEGV NLS PCRE
-OPTIONS_DEFAULT= ICONV PCRE
+OPTIONS_DEFINE= COMPAT ICONV LIBSIGSEGV NLS PCRE
+OPTIONS_DEFAULT= COMPAT ICONV PCRE
+COMPAT_DESC= Create g-prefixless compatibility symlinks
LIBSIGSEGV_DESC= Use alternative page fault handler (GNU libsigsegv)
OPTIONS_SUB= yes
@@ -51,7 +52,7 @@ post-patch-NLS-off:
@${REINPLACE_CMD} '/install-exec-local:/s/install-exec-localcharset//' \
${WRKSRC}/lib/Makefile.in
-post-install:
+post-install-COMPAT-on:
.for p in grep egrep fgrep
${LN} -sf g${p} ${STAGEDIR}${PREFIX}/bin/${p}
.endfor
diff --git a/textproc/gnugrep/distinfo b/textproc/gnugrep/distinfo
index 0fbaa75b3323..f28ad237e775 100644
--- a/textproc/gnugrep/distinfo
+++ b/textproc/gnugrep/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662189808
-SHA256 (grep-3.8.tar.xz) = 498d7cc1b4fb081904d87343febb73475cf771e424fb7e6141aff66013abc382
-SIZE (grep-3.8.tar.xz) = 1709536
+TIMESTAMP = 1678030457
+SHA256 (grep-3.9.tar.xz) = abcd11409ee23d4caf35feb422e53bbac867014cfeed313bb5f488aca170b599
+SIZE (grep-3.9.tar.xz) = 1680380
diff --git a/textproc/gnugrep/pkg-plist b/textproc/gnugrep/pkg-plist
index a52a7740695d..1e2023dbc18a 100644
--- a/textproc/gnugrep/pkg-plist
+++ b/textproc/gnugrep/pkg-plist
@@ -1,9 +1,9 @@
-bin/egrep
-bin/fgrep
+%%COMPAT%%bin/egrep
+%%COMPAT%%bin/fgrep
bin/gegrep
bin/gfgrep
bin/ggrep
-bin/grep
+%%COMPAT%%bin/grep
man/man1/ggrep.1.gz
%%NLS%%share/locale/af/LC_MESSAGES/grep.mo
%%NLS%%share/locale/be/LC_MESSAGES/grep.mo