source: trunk/dports/games/rogue/Portfile @ 36980

Last change on this file since 36980 was 36980, checked in by aschenke@…, 11 years ago

update maintainer e-mail

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