diff options
author | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-01-23 18:42:38 +0000 |
---|---|---|
committer | Lucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de> | 2017-01-23 18:44:23 +0000 |
commit | a04c8b80d32557fcd8827d4747ea6766e898b787 (patch) | |
tree | 1c983c71c9b2642ced9093e373d0c2cbaaf84b05 /vars | |
parent | 58db1f5e8d4892364530ddd94305720fe3a58c5a (diff) | |
download | midipix_build-a04c8b80d32557fcd8827d4747ea6766e898b787.tar.bz2 midipix_build-a04c8b80d32557fcd8827d4747ea6766e898b787.tar.xz |
vars/git.vars: fix manpage filename generation (via Redfoxmoon.)
subr/build.subr: ensure ${PREFIX_NATIVE}/man is a symlink to ${...}/share/man.
Followup to <b5933a508096cb77de8e1fedab23c97aec9d4626>.
Diffstat (limited to 'vars')
-rw-r--r-- | vars/git.vars | 13 |
1 files changed, 13 insertions, 0 deletions
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 |