# $Id$

PortSystem       1.0

name             idutils
version             4.6
categories       devel
maintainers      hotmail.com:yanjingfeng
description      The classic Berkeley gid/lid tools for looking up variables in code
long_description `mkid' is a simple, fast, high-capacity, language-independent \
	             identifier database tool.  Actually, the term `identifier' is too \
	             limiting--`mkid' stores tokens, be they program identifiers of any \
	             form, literal numbers, or words of human-readable text.  Database \
	             queries can be issued from the command-line, or from within emacs, \
	             serving as an augmented tags facility. \
	             \
	             `mkid' was originally written by Greg McGary <gkm@gnu.ai.mit.edu> \
	             and posted to comp.sources.unix in September 1987.  It was then \
	             maintained and enhanced by a loose knit group of programmers on the \
	             Internet led by Tom Horsley <Tom.Horsley@mail.hcsc.com>.  Tom released \
	             `mkid2' on comp.sources.unix in March, 1991.  Since then, Greg McGary \
	             has resumed maintenance and is releasing an improved version 3 under GPL.\
	             \
	             Version 3 is an interim release.  Version 4 will follow in the coming \
	             months and include a cscope clone plus other improvements.  This \
	             version is an improved version of version 3 (which hasn't been updated \
	             since 1996!), it now understands C++.

homepage         http://www.gnu.org/software/idutils/
platforms        darwin

master_sites     gnu
use_xz              yes

checksums           rmd160  9b136e5bedf04183a631c1c7642c7982deb5016d \
                    sha256  8181f43a4fb62f6f0ccf3b84dbe9bec71ecabd6dfdcf49c6b5584521c888aac2

patchfiles          patch-lisp-idutils.el.diff

depends_lib      port:gettext \
                 port:gmake \
                 port:libiconv

configure.args      --disable-silent-rules

post-destroot {
    move ${destroot}${prefix}/bin/gid ${destroot}${prefix}/bin/gid32
    move ${destroot}${prefix}/share/man/man1/gid.1 ${destroot}${prefix}/share/man/man1/gid32.1
}