Ticket #27434: macports-gnubin-manpages.diff

File macports-gnubin-manpages.diff, 6.5 KB (added by afb@…, 13 years ago)

adds gnubin/man/man1

  • sysutils/coreutils/Portfile

     
    5858    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
    5959        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
    6060    }
     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    }
    6165}
    6266
    6367# Set the RUN_EXPENSIVE_TESTS environmental variable to 'yes' to run more
  • sysutils/diffutils/Portfile

     
    4242    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
    4343        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
    4444    }
     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    }
    4549}
    4650
    4751test.run        yes
  • sysutils/findutils/Portfile

     
    4646    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
    4747        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
    4848    }
     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    }
    4953}
  • devel/m4/Portfile

     
    4343    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
    4444        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
    4545    }
     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    }
    4650}
    4751
    4852test.run        yes
  • textproc/gsed/Portfile

     
    5252    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
    5353        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
    5454    }
     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    }
    5559}
    5660
    5761test.run        yes
  • lang/gawk/Portfile

     
    3434
    3535post-destroot {
    3636    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    }
    3746}
  • archivers/gnutar/Portfile

     
    2424platforms           darwin
    2525
    2626depends_lib         port:gettext port:libiconv
     27depends_build       port:help2man
    2728
    2829configure.env-append FORCE_UNSAFE_CONFIGURE=1
    2930configure.args      --program-prefix=gnu \
     
    4344
    4445    xinstall -m 755 -d ${destroot}${prefix}/libexec/gnubin
    4546    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"
    4649}
    4750
    4851livecheck.type  regex
  • net/gnetcat/Portfile

     
    6868    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
    6969        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
    7070    }
     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    }
    7175
    7276    # create and copy the port docs
    7377    xinstall -d ${destroot}${docdir}
  • sysutils/gwhich/Portfile

     
    3434    foreach binary [glob -tails -directory ${destroot}${prefix}/bin g*] {
    3535        ln -s ${prefix}/bin/${binary} ${destroot}${prefix}/libexec/gnubin/[string range $binary 1 end]
    3636    }
     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    }
    3741}
    3842
    3943test.run        yes