# -*- 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 PortGroup github 1.0 PortGroup waf 1.0 github.setup nullnull normalizeNumexp 9f0e855fa81cf7f0c6e06e0647054f1d997d7531 version 3.0.20140806 categories textproc japanese maintainers nomaintainer description Numerical/Temporal expression normalizer long_description ${name} is a tool for normalizing numerical/temporal expression. #homepage http://www.cl.ecei.tohoku.ac.jp/~katsuma/software/normalizeNumexp/ platforms darwin license BSD checksums rmd160 18a339ea95dd38812c342e2b18d3f7edb7318c70 \ sha256 bd8c2482af65e3e9296faa393ee86c1f21e753d631ade03bf265a68eee439904 \ size 370756 depends_build-append port:pkgconfig depends_lib port:ux-trie port:pficommon post-destroot { # install additional documents. set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 644 -W ${worksrcpath} \ LICENSE README.rst history.txt \ ${destroot}${docdir} # fix install_name. set libpath ${prefix}/lib/libnormalize_numexp.dylib set builddir ${worksrcpath}/build/src set exepath ${prefix}/bin/normalizeNumexp regexp {(\S+\/libnormalize_numexp\S+dylib)} [exec otool -L ${destroot}${exepath}] path system "install_name_tool -id ${libpath} ${destroot}${libpath}" system "install_name_tool -change ${path} ${libpath} ${destroot}${exepath}" } livecheck.type regex livecheck.url ${homepage} livecheck.version [join [lrange [split ${version} .] 0 1] .] livecheck.regex "${name} (\[0-9.\]+)"