From a04c8b80d32557fcd8827d4747ea6766e898b787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Mon, 23 Jan 2017 18:42:38 +0000 Subject: vars/git.vars: fix manpage filename generation (via Redfoxmoon.) subr/build.subr: ensure ${PREFIX_NATIVE}/man is a symlink to ${...}/share/man. Followup to . --- vars/git.vars | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vars/git.vars (limited to 'vars') diff --git a/vars/git.vars b/vars/git.vars new file mode 100644 index 00000000..3948b910 --- /dev/null +++ b/vars/git.vars @@ -0,0 +1,13 @@ +# +# . ./build.vars and set -o errexit -o noglob are assumed. +# + +pkg_git_install_post() { + for __ in $(find ${PKG_PREFIX}/share/man -name Git*::* -type f); do + __new="$(echo ${__} | sed "s/::/./g")"; + echo mv -f ${__} ${__new}; + mv -f ${__} ${__new}; + done; +}; + +# vim:filetype=sh -- cgit v1.2.3