source: trunk/dports/devel/libdatrie/Portfile

Last change on this file was 95580, checked in by jmr@…, 5 years ago

libdatrie: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 95580 2012-07-17 06:03:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                libdatrie
7version             0.2.5
8categories          devel
9license             LGPL-2.1+
10platforms           darwin
11maintainers         nomaintainer
12
13description         An Implementation of Double-Array Trie.
14long_description    ${description}
15
16homepage            http://linux.thai.net/projects/datrie
17master_sites        http://linux.thai.net/pub/thailinux/software/libthai
18
19checksums           rmd160  714187f16cbc328b8c2d5184db80cfed0393cace \
20                    sha256  e9f3c82e2f157341e88836dbc048da61c320bcc43c42781d7f7944a18f2415b8
21
22depends_lib         port:libiconv
23
24configure.args      --disable-doxygen-doc
25
26use_parallel_build  yes
27
28test.run            yes
29test.target         check
30
31post-destroot {
32    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
33    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog INSTALL NEWS README ${destroot}${prefix}/share/doc/${name}
34}
35
36variant doxygen description {Create and install API docs} {
37    depends_lib-append      port:doxygen
38    configure.args-delete   --disable-doxygen-doc
39    configure.args-append   --with-html-docdir=${prefix}/share/doc/${name}/html
40}
41
42livecheck.type      regex
43livecheck.url       [lindex ${master_sites} 0]
44livecheck.regex     ">${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}<"
Note: See TracBrowser for help on using the repository browser.