source: trunk/dports/games/wtf/Portfile @ 1541

Last change on this file since 1541 was 1528, checked in by jkh, 18 years ago

Permanently retire the contents { .. } hack. Sorry. It was convenient,
it looked nicer in many cases, but it was frankly more of a special-case pain
than it was worth in terms of its impact on other infrastructural routines
that expected to be able to deal with the contents procedure the same as all
the others. Better to just throw this out all at once and nuke all existing
examples of it so nobody tries to use it in the future. The support for it
has also been fundamentally removed, so it also won't work if people accidently
try to use it.

  • Property svn:eol-style set to native
File size: 737 bytes
Line 
1PortSystem 1.0
2name            wtf
3version         20021005
4categories      games
5maintainers     rooneg@electricjellyfish.net
6description     translates common Internet acronyms
7platforms       darwin freebsd
8
9master_sites    http://www.mu.org/~mux/wtf/
10checksums       md5 cb00a8c9d0d7e5298ec722669aa1e2aa
11
12configure {}
13
14build {
15        cd ${worksrcpath}
16        reinplace "s|/usr/local/share/misc|${prefix}/share/misc|g" wtf
17        reinplace "s|/usr/share/misc|${prefix}/share/misc|g" wtf.6
18}
19
20install {
21        cd ${worksrcpath}
22
23        system "install wtf ${prefix}/bin"
24
25        system "install -d ${prefix}/man/man6"
26        system "install wtf.6 ${prefix}/man/man6"
27
28        system "install -d ${prefix}/share/misc"
29        system "install acronyms ${prefix}/share/misc"
30}
31
32contents \
33        bin/wtf \
34        man/man6/wtf.6 \
35        share/misc/acronyms
Note: See TracBrowser for help on using the repository browser.