summaryrefslogtreecommitdiffhomepage
path: root/vars
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-23 18:42:38 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <l.illanes@gmx.de>2017-01-23 18:44:23 +0000
commita04c8b80d32557fcd8827d4747ea6766e898b787 (patch)
tree1c983c71c9b2642ced9093e373d0c2cbaaf84b05 /vars
parent58db1f5e8d4892364530ddd94305720fe3a58c5a (diff)
downloadmidipix_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.vars13
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