Revision
86800
Author
hum@macports.org
Date
2011-11-04 16:16:43 -0700 (Fri, 04 Nov 2011)

Log Message

ux-trie: update to 0.1.8; set install_name of dylib; simplify livecheck.

Modified Paths

Diff

Modified: trunk/dports/textproc/ux-trie/Portfile (86799 => 86800)


--- trunk/dports/textproc/ux-trie/Portfile	2011-11-04 18:08:15 UTC (rev 86799)
+++ trunk/dports/textproc/ux-trie/Portfile	2011-11-04 23:16:43 UTC (rev 86800)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                ux-trie
-version             0.1.7
+version             0.1.8
 categories          textproc
 platforms           darwin
 maintainers         hum openmaintainer
@@ -18,8 +18,8 @@
 master_sites        googlecode
 distname            ux-${version}
 use_bzip2           yes
-checksums           rmd160  48b17311ae0ee2c17a1bdfecf7ecf24c737dd537 \
-                    sha256  31d90b7f63f6d85ff608b5252ef5618962412152eaf2131406bc1fae97e257b3
+checksums           rmd160  b8d39788c778444c03c6c2f3803f4093f02b71e9 \
+                    sha256  09e5d5156e799e8138dada7aa49f6cbdc6d8f3d6e6d849fbf4448e3047895f55
 
 configure.cmd       ./waf configure
 configure.universal_args
@@ -32,6 +32,9 @@
 destroot.args       --destdir=${destroot}
 destroot.destdir
 
-livecheck.type      regex
-livecheck.url       ${homepage}downloads/list
-livecheck.regex     ux-(\[0-9.\]+)\\.tar
+post-destroot {
+    set libpath ${prefix}/lib/libux.dylib
+    system "install_name_tool -id ${libpath} ${destroot}${libpath}"
+}
+
+livecheck.type      default