Revision: 100189 https://trac.macports.org/changeset/100189 Author: ryandesign@macports.org Date: 2012-12-02 23:53:55 -0800 (Sun, 02 Dec 2012) Log Message: ----------- talloc: update to 2.0.8; fix library install_name; enable universal variant which now works; disable python support which opportunistically used MacPorts python; remove pkgconfig dependency which doesn't appear to be needed; disable silent rules; rewrite master_sites to avoid redirects; fix livecheck Modified Paths: -------------- trunk/dports/devel/talloc/Portfile Removed Paths: ------------- trunk/dports/devel/talloc/files/ Modified: trunk/dports/devel/talloc/Portfile =================================================================== --- trunk/dports/devel/talloc/Portfile 2012-12-03 05:09:14 UTC (rev 100188) +++ trunk/dports/devel/talloc/Portfile 2012-12-03 07:53:55 UTC (rev 100189) @@ -5,7 +5,8 @@ name talloc conflicts samba3 -version 2.0.1 +version 2.0.8 +set major [lindex [split ${version} .] 0] categories devel # mostly LGPL, but a few files are GPL license GPL-3+ @@ -16,14 +17,23 @@ system with destructors. It is the core memory allocator \ used in Samba. homepage http://talloc.samba.org/ -master_sites http://samba.org/ftp/talloc/ +master_sites http://www.samba.org/ftp/talloc/ -checksums md5 c6e736540145ca58cb3dcb42f91cf57b \ - sha1 40453d01e3676832150cefe0a057835d3a847ac1 \ - rmd160 b6d28a9f913c5d3abe2098d8b571bd293156ae1c +checksums rmd160 76a5721fdef6102f692aaa5982302b6bd479b8f1 \ + sha256 1ec11e635e0318dbbb014db38ff96e8dba3ce5f614eeb7d993b4a5b71c016783 -depends_build port:pkgconfig +configure.args --disable-python \ + --with-libiconv=${prefix} \ + --with-gettext=${prefix} -universal_variant no +# disable silent rules +build.args V=1 +destroot.args V=1 -patchfiles patch-Makefilein.diff patch-tallocmk.diff +post-destroot { + system "install_name_tool -id ${prefix}/lib/libtalloc.${major}.dylib ${destroot}${prefix}/lib/libtalloc.${major}.dylib" +} + +livecheck.type regex +livecheck.url [lindex ${master_sites} 0] +livecheck.regex ${name}-(\[0-9.\]+)${extract.suffix}