Ticket #538: Portfile

File Portfile, 1.6 KB (added by wmalik@…, 22 years ago)

Portfile

Line 
1# $Id$
2
3PortSystem 1.0
4name          pccts
5version       1.33
6revision      1
7categories    devel
8maintainers   waqar@opendarwin.org
9description   Purdue Compiler-Construction Tool Set (parser-generator)
10long_description   \
11       PCCTS, the Purdue Compiler Construction Tool Set, is a set of \
12       public-domain software tools designed to facilitate the construction \
13       of compilers and other translation systems. Although originally \
14       developed primarily for internal use within Purdue University.
15homepage      http://www.polhode.com/pccts.html
16platforms     darwin
17master_sites  http://www.polhode.com/
18extract.sufx  .zip
19use_zip       yes
20distname      ${name}133mr
21checksums     md5 fd70972b0a6aa2d3cf8b5c66d26d229d
22worksrcdir    ${name}
23configure     {}
24build         { system "cd ${worksrcpath} && make" }
25install       { system "mkdir -p ${destroot}${prefix}/bin"
26                system "mkdir -p ${destroot}${prefix}/man/man1"
27                system "cd ${worksrcpath}/bin && install -m 555 antlr \
28                        ${destroot}${prefix}/bin"
29                system "cd ${worksrcpath}/bin && install -m 555 dlg \
30                        ${destroot}${prefix}/bin"
31                system "cd ${worksrcpath}/bin && install -m 555 genmk \
32                        ${destroot}${prefix}/bin"
33                system "cd ${worksrcpath}/bin && install -m 555 sor \
34                        ${destroot}${prefix}/bin"
35                system "cd ${worksrcpath}/dlg && install -m 444 dlg.1 \
36                        ${destroot}${prefix}/man/man1"
37                system "cd ${worksrcpath}/antlr && install -m 444 antlr.1 \
38                        ${destroot}${prefix}/man/man1"
39              }