source: trunk/dports/textproc/libthai/Portfile

Last change on this file was 111466, checked in by jmr@…, 4 years ago

libthai: 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 111466 2013-09-23 15:16:32Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            libthai
7version         0.1.17
8categories      textproc
9license         LGPL-2.1+
10maintainers     nomaintainer
11description     Thai language support library.
12long_description \
13                ${description}
14platforms       darwin
15homepage        http://linux.thai.net/projects/libthai
16master_sites    http://linux.thai.net/pub/thailinux/software/libthai
17
18checksums       rmd160  9319bb47dfb4132a1b23ad618d81c72b2a0de60c \
19                sha256  15a975f321be0f9882120f5b7055f35d60314a846213f92ccd0c65a2109c37e6
20
21depends_build   port:pkgconfig
22depends_lib     port:libdatrie
23
24configure.args  --disable-doxygen-doc
25
26use_parallel_build yes
27
28test.run        yes
29test.target     check
30
31set docdir      ${prefix}/share/doc/${name}
32
33post-destroot {
34    xinstall -m 755 -d ${destroot}${docdir}
35    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README ${destroot}${docdir}
36}
37
38variant doxygen description {Create and install API docs} {
39    depends_lib-append      port:doxygen
40    configure.args-delete   --disable-doxygen-doc
41    configure.args-append   --with-html-docdir=${docdir}/html
42}
43
44livecheck.type      regex
45livecheck.url       [lindex ${master_sites} 0]
46livecheck.regex     ">${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}<"
Note: See TracBrowser for help on using the repository browser.