# -*- 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
PortGroup       muniversal 1.0

name            judy
version         1.0.5
revision        1
categories      devel
license         LGPL
platforms       darwin
maintainers     nomaintainer

description     general purpose dynamic array as a C callable library
long_description    Judy is a general purpose dynamic array implemented as a C \
                callable library. Judy's speed and memory usage are typically \
                better than other data storage models and improves with very \
                large data sets.

homepage        http://judy.sourceforge.net/
master_sites    sourceforge:project/judy/judy/Judy-${version}
distname        Judy-${version}
worksrcdir      judy-${version}

checksums       rmd160  00cc2d28fd385e64c8fb9a564e186aee4bd52b4f \
                sha256  d2704089f85fdb6f2cd7e77be21170ced4b4375c03ef1ad4cf1075bd414a63eb \
                size    1147847

patchfiles      patch-tool-jhton.c.diff

set merger_configure_args(i386)     --enable-32-bit
set merger_configure_args(ppc)      --enable-32-bit
set merger_configure_args(ppc64)    --enable-64-bit
set merger_configure_args(x86_64)   --enable-64-bit

if {(!${universal_possible} || ![variant_isset universal]) && [info exists merger_configure_args(${build_arch})]} {
    configure.args-append   $merger_configure_args(${build_arch})
}

configure.ccache    no
use_parallel_build  no
test.run        yes
test.target     check

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