devel/git: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2018-09-28 14:02:11 +02:00
parent 4908e84436
commit deaa05a46e
3 changed files with 6 additions and 3 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= git
DISTVERSION= 2.19.0
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= KERNEL_ORG/software/scm/git
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
@ -232,13 +233,13 @@ post-install-CONTRIB-on:
# will be useful
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
@${LN} -s ../../share/git-core/contrib/completion/git-completion.bash \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/git.sh
${STAGEDIR}${PREFIX}/etc/bash_completion.d/
post-install-CONTRIB-off:
# Install the contrib completions anyway
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_SCRIPT} ${WRKSRC}/contrib/completion/git-completion.bash \
${STAGEDIR}${PREFIX}/etc/bash_completion.d/git.sh
${STAGEDIR}${PREFIX}/etc/bash_completion.d/
post-install-P4-on:
${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${STAGEDIR}${PREFIX}/bin/

View file

@ -7,4 +7,6 @@ Also, if git's color output is broken (eg. color codes visible instead of
applied) please consult the core.pager option in the git-config(1) manual, and
your preferred pager's manual for color output options.
bash completion script was renamed to git-completion.bash to keep original name
-------------------------------------------------------------------------------

View file

@ -6,7 +6,7 @@ bin/git-shell
bin/git-upload-archive
bin/git-upload-pack
%%GUI%%bin/gitk
etc/bash_completion.d/git.sh
etc/bash_completion.d/git-completion.bash
%%PERL%%%%SITE_PERL%%/FromCPAN/Error.pm
%%PERL%%%%SITE_PERL%%/FromCPAN/Mail/Address.pm
%%PERL%%%%SITE_PERL%%/Git.pm