# -*- 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                pdftohtml
version             0.40a
categories          textproc
license             GPL-2
platforms           darwin
conflicts           poppler
maintainers         nomaintainer
description         pdf to html converter based on xpdf.
long_description    ${description}

homepage            http://pdftohtml.sourceforge.net/
master_sites        sourceforge
checksums           md5 2d82996faaf2b9439f8395743c1c163d \
                    sha1 409572da65cf5234d026a5b199a81a26e75ca4d8 \
                    rmd160 8e948507b4899462de6ff34afd26fcb4bf0b3511

use_configure       no

build.args

destroot {
    xinstall -m 755 ${worksrcpath}/src/${name} ${destroot}${prefix}/bin/
}

livecheck.version   0.40
livecheck.regex     "pdftohtml-(\\d+(?:\\.\\d+)*).tar.gz"
