source: trunk/dports/games/larn/Portfile @ 1144

Last change on this file since 1144 was 1144, checked in by eric, 18 years ago

Move distfiles.

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1PortSystem 1.0
2name            larn
3version         4.6.2-RELEASE
4categories      games
5maintainers     eric@opendarwin.org
6description     Text-based cavern exploring game
7use_bzip2       yes
8master_sites    http://www.opendarwin.org/projects/darwinports/distfiles/
9checksums       md5 cea96f48caa057793f6bcaf3394ca388
10build.type      bsd
11build.args      LDADD+=-L${prefix}/lib\\ -lcompat\\ -lncurses
12worksrcdir      ${portname}
13patchfiles      patch-io.c
14
15configure       { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
16                  reinplace "s|/usr/share|${prefix}/share|g" \
17                    ${worksrcpath}/pathnames.h
18                  reinplace "s|/var/games|${prefix}/var/games|g" \
19                    ${worksrcpath}/pathnames.h }
20
21install         { cd ${worksrcpath}
22                  system "install -o root -m 755 -d ${prefix}/var/games/larn"
23                  system "install -o root -m 755 -d ${prefix}/man/man6"
24                  system "install -o root -m 755 -d ${prefix}/share/games/larn"
25                  system "install -o root -m 755 -c larn ${prefix}/bin"
26                  system "install -o root -m 644 -c larn.6.gz  \
27                    ${prefix}/man/man6"
28                  cd datfiles
29                  system "install -o root -m 644 -c larn.help \
30                    ${prefix}/share/games/larn"
31                  system "install -o root -m 644 -c larnmaze \
32                    ${prefix}/share/games/larn" }
33
34contents        bin/larn \
35                man/man6/larn.6.gz \
36                share/games/larn/larn.help \
37                share/games/larn/larnmaze
Note: See TracBrowser for help on using the repository browser.