source: trunk/dports/textproc/ux-trie/Portfile

Last change on this file was 116650, checked in by hum@…, 3 years ago

ux-trie: use waf port group; see #42303.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 116650 2014-02-01 11:55:55Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           waf 1.0 
6
7name                ux-trie
8version             0.1.9
9categories          textproc
10maintainers         hum openmaintainer
11
12description         More Succinct Trie Data structure
13
14long_description    UX is a library for managing string collections, and support \
15                    several string operations efficiently as in trie.
16
17homepage            http://code.google.com/p/ux-trie/
18platforms           darwin
19license             BSD
20
21distname            ux-${version}
22use_bzip2           yes
23
24master_sites        googlecode
25checksums           rmd160  9b772660796129edcc9ea664707a596f13a7f79b \
26                    sha256  982c4a732c690712ba4e738c48d0fbdc6d1ead88af0a9255ac9db1e0d374f08d
27
28post-destroot {
29    set libpath  ${prefix}/lib/libux.dylib
30    set builddir ${worksrcpath}/build/src
31    set bin      ${destroot}${prefix}/bin/ux
32    regexp {(\S+\/libux\S+dylib)} [exec otool -L ${bin}] path
33    system "install_name_tool -id     ${libpath} ${destroot}${libpath}"
34    system "install_name_tool -change ${path}    ${libpath} ${bin}"
35}
Note: See TracBrowser for help on using the repository browser.