From danfe@regency.nsu.ru  Tue Sep 23 22:43:19 2003
Return-Path: <danfe@regency.nsu.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A2FD716A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2003 22:43:19 -0700 (PDT)
Received: from mx.nsu.ru (mx.nsu.ru [212.192.164.5])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E1E9D43FE0
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2003 22:43:17 -0700 (PDT)
	(envelope-from danfe@regency.nsu.ru)
Received: from mail by mx.nsu.ru with drweb-scanned (Exim 3.35 #1 (Debian))
	id 1A22SX-0002Oj-00
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 24 Sep 2003 12:45:05 +0700
Received: from regency.nsu.ru ([193.124.210.26])
	by mx.nsu.ru with esmtp (Exim 3.35 #1 (Debian))
	id 1A22SV-0002MG-00
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 24 Sep 2003 12:45:03 +0700
Received: from regency.nsu.ru (localhost [127.0.0.1])
	by regency.nsu.ru (8.12.9/8.12.9) with ESMTP id h8O5k3vt006371
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 24 Sep 2003 12:46:03 +0700 (NOVST)
	(envelope-from danfe@regency.nsu.ru)
Received: (from danfe@localhost)
	by regency.nsu.ru (8.12.9/8.12.9/Submit) id h8O5k3xs006323;
	Wed, 24 Sep 2003 12:46:03 +0700 (NOVST)
Message-Id: <200309240546.h8O5k3xs006323@regency.nsu.ru>
Date: Wed, 24 Sep 2003 12:46:03 +0700 (NOVST)
From: Alexey Dokuchaev <danfe@regency.nsu.ru>
Reply-To: Alexey Dokuchaev <danfe@regency.nsu.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: NEW PORT: games/qwdtools, which converts QuakeWorld demos from QWD format to MVD
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57145
>Category:       ports
>Synopsis:       NEW PORT: games/qwdtools, which converts QuakeWorld demos from QWD format to MVD
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 23 22:50:20 PDT 2003
>Closed-Date:    Wed Sep 24 12:13:38 PDT 2003
>Last-Modified:  Wed Sep 24 12:13:38 PDT 2003
>Originator:     Alexey Dokuchaev
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
CNIT NSU
>Environment:
System: FreeBSD regency.nsu.ru 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Aug 8 20:27:14 NOVST 2003 root@regency.nsu.ru:/usr/obj/usr/src/sys/REGENCY i386
>Description:
This is a port of QWDtools For UNIX, very useful utility to convert
QuakeWorld demos from QWD format to MVD, with quite a few options.
>How-To-Repeat:
N/A
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./distinfo
#	./files
#	./files/patch-Makefile
#	./pkg-plist
#	./pkg-descr
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# New ports collection makefile for:	QWDtools
X# Date created:				24 Sen 2003
X# Whom:					Alexey Dokuchaev <danfe@regency.nsu.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	qwdtools
XPORTVERSION=	0.02
XCATEGORIES=	games converters
XMASTER_SITES=	http://www.helsinki.fi/~sandvik/qwdlinux/ \
X		http://freebsd.nsu.ru/distfiles/
XDISTNAME=	${PORTNAME}-unix-source-${PORTVERSION}
X
XMAINTAINER=	danfe@regency.nsu.ru
XCOMMENT=	Converts QuakeWorld demos from QWD format to MVD format
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-unix
XALL_TARGET=	${PORTNAME}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X. for file in INSTALL README NEWS
X	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
X. endfor
X.endif
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (qwdtools-unix-source-0.02.tar.gz) = c38678c68db9f745c86018c816ada4fd
END-of-./distinfo
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/patch-Makefile
sed 's/^X//' >./files/patch-Makefile << 'END-of-./files/patch-Makefile'
X--- Makefile.orig	Wed Sep 24 12:29:55 2003
X+++ Makefile	Wed Sep 24 12:30:19 2003
X@@ -1,9 +1,9 @@
X #Put the C compiler (eg gcc) you used after =
X-CC=gcc
X+CC?=gcc
X 
X #put the options (eg -Wall) after =
X # CFLAGS=-Wall -ansi -pedantic -g
X-CFLAGS=-Wall -ansi -pedantic
X+#CFLAGS=-Wall -ansi -pedantic
X 
X #put .c program files (eg main.c, trunk.c) after=
X SRC=dem_parse.c dem_send.c ini.c init.c main.c qwz.c tools.c
END-of-./files/patch-Makefile
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'END-of-./pkg-plist'
Xbin/qwdtools
X%%PORTDOCS%%%%DOCSDIR%%/INSTALL
X%%PORTDOCS%%%%DOCSDIR%%/README
X%%PORTDOCS%%%%DOCSDIR%%/NEWS
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-./pkg-plist
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XQWDtools is a powerful utility to convert regular uncompressed
XQuakeWorld demo files (in QWD format) to new-era multi-view format.
X
XNo QWZ format support yet, but one can always convert them to QWD
Xmanually with Qizmo and run them through QWDtools after that.
X
XWWW: http://www.helsinki.fi/~sandvik/qwdlinux/
END-of-./pkg-descr
exit


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Wed Sep 24 12:13:26 PDT 2003 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57145 
>Unformatted:
