Ticket #54463: Portfile.diff

File Portfile.diff, 874 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 7 years ago)
  • Portfile

    old new  
    3434
    3535destroot.destdir        prefix=${destroot}${prefix}
    3636
     37if {${name} eq ${subport}} {
    3738post-destroot {
    3839    platform darwin {
    3940        foreach {neededfile} "${prefix}/lib/libz.dylib" {
     
    5253    xinstall -d ${destroot}${examplesdir}
    5354    xinstall -m 0644 {*}[glob ${worksrcpath}/example{.c,s/*}] ${destroot}${examplesdir}
    5455}
     56}
    5557
    5658livecheck.type          regex
    5759livecheck.url           ${homepage}
    5860livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
     61
     62subport minizip {
     63
     64    description Minizip zip file manipulation library
     65    long_description ${description}
     66
     67    worksrcdir ${worksrcdir}/contrib/minizip
     68
     69    use_autoreconf  yes
     70    autoreconf.args -fvi -I m4
     71
     72    depends_lib-append port:zlib
     73}
     74 No newline at end of file