ports/57145: NEW PORT: games/qwdtools, which converts QuakeWorld demos from QWD format to MVD
Alexey Dokuchaev
danfe at regency.nsu.ru
Wed Sep 24 05:50:26 UTC 2003
>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: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 23 22:50:20 PDT 2003
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list