# -*- 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: Portfile 94655 2012-06-26 06:25:00Z jmr@macports.org $

PortSystem          1.0
PortGroup           perl5 1.0

perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup         Digest-Nilsimsa 0.06
revision            5
platforms           darwin
maintainers         l2g openmaintainer
license             GPL-2

description         Perl version of Nilsimsa code

long_description    A nilsimsa signature is a statistic of n-gram occurance \
                    in a piece of text. It is a 256 bit value usually \
                    represented in hex. This module is a wrapper around \
                    nilsimsa implementation in C by cmeclax.

if {${perl5.major} != ""} {
patchfiles          patch-Nilsimsa-pm.diff
patch.pre_args      -p1

checksums           sha1    6f9248c6a900c08bea64830930be12572000171b \
                    rmd160  e744cecf7780468e4a7309990e506596cd873150
}
