Ticket #14948: Portfile

File Portfile, 2.3 KB (added by yanjingfeng@…, 16 years ago)
Line 
1# $Id$
2
3PortSystem       1.0
4name             idutils
5version          4.2
6categories       devel
7maintainers      nomaintainer
8description      The classic Berkeley gid/lid tools for looking up variables in code
9long_description `mkid' is a simple, fast, high-capacity, language-independent \
10                     identifier database tool.  Actually, the term `identifier' is too \
11                     limiting--`mkid' stores tokens, be they program identifiers of any \
12                     form, literal numbers, or words of human-readable text.  Database \
13                     queries can be issued from the command-line, or from within emacs, \
14                     serving as an augmented tags facility. \
15                     \
16                     `mkid' was originally written by Greg McGary <gkm@gnu.ai.mit.edu> \
17                     and posted to comp.sources.unix in September 1987.  It was then \
18                     maintained and enhanced by a loose knit group of programmers on the \
19                     Internet led by Tom Horsley <Tom.Horsley@mail.hcsc.com>.  Tom released \
20                     `mkid2' on comp.sources.unix in March, 1991.  Since then, Greg McGary \
21                     has resumed maintenance and is releasing an improved version 3 under GPL.\
22                     \
23                     Version 3 is an interim release.  Version 4 will follow in the coming \
24                     months and include a cscope clone plus other improvements.  This \
25                     version is an improved version of version 3 (which hasn't been updated \
26                     since 1996!), it now understands C++.
27
28homepage         http://www.gnu.org/software/idutils/
29platforms        darwin
30
31master_sites     ftp://ftp.gnu.org/gnu/idutils/
32
33distname         ${name}-${version}
34extract.suffix   .tar.gz
35checksums        md5 4bbd2cb0d566ab29e41088cc028ad710 \
36                 sha1 306f6e296768d494d771777647c04c8ceed66c1f \
37                                 rmd160 cddc6ac3d26f8a836a4d8c5d7111b4439095abe8
38
39patchfiles       patch-src-Makefile.in \
40                 patch-lisp-idutils.el
41worksrcdir       ${name}-${version}
42depends_lib      port:gettext \
43                 port:gmake \
44                 port:libiconv
45
46post-patch {
47        file copy ${workpath}/${worksrcdir}/src/gid ${workpath}/${worksrcdir}/src/gid32
48}
49
50# destroot {
51# xinstall -m 555 ${worksrcpath}/src ${destroot}${prefix}/bin
52# }
53
54configure.args      --prefix=${prefix} \
55                    --infodir=${prefix}/share/info
56