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

name                kcd
# This is a development version, but the latest stable version dates
# back to 2007 and has more warnings than this one which itself dates
# back to 2009. If there is ever a new stable version, go back to
# following stable versions.
version             7.15.0
revision            0
checksums           rmd160  cfe08bcec98614d7cb03974cecc9ccef72cdeb95 \
                    sha256  5afe4320f216c58f8e1190fe34ee18874e684cc86fc8145c0d7cab9bb0819285 \
                    size    379948

categories          sysutils
license             GPL-2+
platforms           darwin
maintainers         nomaintainer

description         kcd is a directory change utility similar to NCD

long_description    kcd is a directory change utility similar to NCD. \
                    It helps you navigate the directory tree. You can \
                    also supply part of the desired directory name in \
                    the command line and let kcd find it for you.

homepage            http://kcd.sourceforge.net/
master_sites        sourceforge:project/kcd/kcd/${version}

depends_lib         port:gettext \
                    port:ncurses \
                    port:zlib

patchfiles-append   Makefile.in.patch \
                    dirtree.cc.patch \
                    version.cc.patch

destroot.destdir    prefix=${destroot}${prefix} \
                    mandir=${destroot}${prefix}/share/man \
                    etcdir2=${destroot}${prefix}/etc

# Use this if a new stable version is ever released.
#livecheck.regex     {/kcd-(\d+\.\d*[02468](?:\.\d+)*)}
