1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name moria |
---|
5 | version 5.5.2 |
---|
6 | revision 0 |
---|
7 | categories games |
---|
8 | maintainers aschenke@tampabay.rr.com |
---|
9 | description Moria is a Rogue-like dungeon exploration game |
---|
10 | long_description Moria is a Rogue-like dungeon exploration game similar to Angband. |
---|
11 | homepage http://www-math.bgsu.edu/~grabine/moria.html |
---|
12 | master_sites http://www.nic.funet.fi/pub/unix/games/${name}/source/ |
---|
13 | checksums md5 04a2852864302c702e82992023d97184 |
---|
14 | extract.suffix .tar.Z |
---|
15 | distname um${version} |
---|
16 | worksrcdir umoria |
---|
17 | |
---|
18 | patchfiles patch-source_config.h |
---|
19 | |
---|
20 | configure { |
---|
21 | addgroup games |
---|
22 | |
---|
23 | cd ${worksrcpath} |
---|
24 | file copy unix/Makefile source |
---|
25 | file copy unix/unix.c source |
---|
26 | |
---|
27 | reinplace "s|/home/math/grabiner/moria/files|${prefix}/var/games/moria|" \ |
---|
28 | source/config.h |
---|
29 | } |
---|
30 | |
---|
31 | build { |
---|
32 | system "cd ${worksrcpath}/source && make" |
---|
33 | } |
---|
34 | |
---|
35 | destroot { |
---|
36 | xinstall -d 755 ${destroot}${prefix}/var/games/moria |
---|
37 | xinstall -c -m 2755 -g games ${worksrcpath}/source/moria ${destroot}${prefix}/bin |
---|
38 | xinstall -c -m 444 ${worksrcpath}/files/hours ${destroot}${prefix}/var/games/moria |
---|
39 | xinstall -c -m 444 ${worksrcpath}/files/news ${destroot}${prefix}/var/games/moria |
---|
40 | xinstall -c -m 644 ${worksrcpath}/files/origcmds.hlp ${destroot}${prefix}/var/games/moria |
---|
41 | xinstall -c -m 644 ${worksrcpath}/files/owizcmds.hlp ${destroot}${prefix}/var/games/moria |
---|
42 | xinstall -c -m 644 ${worksrcpath}/files/roglcmds.hlp ${destroot}${prefix}/var/games/moria |
---|
43 | xinstall -c -m 644 ${worksrcpath}/files/rwizcmds.hlp ${destroot}${prefix}/var/games/moria |
---|
44 | xinstall -c -m 464 -g games ${worksrcpath}/files/scores ${destroot}${prefix}/var/games/moria |
---|
45 | xinstall -c -m 644 ${worksrcpath}/files/version.hlp ${destroot}${prefix}/var/games/moria |
---|
46 | xinstall -c -m 644 ${worksrcpath}/files/welcome.hlp ${destroot}${prefix}/var/games/moria |
---|
47 | } |
---|