Ticket #37801: nzbget-9.1.diff

File nzbget-9.1.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago)

untested patch

  • Portfile

     
    44PortSystem      1.0
    55
    66name            nzbget
    7 version         0.8.0
     7version         9.1
    88categories      net
    99license         GPL-2+
    1010maintainers     nomaintainer
     
    1818platforms       darwin
    1919master_sites    sourceforge:project/nzbget/nzbget-stable/${version}
    2020
    21 checksums       sha256  646939596097fafdeb0b4064b433463419e7d0d9af7fe32f6689d6b95ad77d95 \
    22                 rmd160  1ab8ff46c5c9c77db7f5eca463052254f8623400
     21checksums       rmd160  d2e8ac0844e3b2c2bd98d3b5280030b5db9081a6 \
     22                sha256  0cd20e1c78359c720862c19c5fd908dc10d6b54658441b86f9caaa71f66e5633
    2323
    2424depends_build   port:pkgconfig
    2525depends_lib     port:libsigcxx2 \
     
    3131
    3232configure.args  --with-tlslib=GnuTLS \
    3333                --with-libgnutls-includes=${prefix}/include/gnutls \
    34                 --with-libgnutls-libraries=${prefix}/lib \
    35                 --mandir=${prefix}/share/man
     34                --with-libgnutls-libraries=${prefix}/lib
    3635
     36set docdir      ${prefix}/share/doc/${subport}
     37
    3738post-destroot {
    38     set docdir ${prefix}/share/doc/${name}-${version}
    3939    xinstall -d ${destroot}${docdir}
    40     xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING INSTALL NEWS README \
     40    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING NEWS README \
    4141        nzbget.conf.example ${destroot}${docdir}
    4242}
    4343
    4444notes           \
    4545    "An example configuration file has been installed at\
    46     ${prefix}/share/doc/${name}-${version}/nzbget.conf.example"
     46    ${docdir}/nzbget.conf.example"
    4747
    4848livecheck.distname  nzbget-stable
    49