|
|
@@ -38,28 +38,28 @@ destroot.destdir prefix=${destroot}${prefix} |
|
|
if {${name} eq ${subport}} { |
|
|
revision 0 |
|
|
|
|
|
post-destroot { |
|
|
platform darwin { |
|
|
foreach {neededfile} "${prefix}/lib/libz.dylib" { |
|
|
if {![file exists ${destroot}${neededfile}]} { |
|
|
ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again." |
|
|
return -code error "missing ${neededfile} in destroot" |
|
|
post-destroot { |
|
|
platform darwin { |
|
|
foreach {neededfile} "${prefix}/lib/libz.dylib" { |
|
|
if {![file exists ${destroot}${neededfile}]} { |
|
|
ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again." |
|
|
return -code error "missing ${neededfile} in destroot" |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
set docdir ${prefix}/share/doc/${name} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} ChangeLog FAQ README zlib.3.pdf ${destroot}${docdir} |
|
|
|
|
|
set examplesdir ${prefix}/share/examples/${name} |
|
|
xinstall -d ${destroot}${examplesdir} |
|
|
xinstall -m 0644 {*}[glob ${worksrcpath}/example{.c,s/*}] ${destroot}${examplesdir} |
|
|
} |
|
|
|
|
|
set docdir ${prefix}/share/doc/${name} |
|
|
xinstall -d ${destroot}${docdir} |
|
|
xinstall -m 0644 -W ${worksrcpath} ChangeLog FAQ README zlib.3.pdf ${destroot}${docdir} |
|
|
|
|
|
set examplesdir ${prefix}/share/examples/${name} |
|
|
xinstall -d ${destroot}${examplesdir} |
|
|
xinstall -m 0644 {*}[glob ${worksrcpath}/example{.c,s/*}] ${destroot}${examplesdir} |
|
|
} |
|
|
|
|
|
livecheck.type regex |
|
|
livecheck.url ${homepage} |
|
|
livecheck.regex ${name}-(\[0-9.\]+)\\.tar |
|
|
livecheck.type regex |
|
|
livecheck.url ${homepage} |
|
|
livecheck.regex ${name}-(\[0-9.\]+)\\.tar |
|
|
} else { |
|
|
livecheck.type none |
|
|
} |
|
|
@@ -68,13 +68,13 @@ subport minizip { |
|
|
revision 0 |
|
|
conflicts libkml |
|
|
|
|
|
description Minizip zip file manipulation library |
|
|
long_description ${description} |
|
|
description Minizip zip file manipulation library |
|
|
long_description ${description} |
|
|
|
|
|
worksrcdir ${worksrcdir}/contrib/minizip |
|
|
worksrcdir ${worksrcdir}/contrib/minizip |
|
|
|
|
|
use_autoreconf yes |
|
|
autoreconf.args -fvi -I m4 |
|
|
use_autoreconf yes |
|
|
autoreconf.args -fvi -I m4 |
|
|
|
|
|
depends_lib-append port:zlib |
|
|
depends_lib-append port:zlib |
|
|
} |