# -*- 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 88422 2012-01-02 01:18:04Z ryandesign@macports.org $

PortSystem 1.0

name                cmph
version             1.1
categories          devel
maintainers         miwi
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
license             LGPL
master_sites        sourceforge:cmph

checksums           rmd160  55392941671d7aa5ade26e8d2f62ea05cc47e543 \
                    sha256  c4d2e30a48efda4423bf55ad8a1949a07ab280ff76421c6917f93f2ace771183

livecheck.type      regex
livecheck.url       http://sourceforge.net/projects/${name}/files/
livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
