diff options
Diffstat (limited to 'subr/pkg_install_subdirs.subr')
-rw-r--r-- | subr/pkg_install_subdirs.subr | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/subr/pkg_install_subdirs.subr b/subr/pkg_install_subdirs.subr new file mode 100644 index 00000000..c63eda70 --- /dev/null +++ b/subr/pkg_install_subdirs.subr @@ -0,0 +1,17 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_install_subdirs() { + pkg_install_files "${PWD}/.." \ + /=destdir \ + /=destdir/bin \ + /=destdir/lib \ + /=destdir/sbin \ + /=destdir/share/man/man1 \ + /=destdir/share/man \ + @.=destdir/usr \ + @share/man=destdir/man; +}; + +# vim:filetype=sh |