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

Last change on this file since 3173 was 3173, checked in by jkh, 17 years ago

Mass-merge of destroot target changes. Before committing this, I also
laid down a PRE_DESTROOT_TARGET so we can easily compare the before and
after photos (or, in extremis, revert this change). I doubt that will be
necessary, however, since things appear to be working quite well with this
change and it's better to do it sooner rather than later since it changes the
rules about what commands/variables to use in new ports.

Approved by: fkr

  • Property svn:eol-style set to native
File size: 1.6 KB
Line 
1# $Id: Portfile,v 1.2 2003/08/05 09:29:04 jkh 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
19depends_build   bin:unzip:unzip
20distname        ${name}133mr
21checksums       md5 fd70972b0a6aa2d3cf8b5c66d26d229d
22worksrcdir      ${name}
23configure       {}
24build.target
25destroot {      file mkdir ${destroot}${prefix}/bin
26                file mkdir ${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" }
Note: See TracBrowser for help on using the repository browser.