1 | # $Id: $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name rogue |
---|
5 | version 5.4.2 |
---|
6 | revision 0 |
---|
7 | categories games |
---|
8 | maintainers darwinports@opendarwin.org |
---|
9 | description Rogue is a popular dungeon exploring adventure game |
---|
10 | long_description Rogue is a popular dungeon exploring adventure game. It is the one of the earliest \ |
---|
11 | "dungeon crawl" games (early 1980s), and is an ancestor of games like Diablo. Version \ |
---|
12 | 5.4 is the last iteration of the original Rogue by Toy, Arnold, and Wichman developed \ |
---|
13 | for Unix. |
---|
14 | homepage http://rogue.rogueforge.net/ |
---|
15 | master_sites sourceforge |
---|
16 | master_sites.mirror_subdir roguelike |
---|
17 | checksums md5 bd656cb017a579eba835a0ee445a0a32 |
---|
18 | distname rogue${version}-src |
---|
19 | worksrcdir |
---|
20 | |
---|
21 | depends_lib port:ncurses |
---|
22 | |
---|
23 | configure { |
---|
24 | reinplace "s|CFLAGS= \$(COPTS) \$(ROPTS)|CFLAGS= \$(COPTS) \$(ROPTS) \ |
---|
25 | -I${prefix}/include -L${prefix}/lib|" ${worksrcpath}/Makefile |
---|
26 | |
---|
27 | reinplace "s|-DALLSCORES -DSCOREFILE||" ${worksrcpath}/Makefile |
---|
28 | |
---|
29 | reinplace "s|/usr/games/rogue|rogue|" ${worksrcpath}/rogue.6 |
---|
30 | reinplace "s|/usr/games/lib/||" ${worksrcpath}/rogue.6 |
---|
31 | } |
---|
32 | |
---|
33 | build.target |
---|
34 | build.cmd { make } |
---|
35 | |
---|
36 | destroot { |
---|
37 | cd ${worksrcpath} |
---|
38 | xinstall -m 755 -c rogue54 ${destroot}${prefix}/bin/rogue |
---|
39 | xinstall -m 644 -c rogue.6 ${destroot}${prefix}/share/man/man6/ |
---|
40 | } |
---|