# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 101119 2013-01-04 20:47:53Z ryandesign@macports.org $

PortSystem 1.0

name                cmph
version             2.0
categories          textproc devel
maintainers         nomaintainer
license             {LGPL MPL-1.1}

description         C Minimal Perfect Hashing Library
long_description    A perfect hash function maps a static set of n keys into a \
                    set of m integer numbers without collisions, where m is greater \
                    than or equal to n. If m is equal to n, the function is called minimal.

homepage            http://cmph.sourceforge.net/
platforms           darwin
master_sites        sourceforge:project/cmph/cmph

checksums           rmd160  fdeb1807657d1cd1ad155a4c81ed222ce8c6c90a \
                    sha256  ad6c9a75ff3da1fb1222cac0c1d9877f4f2366c5c61c92338c942314230cba76

patchfiles          patch-configure.diff

livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
