1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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