1 | --- Portfile.orig 2006-05-10 04:48:16.000000000 -0400 |
---|
2 | +++ Portfile 2006-05-10 04:55:36.000000000 -0400 |
---|
3 | @@ -3,10 +3,12 @@ |
---|
4 | PortSystem 1.0 |
---|
5 | name larn |
---|
6 | version 4.6.2-RELEASE |
---|
7 | -revision 1 |
---|
8 | +revision 2 |
---|
9 | categories games |
---|
10 | maintainers eric@opendarwin.org |
---|
11 | description Text-based cavern exploring game |
---|
12 | +long_description Larn is text-based fantasy role-playing game similar to Rogue, \ |
---|
13 | + Nethack, etc. |
---|
14 | platforms darwin |
---|
15 | use_bzip2 yes |
---|
16 | master_sites opendarwin |
---|
17 | @@ -14,7 +16,21 @@ |
---|
18 | build.type bsd |
---|
19 | build.args LDADD+=-L${prefix}/lib\\ -lcompat\\ -lncurses |
---|
20 | worksrcdir ${portname} |
---|
21 | -patchfiles patch-io.c |
---|
22 | +patchfiles patch-diag.c \ |
---|
23 | + patch-display.c \ |
---|
24 | + patch-global.c \ |
---|
25 | + patch-help.c \ |
---|
26 | + patch-io.c \ |
---|
27 | + patch-main.c \ |
---|
28 | + patch-monster.c \ |
---|
29 | + patch-moreobj.c \ |
---|
30 | + patch-movem.c \ |
---|
31 | + patch-object.c \ |
---|
32 | + patch-scores.c \ |
---|
33 | + patch-store.c |
---|
34 | + |
---|
35 | +depends_lib port:libcompat \ |
---|
36 | + port:ncurses |
---|
37 | |
---|
38 | configure { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile |
---|
39 | reinplace "s|/usr/share|${prefix}/share|g" \ |
---|
40 | @@ -23,15 +39,9 @@ |
---|
41 | ${worksrcpath}/pathnames.h } |
---|
42 | |
---|
43 | destroot { cd ${worksrcpath} |
---|
44 | - system "install -o root -m 755 -d ${destroot}${prefix}/var/games/larn" |
---|
45 | - system "install -o root -m 755 -d ${destroot}${prefix}/share/man/man6" |
---|
46 | - system "install -o root -m 755 -d ${destroot}${prefix}/share/games/larn" |
---|
47 | - system "install -o root -m 755 -c larn ${destroot}${prefix}/bin" |
---|
48 | - system "install -o root -m 644 -c larn.6.gz \ |
---|
49 | - ${destroot}${prefix}/share/man/man6" |
---|
50 | - cd datfiles |
---|
51 | - system "install -o root -m 644 -c larn.help \ |
---|
52 | - ${destroot}${prefix}/share/games/larn" |
---|
53 | - system "install -o root -m 644 -c larnmaze \ |
---|
54 | - ${destroot}${prefix}/share/games/larn" } |
---|
55 | - |
---|
56 | + xinstall -m 755 -d ${destroot}${prefix}/share/games/larn |
---|
57 | + xinstall -m 755 -c larn ${destroot}${prefix}/bin |
---|
58 | + xinstall -m 644 -c larn.6.gz ${destroot}${prefix}/share/man/man6 |
---|
59 | + xinstall -m 644 -c datfiles/larn.help ${destroot}${prefix}/share/games/larn |
---|
60 | + xinstall -m 644 -c datfiles/larnmaze ${destroot}${prefix}/share/games/larn |
---|
61 | + destroot.keepdirs ${destroot}${prefix}/var/games/larn } |
---|
62 | \ No newline at end of file |
---|