Skip to content
Permalink
Browse files

Add wump.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@1021 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Eric Melville
Eric Melville committed Oct 9, 2002
1 parent ca10dea commit 8f835d45164cecb5c59265b9fc0f9bba538cee1b
Showing with 42 additions and 0 deletions.
  1. +31 −0 games/wump/Portfile
  2. +11 −0 games/wump/files/patch-wump.c
@@ -0,0 +1,31 @@
PortSystem 1.0
name wump
version 4.6.2-RELEASE
categories games
maintainers eric@opendarwin.org
description pah
use_bzip2 yes
master_sites http://www.opendarwin.org/~eric/
checksums md5 415c4b47458ac66f760b0a930a63c955
build.type bsd
worksrcdir ${portname}

configure { reinplace "s|MAN|MAN6|" ${worksrcpath}/Makefile
reinplace "s|/usr/share|${prefix}/share|" \
${worksrcpath}/pathnames.h }

patchfiles patch-wump.c

install { system "install -o root -m 755 -d ${prefix}/bin"
system "install -o root -m 755 -d ${prefix}/man/man6"
system "install -o root -m 755 -d ${prefix}/share/games"
system "install -o root -m 755 -c ${worksrcpath}/wump \
${prefix}/bin"
system "install -o root -m 644 -c ${worksrcpath}/wump.6.gz \
${prefix}/man/man6"
system "install -o root -m 644 -c ${worksrcpath}/wump.info \
${prefix}/share/games" }

contents bin/wump \
man/man6/wump.6.gz \
share/games/wump.info
@@ -0,0 +1,11 @@
--- wump.c.orig Wed Oct 9 12:30:16 2002
+++ wump.c Wed Oct 9 12:30:26 2002
@@ -531,7 +531,7 @@
* than three links, regardless of the quality of the random number
* generator that we're using.
*/
- srandomdev();
+ srandom(getpid());
/* initialize the cave first off. */
for (i = 1; i <= room_num; ++i)

0 comments on commit 8f835d4

Please sign in to comment.
You can’t perform that action at this time.