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

Last change on this file since 5166 was 5166, checked in by waqar, 17 years ago

Updating portfile to conform to porthier.

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1# $Id: Portfile,v 1.6 2004/02/03 00:30:07 waqar 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.suffix  .zip
19use_zip         yes
20distname        ${name}133mr
21checksums       md5 fd70972b0a6aa2d3cf8b5c66d26d229d
22worksrcdir      ${name}
23patch           {
24        reinplace "s|#COPT=-O2|COPT=-DPCCTS_USE_STDARG -O2|g" \
25                "${workpath}/${worksrcdir}/makefile"
26}
27use_configure   no
28build.target
29destroot        {       
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}/share/man/man1"
40        system "cd ${worksrcpath}/antlr && install -m 444 antlr.1 \
41                ${destroot}${prefix}/share/man/man1"
42}
Note: See TracBrowser for help on using the repository browser.