git: a9d5114ec3d5 - main - sysutils/parallel: Update to 20220622

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 29 Jun 2022 16:35:27 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a9d5114ec3d560f8bb44f76c53c7b01a6a9c641f

commit a9d5114ec3d560f8bb44f76c53c7b01a6a9c641f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-06-29 16:27:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-06-29 16:32:36 +0000

    sysutils/parallel: Update to 20220622
    
    Changes:        https://git.savannah.gnu.org/cgit/parallel.git/tree/NEWS
---
 sysutils/parallel/Makefile                |  2 +-
 sysutils/parallel/distinfo                |  6 +++---
 sysutils/parallel/files/patch-Makefile.in | 23 +++++++++++++++++++++++
 sysutils/parallel/pkg-plist               |  2 ++
 4 files changed, 29 insertions(+), 4 deletions(-)

diff --git a/sysutils/parallel/Makefile b/sysutils/parallel/Makefile
index c146b616920a..bbeb0f47c616 100644
--- a/sysutils/parallel/Makefile
+++ b/sysutils/parallel/Makefile
@@ -1,7 +1,7 @@
 # Created by: Chris Howey <howeyc@gmail.com>
 
 PORTNAME=	parallel
-PORTVERSION=	20220522
+PORTVERSION=	20220622
 CATEGORIES=	sysutils
 MASTER_SITES=	GNU
 
diff --git a/sysutils/parallel/distinfo b/sysutils/parallel/distinfo
index d83c471e934f..f05238bb0583 100644
--- a/sysutils/parallel/distinfo
+++ b/sysutils/parallel/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1653925896
-SHA256 (parallel-20220522.tar.bz2) = bb6395f8d964e68f3bdb26a764d3c48b69bc5b759a92ac3ab2bd1895c7fa8c1f
-SIZE (parallel-20220522.tar.bz2) = 2372671
+TIMESTAMP = 1656092900
+SHA256 (parallel-20220622.tar.bz2) = a4bd15a8f53b20fd19b0b41b26206527c07a1dda28a7891d5253d856fe5fd5a0
+SIZE (parallel-20220622.tar.bz2) = 2378286
diff --git a/sysutils/parallel/files/patch-Makefile.in b/sysutils/parallel/files/patch-Makefile.in
new file mode 100644
index 000000000000..8bb30ecced21
--- /dev/null
+++ b/sysutils/parallel/files/patch-Makefile.in
@@ -0,0 +1,23 @@
+--- Makefile.in.orig	2022-06-22 06:12:32 UTC
++++ Makefile.in
+@@ -929,13 +929,13 @@ pack_unpack_and_test_build:
+ 	cd parallel-$(YYYYMMDD) && \
+ 	./configure && make -j && sudo make -j install
+ install-data-hook:
+-	mkdir -p ${datarootdir}/bash-completion/completions
+-	mkdir -p ${zshcompletiondir}
+-	parallel --shell-completion bash > ${datarootdir}/bash-completion/completions/parallel
+-	echo '#compdef parallel' > ${zshcompletion}
+-	echo '(( $$+functions[_comp_parallel] )) ||' >> ${zshcompletion}
+-	echo '  eval "$$(parallel --shell-completion auto)" &&' >> ${zshcompletion}
+-	echo '  _comp_parallel' >> ${zshcompletion}
++	mkdir -p $(DESTDIR)${datarootdir}/bash-completion/completions
++	mkdir -p $(DESTDIR)${zshcompletiondir}
++	src/parallel --shell-completion bash > $(DESTDIR)${datarootdir}/bash-completion/completions/parallel
++	echo '#compdef parallel' > $(DESTDIR)${zshcompletion}
++	echo '(( $$+functions[_comp_parallel] )) ||' >> $(DESTDIR)${zshcompletion}
++	echo '  eval "$$(src/parallel --shell-completion auto)" &&' >> $(DESTDIR)${zshcompletion}
++	echo '  _comp_parallel' >> $(DESTDIR)${zshcompletion}
+ 
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/sysutils/parallel/pkg-plist b/sysutils/parallel/pkg-plist
index 8302bb7d28f9..908332b5c13f 100644
--- a/sysutils/parallel/pkg-plist
+++ b/sysutils/parallel/pkg-plist
@@ -29,6 +29,7 @@ man/man7/parallel_alternatives.7.gz
 man/man7/parallel_book.7.gz
 man/man7/parallel_design.7.gz
 man/man7/parallel_tutorial.7.gz
+share/bash-completion/completions/parallel
 %%PORTDOCS%%%%DOCSDIR%%/env_parallel.html
 %%PORTDOCS%%%%DOCSDIR%%/env_parallel.pdf
 %%PORTDOCS%%%%DOCSDIR%%/env_parallel.rst
@@ -79,3 +80,4 @@ man/man7/parallel_tutorial.7.gz
 %%PORTDOCS%%%%DOCSDIR%%/sql.pdf
 %%PORTDOCS%%%%DOCSDIR%%/sql.rst
 %%PORTDOCS%%%%DOCSDIR%%/sql.texi
+share/zsh/site-functions/_parallel