# -*- 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 # $Id: Portfile 111466 2013-09-23 15:16:32Z jmr@macports.org $ PortSystem 1.0 name libthai version 0.1.17 categories textproc license LGPL-2.1+ maintainers nomaintainer description Thai language support library. long_description \ ${description} platforms darwin homepage http://linux.thai.net/projects/libthai master_sites http://linux.thai.net/pub/thailinux/software/libthai checksums rmd160 9319bb47dfb4132a1b23ad618d81c72b2a0de60c \ sha256 15a975f321be0f9882120f5b7055f35d60314a846213f92ccd0c65a2109c37e6 depends_build port:pkgconfig depends_lib port:libdatrie configure.args --disable-doxygen-doc use_parallel_build yes test.run yes test.target check set docdir ${prefix}/share/doc/${name} post-destroot { xinstall -m 755 -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README ${destroot}${docdir} } variant doxygen description {Create and install API docs} { depends_lib-append port:doxygen configure.args-delete --disable-doxygen-doc configure.args-append --with-html-docdir=${docdir}/html } livecheck.type regex livecheck.url [lindex ${master_sites} 0] livecheck.regex ">${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}<"