source: trunk/dports/games/wtf/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: 831 bytes
Line 
1# $Id: Portfile,v 1.6 2003/08/05 09:29:08 jkh Exp $
2
3PortSystem 1.0
4name            wtf
5version         20021005
6categories      games
7maintainers     rooneg@electricjellyfish.net
8description     translates common Internet acronyms
9platforms       darwin freebsd
10
11master_sites    http://www.mu.org/~mux/wtf/
12checksums       md5 cb00a8c9d0d7e5298ec722669aa1e2aa
13
14configure {}
15
16build {
17        cd ${worksrcpath}
18        reinplace "s|/usr/local/share/misc|${prefix}/share/misc|g" wtf
19        reinplace "s|/usr/share/misc|${prefix}/share/misc|g" wtf.6
20}
21
22destroot {
23        cd ${worksrcpath}
24
25        system "install -d ${destroot}${prefix}/bin"
26        system "install wtf ${destroot}${prefix}/bin"
27
28        system "install -d ${destroot}${prefix}/man/man6"
29        system "install wtf.6 ${destroot}${prefix}/man/man6"
30
31        system "install -d ${destroot}${prefix}/share/misc"
32        system "install acronyms ${destroot}${prefix}/share/misc"
33}
34
Note: See TracBrowser for help on using the repository browser.