# -*- 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
# $Id$

PortSystem          1.0

name                cgilib
version             0.7
categories          www devel
license             GPL-2+
platforms           darwin
maintainers         nomaintainer

description         CGI Library

long_description    A simple library whose purpose is to \
                    provide an easy to use interface to CGI \
                    if you need to write your program in C \
                    instead of perl.

homepage            http://www.infodrom.org/projects/cgilib/
master_sites        ${homepage}download/

checksums           md5     2c7053f58dfb06f7a80a112797ed7e86 \
                    sha1    a3c9c92f38dca10ee4e30ed1fa030401aa3fcabf \
                    rmd160  eceb4f77bccd4736757ecbcb5181f95ee2469804

patchfiles          patch-configure.ac.diff

pre-configure {
    touch ${worksrcpath}/NEWS
}

use_autoreconf      yes

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]
livecheck.regex     ${name}-(\[0-9.\]+)\\.tar