Ticket #35489: Portfile.diff

File Portfile.diff, 1.9 KB (added by fracai, 12 years ago)

sslh Portfile diff

  • Portfile

    old new  
    55
    66name                sslh
    77epoch               1
    8 version             1.12
     8version             1.13
     9set sub_version     b ; # "" for no sub_version
    910categories          net security www
    1011platforms           darwin
    1112maintainers         madlon-kay.com:macports openmaintainer
     
    2223homepage            http://www.rutschle.net/tech/sslh.shtml
    2324master_sites        http://www.rutschle.net/tech/
    2425
    25 checksums           rmd160  9d870cbb92f818642d7795d8c1a812150ca7679c \
    26                     sha256  f986625bcc8b612754b2b8c95f87eb717f54f08c356882ff2ce0b090be0c29d6
     26distname            ${name}-${version}${sub_version}
     27worksrcdir          ${name}-${version}
     28
     29checksums           rmd160  9805fa973c773cc6d633523324de2a6a7aa9ec36 \
     30                    sha256  e6493b53767b542652e99e64a1bceeded1d01a5e7a083fde9d67e7550f9c0eec
     31
     32depends_lib         lib:libconfig.a:libconfig-hr
    2733
    2834use_configure       no
    2935
    3036variant universal {}
    3137
    32 build.args          CC="${configure.cc} [get_canonical_archflags cc]" USELIBCONFIG=
     38build.args          CC="${configure.cc} [get_canonical_archflags cc]"
    3339
    3440destroot {
    35     xinstall ${worksrcpath}/sslh-fork ${destroot}${prefix}/sbin/sslh
     41    xinstall -m 0755 ${worksrcpath}/sslh-fork ${destroot}${prefix}/sbin/
     42    xinstall -m 0755 ${worksrcpath}/sslh-select ${destroot}${prefix}/sbin/
     43   
     44    ln -s ${prefix}/sbin/sslh-fork ${destroot}${prefix}/sbin/sslh
     45   
    3646    xinstall -m 0644 ${worksrcpath}/sslh.8.gz ${destroot}${prefix}/share/man/man8/
     47   
     48    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/
     49   
     50    xinstall -m 0644 ${worksrcpath}/example.cfg ${destroot}${prefix}/share/doc/${name}/
     51   
     52    xinstall -m 0644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}/
     53    xinstall -m 0644 ${worksrcpath}/README.MacOSX ${destroot}${prefix}/share/doc/${name}/
    3754}