[19450] trunk/dports/games
source_changes at macosforge.org
source_changes at macosforge.org
Fri Sep 8 05:48:28 PDT 2006
Revision: 19450
Author: yeled at macports.org
Date: 2006-09-08 05:48:26 -0700 (Fri, 08 Sep 2006)
Log Message:
-----------
import rogue
closes #10649
Added Paths:
-----------
trunk/dports/games/rogue/
trunk/dports/games/rogue/Portfile
Added: trunk/dports/games/rogue/Portfile
===================================================================
--- trunk/dports/games/rogue/Portfile (rev 0)
+++ trunk/dports/games/rogue/Portfile 2006-09-08 12:48:26 UTC (rev 19450)
@@ -0,0 +1,39 @@
+# $Id: $
+
+PortSystem 1.0
+name rogue
+version 5.4.2
+categories games
+maintainers aschenke at tampabay.rr.com
+description Rogue is a popular dungeon exploring adventure game
+long_description Rogue is a popular dungeon exploring adventure game. It is the one of the earliest \
+ "dungeon crawl" games (early 1980s), and is an ancestor of games like Diablo. Version \
+ 5.4 is the last iteration of the original Rogue by Toy, Arnold, and Wichman developed \
+ for Unix.
+homepage http://rogue.rogueforge.net/
+master_sites sourceforge
+master_sites.mirror_subdir roguelike
+checksums md5 bd656cb017a579eba835a0ee445a0a32
+distname rogue${version}-src
+worksrcdir
+
+depends_lib port:ncurses
+
+configure {
+ reinplace "s|CFLAGS= \$(COPTS) \$(ROPTS)|CFLAGS= \$(COPTS) \$(ROPTS) \
+ -I${prefix}/include -L${prefix}/lib|" ${worksrcpath}/Makefile
+
+ reinplace "s|-DALLSCORES -DSCOREFILE||" ${worksrcpath}/Makefile
+
+ reinplace "s|/usr/games/rogue|rogue|" ${worksrcpath}/rogue.6
+ reinplace "s|/usr/games/lib/||" ${worksrcpath}/rogue.6
+ }
+
+build.target
+build.cmd { make }
+
+destroot {
+ cd ${worksrcpath}
+ xinstall -m 755 -c rogue54 ${destroot}${prefix}/bin/rogue
+ xinstall -m 644 -c rogue.6 ${destroot}${prefix}/share/man/man6/
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060908/610ba748/attachment.html
More information about the macports-changes
mailing list