Skip to content
Permalink
Browse files

zlib: Adjust whitespace

  • Loading branch information
ryandesign committed Apr 28, 2019
1 parent 14e2ca5 commit b47231dfa28ba2ee2c51191c18cbec8870196314
Showing with 24 additions and 24 deletions.
  1. +24 −24 archivers/zlib/Portfile
@@ -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
}

0 comments on commit b47231d

Please sign in to comment.
You can’t perform that action at this time.