Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

9
games/powwow/DESCR Normal file
View 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.

29
games/powwow/Makefile Normal file
View File

@@ -0,0 +1,29 @@
# $NetBSD: Makefile,v 1.16 2012/10/06 11:54:50 asau Exp $
DISTNAME= powwow-1.2.5
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= http://hoopajoo.net/static/powwow-mirror/powwow/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hoopajoo.net/projects/powwow.html
COMMENT= Client to play MUDs
USE_TOOLS+= gmake
POWWOW_DIR= ${PREFIX}/share/powwow
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
do-build:
cd ${WRKSRC} && POWWOW_DIR=${POWWOW_DIR} CFLAGS=${CFLAGS:Q} \
LDFLAGS=${LDFLAGS:Q} ./make_it
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/powwow ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/powwow.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
${INSTALL_DATA_DIR} ${DESTDIR}${POWWOW_DIR}
${INSTALL_DATA} ${WRKSRC}/powwow.doc ${DESTDIR}${POWWOW_DIR}
${INSTALL_DATA} ${WRKSRC}/powwow.help ${DESTDIR}${POWWOW_DIR}
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

5
games/powwow/PLIST Normal file
View File

@@ -0,0 +1,5 @@
@comment $NetBSD: PLIST,v 1.2 2009/06/14 17:56:53 joerg Exp $
bin/powwow
man/man6/powwow.6
share/powwow/powwow.doc
share/powwow/powwow.help

13
games/powwow/distinfo Normal file
View File

@@ -0,0 +1,13 @@
$NetBSD: distinfo,v 1.8 2012/05/23 06:23:02 dholland Exp $
SHA1 (powwow-1.2.5.tar.gz) = 505bf2f269011970e450b2877646e6ff037ba992
RMD160 (powwow-1.2.5.tar.gz) = f48363c42863a71384f329c2701712f911dd46f4
Size (powwow-1.2.5.tar.gz) = 169159 bytes
SHA1 (patch-aa) = c271348e756f3718c5238fa7d72849dcd39a4a8d
SHA1 (patch-ab) = d5e96d03bb66d661bdac057c0b8ddd19ecdf6fec
SHA1 (patch-ac) = 706a8bb8a9e58a26542248facf2859ba311c5b25
SHA1 (patch-ad) = b6457008ca461255d2d3e60ed401b10bb0c4fdd5
SHA1 (patch-ae) = 95df9c6c03a9fb48c6b133f8348faf7f8f57a957
SHA1 (patch-af) = 2cbe5149dce20edc31a623ea382cbf707e8b029a
SHA1 (patch-ptr_c) = 31eee41c78932021c2e4f4166d24d60a24350af9
SHA1 (patch-ptr_h) = 0078a4e5e26458b71fd1b8b0ad88841a21d6de86

View File

@@ -0,0 +1,26 @@
$NetBSD: patch-aa,v 1.2 2012/05/23 06:23:02 dholland Exp $
- don't overwrite pkgsrc LDFLAGS
- remove interactive stall during build
--- Makefile.orig 1998-12-04 23:17:38.000000000 +0000
+++ Makefile
@@ -42,7 +42,7 @@ CFLAGS=$(CDEFS)
CC=cc
# Libraries: if VT100 is defined above, you don't need -ltermcap.
-LDFLAGS= -ltermcap
+LDFLAGS+= -ltermcap
# TERM support
# term directory. where you have term's client.a and client.h hidden
@@ -61,8 +61,7 @@ echo:
@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)

View File

@@ -0,0 +1,29 @@
$NetBSD: patch-ab,v 1.6 2012/05/23 06:23:02 dholland Exp $
- support NetBSD, MacOS, DragonFly
- honor pkgsrc CFLAGS and LDFLAGS
--- 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|DragonFly)
+ 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 $LDFLAGS' "
-make $* CC="${CC}" CDEFS="${CF}" LDFLAGS="${LF}"
+make $* CC="${CC}" CDEFS="${CF} ${CFLAGS}" LDFLAGS="${LF} ${LDFLAGS}"

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ac,v 1.2 2005/02/04 09:38:43 adam Exp $
--- follow.c.orig 2002-02-19 19:42:34.000000000 +0000
+++ follow.c
@@ -96,7 +96,7 @@ void set_terminal()
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);

View File

@@ -0,0 +1,6 @@
$NetBSD: patch-ad,v 1.1 2004/05/23 23:28:29 danw Exp $
--- malloc.h.orig Sun May 23 17:06:22 2004
+++ malloc.h
@@ -0,0 +1 @@
+#include <stdlib.h>

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-ae,v 1.1 2005/12/19 15:45:01 joerg Exp $
--- main.c.orig 2005-12-19 15:23:59.000000000 +0000
+++ main.c
@@ -55,7 +55,6 @@
#include <unistd.h>
/* are these really needed? */
-extern int errno;
extern int select();
#ifdef USE_REGEXP

View File

@@ -0,0 +1,12 @@
$NetBSD: patch-af,v 1.1 2005/12/19 15:45:01 joerg Exp $
--- cmd2.c.orig 2005-12-19 15:26:28.000000000 +0000
+++ cmd2.c
@@ -995,7 +995,6 @@ static char *unescape_seq __P3 (char *,b
*/
static int get_one_char __P1 (int,timeout)
{
- extern int errno;
int err;
fd_set fds;
char c;

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-ptr_c,v 1.1 2011/10/03 04:37:06 dholland Exp $
- Avoid conflict with libc memrchr. Appears to have the same intent,
but this is the path of least resistance.
--- ptr.c~ 2000-01-13 21:49:33.000000000 +0000
+++ ptr.c
@@ -411,7 +411,7 @@ char *ptrchr __P2 (ptr,p, char,c)
* find last occurrence of c in p
* return NULL if none found.
*/
-char *memrchr __P3 (char *,p, int,lenp, char,c)
+char *memrchrx __P3 (char *,p, int,lenp, char,c)
{
char *v, *s = p;
@@ -431,7 +431,7 @@ char *memrchr __P3 (char *,p, int,lenp,
char *ptrrchr __P2 (ptr,p, char,c)
{
if (p)
- return memrchr(ptrdata(p), ptrlen(p), c);
+ return memrchrx(ptrdata(p), ptrlen(p), c);
return (char*)p; /* shortcut for NULL */
}

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ptr_h,v 1.1 2011/10/03 04:37:06 dholland Exp $
- Avoid conflict with libc memrchr. Appears to have the same intent,
but this is the path of least resistance.
--- ptr.h~ 1998-10-19 20:52:24.000000000 +0000
+++ ptr.h
@@ -56,7 +56,7 @@ char *ptrmchrs __P ((ptr p, char *q, in
char *ptrrchrs __P ((ptr p, ptr q));
char *ptrmrchrs __P ((ptr p, char *q, int lenq));
-char *memrchr __P ((char *p, int lenp, char c));
+char *memrchrx __P ((char *p, int lenp, char c));
char *memchrs __P ((char *p, int lenp, char *q, int lenq));
char *memrchrs __P ((char *p, int lenp, char *q, int lenq));
#ifdef _GNU_SOURCE