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

Last change on this file since 3801 was 3801, checked in by fkr, 16 years ago

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • revision is needed in these cases
  • style-police, mostly formatting
  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1# $Id: Portfile,v 1.4 2003/10/24 18:57:21 fkr Exp $
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}
23patch           {
24                   reinplace "s|#COPT=-O2|COPT=-DPCCTS_USE_STDARG|g" \
25                        "${workpath}/${worksrcdir}/makefile"
26                }
27use_configure   no
28build.target
29destroot {      file mkdir ${destroot}${prefix}/bin
30                file mkdir ${destroot}${prefix}/man/man1
31                system "cd ${worksrcpath}/bin && install -m 555 antlr \
32                        ${destroot}${prefix}/bin"
33                system "cd ${worksrcpath}/bin && install -m 555 dlg \
34                        ${destroot}${prefix}/bin"
35                system "cd ${worksrcpath}/bin && install -m 555 genmk \
36                        ${destroot}${prefix}/bin"
37                system "cd ${worksrcpath}/bin && install -m 555 sor \
38                        ${destroot}${prefix}/bin"
39                system "cd ${worksrcpath}/dlg && install -m 444 dlg.1 \
40                        ${destroot}${prefix}/man/man1"
41                system "cd ${worksrcpath}/antlr && install -m 444 antlr.1 \
42                        ${destroot}${prefix}/man/man1" }
Note: See TracBrowser for help on using the repository browser.