Ticket #429: Portfile

File Portfile, 2.0 KB (added by apple@…, 22 years ago)

New Portfile

Line 
1# $Id: Portfile,v 1.8 2003/03/03 06:18:02 mij Exp $
2
3PortSystem 1.0
4name            ctags
5version         5.5
6categories      devel
7maintainers     pogma@opendarwin.org
8description     Reimplementation of ctags(1)
9long_description        Exuberant Ctags generates an index (or tag) file of source language \
10                        objects in source files that allows these items to be quickly and \
11                        easily located by a text editor or other utility. \
12                        Alternatively, it can generate a cross reference file which lists, \
13                        in human-readable form, information about the various objects found \
14                        in a set of source code files. \
15                        Supported languages include: Assembler, AWK, ASP, BETA, Bourne/Korn/Zsh \
16                        Shell, C, C++, COBOL, Eiffel, Fortran, Java, Lisp, Lua, Make, Pascal, Perl, \
17                        PHP, Python, REXX, Ruby, S-Lang, Scheme, Tcl, Vim and Yacc.
18homepage    http://ctags.sourceforge.net/
19platforms       darwin freebsd
20
21master_sites    http://telia.dl.sourceforge.net/sourceforge/ctags/ \
22                                http://unc.dl.sourceforge.net/sourceforge/ctags/ \
23                                http://umn.dl.sourceforge.net/sourceforge/ctags/ \
24                                http://twtelecom.dl.sourceforge.net/sourceforge/ctags/ \
25                                http://easynews.dl.sourceforge.net/sourceforge/ctags/ \
26                                http://belnet.dl.sourceforge.net/sourceforge/ctags/ \
27                                http://cesnet.dl.sourceforge.net/sourceforge/ctags/ \
28                                http://switch.dl.sourceforge.net/sourceforge/ctags/
29                               
30checksums       md5 87ea63fbab726073b5d1c42701399581
31
32configure.type  gnu
33configure.args  --enable-macro-patterns --disable-etags
34
35install {
36        system "install -d -m 755 ${destroot}${prefix}/bin"
37        system "install -d -m 755 ${destroot}${prefix}/lib/ctags"
38        system "install -d -m 755 ${destroot}${prefix}/include/ctags"
39        system "install -d -m 755 ${destroot}${prefix}/man/man1"
40        system "install -m 755 ${worksrcpath}/ctags ${destroot}${prefix}/bin/exctags"
41        system "install ${worksrcpath}/ctags.1 ${destroot}${prefix}/man/man1/exctags.1"
42        system "install -m 644 ${worksrcpath}/readtags.h ${destroot}${prefix}/include/ctags/"
43        system "install -m 644 ${worksrcpath}/readtags.o ${destroot}${prefix}/lib/ctags/"
44}