# -*- 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                c2html
version             0.9.6
revision            1
epoch               1
categories          textproc
maintainers         {toby @tobypeterson}

description         c2html converts C source files to highlighted html
long_description \
    c2html is a program which converts C source files to \
    highlighted html files. The produced file can be used for \
    creating technical manuals. A highlighted source code listing \
    is usually much easier to read.

homepage            https://launchpad.net/ubuntu/+source/${name}
platforms           darwin
license             GPL-2

master_sites        https://launchpad.net/ubuntu/+archive/primary/+files
distname            ${name}_${version}.orig
worksrcdir          ${name}-${version}

checksums           rmd160  d9c70c6193f917c9a3d2ef9845004c2f4081eb8b \
                    sha256  652924a3030456f8fd0ed4fc5fe424750c7c7d70eb133eac0cecf0ddcbcab85a

patchfiles          patch-Makefile.in.diff \
                    patch-man.diff

configure.args      --mandir=${prefix}/share/man

livecheck.version   ${version}-3
livecheck.type      regex
livecheck.regex     ${name}/(\[0-9.-\]+)
