source: trunk/dports/devel/pccts/Portfile @ 3780

Last change on this file since 3780 was 3780, checked in by waqar, 16 years ago

Updated to use POSIX API instead of obsolete.

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1# $Id: Portfile,v 1.3 2003/10/24 04:19:34 waqar Exp $
2
3PortSystem 1.0
4name            pccts
5version         1.33
6categories      devel
7maintainers     waqar@opendarwin.org
8description     Purdue Compiler-Construction Tool Set (parser-generator)
9long_description \
10        PCCTS, the Purdue Compiler Construction Tool Set, is a set of \
11        public-domain software tools designed to facilitate the construction \
12        of compilers and other translation systems. Although originally \
13        developed primarily for internal use within Purdue University.
14homepage        http://www.polhode.com/pccts.html
15platforms       darwin
16master_sites    http://www.polhode.com/
17extract.sufx    .zip
18use_zip         yes
19distname        ${name}133mr
20checksums       md5 fd70972b0a6aa2d3cf8b5c66d26d229d
21worksrcdir      ${name}
22patch           {
23                   reinplace "s|#COPT=-O2|COPT=-DPCCTS_USE_STDARG|g" \
24                        "${workpath}/${worksrcdir}/makefile"
25                }
26use_configure   no
27build.target
28destroot {      file mkdir ${destroot}${prefix}/bin
29                file mkdir ${destroot}${prefix}/man/man1
30                system "cd ${worksrcpath}/bin && install -m 555 antlr \
31                        ${destroot}${prefix}/bin"
32                system "cd ${worksrcpath}/bin && install -m 555 dlg \
33                        ${destroot}${prefix}/bin"
34                system "cd ${worksrcpath}/bin && install -m 555 genmk \
35                        ${destroot}${prefix}/bin"
36                system "cd ${worksrcpath}/bin && install -m 555 sor \
37                        ${destroot}${prefix}/bin"
38                system "cd ${worksrcpath}/dlg && install -m 444 dlg.1 \
39                        ${destroot}${prefix}/man/man1"
40                system "cd ${worksrcpath}/antlr && install -m 444 antlr.1 \
41                        ${destroot}${prefix}/man/man1" }
Note: See TracBrowser for help on using the repository browser.