# -*- 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                    eot-utils
version                 1.1
categories              www
platforms               darwin
maintainers             googlemail.com:robertoschwald
license                 W3C

description             W3C Embeddable OpenType font (eot) creation tools

long_description        mkeot creates an EOT (Embedded OpenType) file from \
                        an OpenType or TrueType font and the URLs of one or \
                        more Web pages. eotinfo displays the contents of an \
                        EOT header in a human-readable way.

homepage                http://www.w3.org/Tools/eot-utils/
master_sites            ${homepage}
distname                eot-utilities-${version}

checksums               md5     eb338106c979dc8c4576f8c0f466088b \
                        sha1    7e8a68ba1ae4b533113e7965aa2cca133367f31f \
                        rmd160  3e2a14aaba8739fda5ca850830af206639b43b1e

post-destroot {
    set docdir ${prefix}/share/doc/${subport}
    xinstall -d ${destroot}${docdir}
    xinstall -m 644 -W ${worksrcpath} \
        AUTHORS \
        COPYING \
        ChangeLog \
        README \
        ${destroot}${docdir}
}

livecheck.type          regex
livecheck.regex         eot-utilities-(\\d+(?:\\.\\d+)*)