source: trunk/dports/games/wump/Portfile @ 4406

Last change on this file since 4406 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.0 KB
1# $Id: Portfile,v 1.9 2003/08/05 09:29:08 jkh Exp $
3PortSystem 1.0
4name            wump
5version         4.6.2-RELEASE
6categories      games
8description     Text-based cave exploring and wumpus hunting game
9platforms       darwin
10use_bzip2       yes
12checksums       md5 415c4b47458ac66f760b0a930a63c955
13build.type      bsd
14worksrcdir      ${portname}
16configure       { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
17                  reinplace "s|/usr/share|${prefix}/share|" \
18                    ${worksrcpath}/pathnames.h }
20patchfiles      patch-wump.c
22destroot        { system "install -o root -m 755 -d ${destroot}${prefix}/bin"
23                  system "install -o root -m 755 -d ${destroot}${prefix}/man/man6"
24                  system "install -o root -m 755 -d ${destroot}${prefix}/share/games"
25                  system "install -o root -m 755 -c ${worksrcpath}/wump \
26                    ${destroot}${prefix}/bin"
27                  system "install -o root -m 644 -c ${worksrcpath}/wump.6.gz \
28                    ${destroot}${prefix}/man/man6"
29                  system "install -o root -m 644 -c ${worksrcpath}/ \
30                    ${destroot}${prefix}/share/games" }
Note: See TracBrowser for help on using the repository browser.