Files

45 lines
1.4 KiB
Tcl

# -*- 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
PortSystem 1.0
name libthai
version 0.1.18
categories textproc
license LGPL-2.1+
maintainers nomaintainer
description Thai language support library.
long_description \
${description}
platforms darwin
homepage https://linux.thai.net/projects/libthai
master_sites https://linux.thai.net/pub/thailinux/software/libthai
checksums rmd160 8cccdf14c3a49ecdd549516d7e62a200dc2ebe7b \
sha256 c26073c9862aac566e58f95964df5a33c55596ddde6f181437013855e36456c6 \
size 537508
depends_build port:pkgconfig
depends_lib port:libdatrie
configure.args --disable-doxygen-doc
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 path:bin/doxygen: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}<"