Ticket #18154: zlib-Portfile.diff
File zlib-Portfile.diff, 905 bytes (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 16 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 42636 2008-11-27 09:27:39Z ryandesign@macports.org $ 2 2 3 3 PortSystem 1.0 4 PortGroup merge_universal 1.0 4 5 5 6 name zlib 6 7 version 1.2.3 … … 28 29 29 30 patchfiles patch-Makefile-static.diff 30 31 31 post-configure {32 if {[variant_isset universal]} {33 reinplace -E "/^LDSHARED=/s|\$| ${configure.universal_cflags}|" ${worksrcpath}/Makefile34 }35 }36 37 32 configure.args --shared 38 33 configure.universal_args 39 34 … … 51 46 eval xinstall -m 0644 [glob ${worksrcpath}/example{.c,s/*}] ${destroot}${examplesdir} 52 47 } 53 48 49 if { ${os.arch}=="i386" } { 50 set universal_archs_supported "i386 x86_64" 51 } else { 52 set universal_archs_supported "ppc ppc64" 53 } 54 54 55 livecheck.check regex 55 56 livecheck.url ${homepage} 56 57 livecheck.regex ${name}-(\[0-9.\]+)\\.tar