aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/powwow/Makefile14
-rw-r--r--games/powwow/distinfo6
-rw-r--r--games/powwow/files/patch-Makefile11
-rw-r--r--games/powwow/files/patch-follow.c6
-rw-r--r--games/powwow/files/patch-make_it23
5 files changed, 13 insertions, 47 deletions
diff --git a/games/powwow/Makefile b/games/powwow/Makefile
index 32579082ab18..055cdc22aa5b 100644
--- a/games/powwow/Makefile
+++ b/games/powwow/Makefile
@@ -6,22 +6,22 @@
#
PORTNAME= powwow
-PORTVERSION= 1.2.5
+PORTVERSION= 1.2.10
CATEGORIES= games
-MASTER_SITES= http://linuz.sns.it/~max/powwow/ \
+MASTER_SITES= http://hoopajoo.net/static/projects/ \
ftp://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/
MAINTAINER= otis@sk.FreeBSD.org
COMMENT= Client to play MUDs
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --enable-bsd
+
MAN6= powwow.6
-post-patch:
+pre-build:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/defines.h \
- ${WRKSRC}/list.c ${WRKSRC}/main.c ${WRKSRC}/cmd2.c
-
-do-build:
- cd ${WRKSRC} && POWWOW_DIR="${DATADIR}" ./make_it
+ ${WRKSRC}/list.c ${WRKSRC}/main.c ${WRKSRC}/cmd2.c ${WRKSRC}/beam.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/powwow ${PREFIX}/bin
diff --git a/games/powwow/distinfo b/games/powwow/distinfo
index bd3fbf8ae3f5..30065f0c777f 100644
--- a/games/powwow/distinfo
+++ b/games/powwow/distinfo
@@ -1,3 +1,3 @@
-MD5 (powwow-1.2.5.tar.gz) = 704b94581b396d6ea17c00a5d1149ae1
-SHA256 (powwow-1.2.5.tar.gz) = 2dbac6c4fdfd3608696f3c4072309c0497666df9a9627b5b7b03105313c5b0fb
-SIZE (powwow-1.2.5.tar.gz) = 169159
+MD5 (powwow-1.2.10.tar.gz) = f8d948d5a0cb5fd1e74d05ad1420441a
+SHA256 (powwow-1.2.10.tar.gz) = fd556e876529ac5b1c8be915b9750a45ff5cde8ec88e66befe88a56844f9799b
+SIZE (powwow-1.2.10.tar.gz) = 257811
diff --git a/games/powwow/files/patch-Makefile b/games/powwow/files/patch-Makefile
deleted file mode 100644
index 04de5c33bdab..000000000000
--- a/games/powwow/files/patch-Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.orig Sat Dec 10 23:29:52 2005
-+++ Makefile Sat Dec 10 23:29:57 2005
-@@ -61,8 +61,6 @@
- @echo "WARNING: if you are coming from a 1.0.x version,"
- @echo "re-read Changelog and powwow.doc as many things have changed."
- @echo "In particular, syntax and effects of #prompt and #isprompt changed in 1.1.7"
-- @echo "Press ENTER to continue..."
-- @read dummy
-
- strip: $(NAME)
- strip $(NAME)
diff --git a/games/powwow/files/patch-follow.c b/games/powwow/files/patch-follow.c
index bd0b0d56cbc3..b6d5b51a3565 100644
--- a/games/powwow/files/patch-follow.c
+++ b/games/powwow/files/patch-follow.c
@@ -1,6 +1,6 @@
---- follow.c.orig 2002-02-19 19:42:34.000000000 +0000
-+++ follow.c
-@@ -96,7 +96,7 @@ void set_terminal()
+--- follow.c.orig Sat Oct 14 00:12:28 2006
++++ follow.c Sat Oct 14 00:12:43 2006
+@@ -96,7 +96,7 @@
ioctl(0, TIOCGLTC, &ltcsave);
ttyb = ttybsave;
ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO;
diff --git a/games/powwow/files/patch-make_it b/games/powwow/files/patch-make_it
deleted file mode 100644
index 4beed1bb3c9c..000000000000
--- a/games/powwow/files/patch-make_it
+++ /dev/null
@@ -1,23 +0,0 @@
---- make_it.orig 2002-06-01 10:33:35.000000000 +0000
-+++ make_it
-@@ -52,11 +52,18 @@ case $OS in
- CC='gcc'
- CF='-O2 -fomit-frame-pointer -DUSE_RANDOM -DUSE_VT100 -DLINES=25'
- LF='';;
--
-+ NetBSD|Darwin)
-+ echo "Making Powwow for $OS"
-+ CC='gcc'
-+ CF='-O2 -pipe -DUSE_SGTTY -DBSD_LIKE -DUSE_RANDOM -DUSE_REGEXP'
-+ if [ ! -z "$POWWOW_DIR" ]; then
-+ CF="$CF -DPOWWOW_DIR=\\\"$POWWOW_DIR\\\""
-+ fi
-+ ;;
- *)
- echo 'UNSUPPORTED OS!!! Trying with defaults.';;
- esac
--echo "make" $* "CC='$CC' CDEFS='$CF' LDFLAGS='$LF' "
-+echo "make" $* "CC='$CC' CDEFS='$CF $CFLAGS' LDFLAGS='$LF' "
-
--make $* CC="${CC}" CDEFS="${CF}" LDFLAGS="${LF}"
-+make $* CC="${CC}" CDEFS="${CF} ${CFLAGS}" LDFLAGS="${LF}"