Add powwow, another MUD client.
Submitted by: Juraj Lutter <otis@wilbury.sk>
This commit is contained in:
parent
9d8843348d
commit
cf3519b6b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121703
@ -354,6 +354,7 @@
|
||||
SUBDIR += polypuzzle
|
||||
SUBDIR += powermanga
|
||||
SUBDIR += powerpak
|
||||
SUBDIR += powwow
|
||||
SUBDIR += pp
|
||||
SUBDIR += prboom
|
||||
SUBDIR += ptkei
|
||||
|
37
games/powwow/Makefile
Normal file
37
games/powwow/Makefile
Normal file
@ -0,0 +1,37 @@
|
||||
# Ports collection Makefile for: powwow
|
||||
# Date created: 15 Nov 2004
|
||||
# Whom: Juraj Lutter <otis@sk.freebsd.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= powwow
|
||||
PORTVERSION= 1.2.4
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= ${MASTER_SITE_SUNSITE} \
|
||||
ftp://Linuz.sns.it/pub/Linux/max/powwow/ \
|
||||
ftp://ftp.wilbury.sk/pub/FreeBSD/local/distfiles/
|
||||
MASTER_SITE_SUBDIR= games/muds
|
||||
|
||||
MAINTAINER= otis@freebsd.sk
|
||||
COMMENT= Client to play MUDs
|
||||
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAN6= powwow.6
|
||||
|
||||
post-patch:
|
||||
@${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
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/powwow ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/powwow.6 ${PREFIX}/man/man6
|
||||
${MKDIR} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/powwow.doc ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/powwow.help ${DATADIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
games/powwow/distinfo
Normal file
2
games/powwow/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (powwow-1.2.4.tar.gz) = b77f4c16c5bf2b36b6ebd2ddfdc37c38
|
||||
SIZE (powwow-1.2.4.tar.gz) = 169825
|
12
games/powwow/files/patch-Makefile
Normal file
12
games/powwow/files/patch-Makefile
Normal file
@ -0,0 +1,12 @@
|
||||
--- 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)
|
20
games/powwow/files/patch-follow.c
Normal file
20
games/powwow/files/patch-follow.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- 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, <csave);
|
||||
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, <c);
|
||||
@@ -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;
|
18
games/powwow/files/patch-make_it
Normal file
18
games/powwow/files/patch-make_it
Normal file
@ -0,0 +1,18 @@
|
||||
--- 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|FreeBSD|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
|
9
games/powwow/pkg-descr
Normal file
9
games/powwow/pkg-descr
Normal file
@ -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.
|
4
games/powwow/pkg-plist
Normal file
4
games/powwow/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
bin/powwow
|
||||
%%DATADIR%%/powwow.doc
|
||||
%%DATADIR%%/powwow.help
|
||||
@dirrm %%DATADIR%%
|
Loading…
Reference in New Issue
Block a user