Ticket #27434: macports-gnubin-manpages.diff
File macports-gnubin-manpages.diff, 6.5 KB (added by afb@…, 14 years ago) |
---|
-
sysutils/coreutils/Portfile
58 58 foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 59 59 ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 60 60 } 61 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 62 foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { 63 ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz 64 } 61 65 } 62 66 63 67 # Set the RUN_EXPENSIVE_TESTS environmental variable to 'yes' to run more -
sysutils/diffutils/Portfile
42 42 foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 43 43 ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 44 44 } 45 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 46 foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { 47 ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz 48 } 45 49 } 46 50 47 51 test.run yes -
sysutils/findutils/Portfile
46 46 foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 47 47 ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 48 48 } 49 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 50 foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { 51 ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz 52 } 49 53 } -
devel/m4/Portfile
43 43 foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 44 44 ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 45 45 } 46 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 47 foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { 48 ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz 49 } 46 50 } 47 51 48 52 test.run yes -
textproc/gsed/Portfile
52 52 foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 53 53 ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 54 54 } 55 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 56 foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { 57 ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz 58 } 55 59 } 56 60 57 61 test.run yes -
lang/gawk/Portfile
34 34 35 35 post-destroot { 36 36 delete ${destroot}${prefix}/bin/awk 37 38 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin 39 foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 40 ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 41 } 42 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 43 foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { 44 ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz 45 } 37 46 } -
archivers/gnutar/Portfile
24 24 platforms darwin 25 25 26 26 depends_lib port:gettext port:libiconv 27 depends_build port:help2man 27 28 28 29 configure.env-append FORCE_UNSAFE_CONFIGURE=1 29 30 configure.args --program-prefix=gnu \ … … 43 44 44 45 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin 45 46 ln -sf ${prefix}/bin/gnutar ${destroot}${prefix}/libexec/gnubin/tar 47 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 48 system "help2man ${worksrcpath}/src/tar | gzip -9 > ${destroot}${prefix}/libexec/gnubin/man/man1/tar.1.gz" 46 49 } 47 50 48 51 livecheck.type regex -
net/gnetcat/Portfile
68 68 foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 69 69 ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 70 70 } 71 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 72 foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { 73 ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz 74 } 71 75 72 76 # create and copy the port docs 73 77 xinstall -d ${destroot}${docdir} -
sysutils/gwhich/Portfile
34 34 foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] { 35 35 ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end] 36 36 } 37 xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin/man/man1 38 foreach manpage [glob -tails -directory ${destroot}${prefix}/share/man/man1 g*] { 39 ln -s ${prefix}/share/man/man1/${manpage}.gz ${destroot}${prefix}/libexec/gnubin/man/man1/[string range $manpage 1 end].gz 40 } 37 41 } 38 42 39 43 test.run yes