summaryrefslogtreecommitdiff
path: root/games/powwow
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2002-02-13 18:43:38 +0000
committerjdolecek <jdolecek@pkgsrc.org>2002-02-13 18:43:38 +0000
commit214bb4cf470394eee1cff5cd645d6d6bd8018712 (patch)
tree06a1942dece01febef412b80d1e717bcc6ee5a5f /games/powwow
parent46932a0ca8e8eaba914d851bdddf9b8287178d6a (diff)
downloadpkgsrc-214bb4cf470394eee1cff5cd645d6d6bd8018712.tar.gz
Add powwow-1.2.4 - DikuMUD convenence client
Diffstat (limited to 'games/powwow')
-rw-r--r--games/powwow/DESCR9
-rw-r--r--games/powwow/Makefile27
-rw-r--r--games/powwow/PLIST6
-rw-r--r--games/powwow/patches/patch-aa14
-rw-r--r--games/powwow/patches/patch-ab20
-rw-r--r--games/powwow/patches/patch-ac22
6 files changed, 98 insertions, 0 deletions
diff --git a/games/powwow/DESCR b/games/powwow/DESCR
new file mode 100644
index 00000000000..b4aa25955d4
--- /dev/null
+++ b/games/powwow/DESCR
@@ -0,0 +1,9 @@
+powwow is a client program, which replaces telnet for the lazy
+mudder who wants some (only some?) extra features.
+It is primarily designed for DikuMUDs, but nothing prevents its use
+for other types of muds. powwow is based on another client, cancan,
+and cancan was originally inspired by tintin (yet another client)
+by Peter Unold (pjunold@daimi.aau.dk), but is entirely re-written.
+powwow also implements the MUME remote editing protocol, which
+enables you to edit texts on the mud using your own favourite
+editor, several texts at once if you have a windowing terminal.
diff --git a/games/powwow/Makefile b/games/powwow/Makefile
new file mode 100644
index 00000000000..497d00bb039
--- /dev/null
+++ b/games/powwow/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2002/02/13 18:43:38 jdolecek Exp $
+#
+
+DISTNAME= powwow-1.2.4
+CATEGORIES= games
+#MASTER_SITES= #ftp://Linuz.sns.it/pub/Linux/max/powwow/ \
+# ${MASTER_SITE_SUNSITE:=games/muds/}
+MASTER_SITES= ${MASTER_SITE_SUNSITE:=games/muds/}
+
+MAINTAINER= jdolecek@netbsd.org
+HOMEPAGE= http://Linuz.sns.it/~max/powwow.html
+COMMENT= Client to play MUDs
+
+USE_GMAKE= # defined
+POWWOW_DIR= ${PREFIX}/share/powwow
+
+do-build:
+ cd ${WRKSRC} && POWWOW_DIR="${POWWOW_DIR}" ./make_it
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/powwow ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/powwow.6 ${PREFIX}/man/man6
+ ${INSTALL_DATA_DIR} ${POWWOW_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/powwow.doc ${POWWOW_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/powwow.help ${POWWOW_DIR}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/powwow/PLIST b/games/powwow/PLIST
new file mode 100644
index 00000000000..dbbe020bdc1
--- /dev/null
+++ b/games/powwow/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2002/02/13 18:43:38 jdolecek Exp $
+bin/powwow
+man/man6/powwow.6
+share/powwow/powwow.doc
+share/powwow/powwow.help
+@dirrm share/powwow
diff --git a/games/powwow/patches/patch-aa b/games/powwow/patches/patch-aa
new file mode 100644
index 00000000000..d1f6e6750f1
--- /dev/null
+++ b/games/powwow/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2002/02/13 18:43:39 jdolecek Exp $
+
+--- Makefile.orig Sat Dec 5 00:17:38 1998
++++ Makefile Wed Feb 13 15:56:45 2002
+@@ -61,8 +61,7 @@
+ @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
++ @echo
+
+ strip: $(NAME)
+ strip $(NAME)
diff --git a/games/powwow/patches/patch-ab b/games/powwow/patches/patch-ab
new file mode 100644
index 00000000000..cfdde63075c
--- /dev/null
+++ b/games/powwow/patches/patch-ab
@@ -0,0 +1,20 @@
+$NetBSD: patch-ab,v 1.1 2002/02/13 18:43:39 jdolecek Exp $
+
+--- make_it.orig Thu Jan 13 22:50:01 2000
++++ make_it Wed Feb 13 16:21:44 2002
+@@ -50,7 +50,14 @@
+ CC='gcc'
+ CF='-O2 -fomit-frame-pointer -DUSE_RANDOM -DUSE_VT100 -DLINES=25'
+ LF='';;
+-
++ NetBSD)
++ echo 'Making Powwow for NetBSD'
++ CC='gcc'
++ CF='-O2 -pipe -DUSE_SGTTY -DBSD_LIKE -DUSE_RANDOM -DUSE_REGEX'
++ if [ ! -z "$POWWOW_DIR" ]; then
++ CF="$CF -DPOWWOW_DIR=\\\"$POWWOW_DIR\\\""
++ fi
++ ;;
+ *)
+ echo 'UNSUPPORTED OS!!! Trying with defaults.';;
+ esac
diff --git a/games/powwow/patches/patch-ac b/games/powwow/patches/patch-ac
new file mode 100644
index 00000000000..72919e47072
--- /dev/null
+++ b/games/powwow/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.1 2002/02/13 18:43:39 jdolecek Exp $
+
+--- follow.c.orig Wed Feb 13 15:59:06 2002
++++ follow.c Wed Feb 13 15:59:46 2002
+@@ -96,7 +96,7 @@
+ ioctl(0, TIOCGLTC, &ltcsave);
+ ttyb = ttybsave;
+ ttyb.sg_flags = (ttyb.sg_flags|O_CBREAK) & ~O_ECHO;
+- ioctl(tty_read_fd, TIOCSETP, &ttyb);
++ ioctl(0, TIOCSETP, &ttyb);
+ ltc = ltcsave;
+ ltc.t_suspc = -1;
+ ioctl(0, TIOCSLTC, &ltc);
+@@ -127,7 +127,7 @@
+ #endif /* USE_SGTTY */
+ }
+
+-void main(int argc, char *argv[]) {
++int main(int argc, char *argv[]) {
+ FILE *f;
+ char c = 0, buf[512];
+ int d;