Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  2 Sep 2003 23:47:38 +0100 (BST)
From:      Alex Trull <alexander@trull.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56335: Updted Port 'games/scummvm-tools' to 0.5.0
Message-ID:  <20030902224738.12ED9168620@moonbase.turandot.net>
Resent-Message-ID: <200309022250.h82MoMLN059340@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         56335
>Category:       ports
>Synopsis:       Updted Port 'games/scummvm-tools' to 0.5.0
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 02 15:50:22 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Trull
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:

# 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:
#
#	/usr/ports/games/scummvm-tools
#	/usr/ports/games/scummvm-tools/files
#	/usr/ports/games/scummvm-tools/files/patch-simon1descr.c
#	/usr/ports/games/scummvm-tools/Makefile
#	/usr/ports/games/scummvm-tools/distinfo
#	/usr/ports/games/scummvm-tools/pkg-descr
#	/usr/ports/games/scummvm-tools/pkg-plist
#
echo c - /usr/ports/games/scummvm-tools
mkdir -p /usr/ports/games/scummvm-tools > /dev/null 2>&1
echo c - /usr/ports/games/scummvm-tools/files
mkdir -p /usr/ports/games/scummvm-tools/files > /dev/null 2>&1
echo x - /usr/ports/games/scummvm-tools/files/patch-simon1descr.c
sed 's/^X//' >/usr/ports/games/scummvm-tools/files/patch-simon1descr.c << 'END-of-/usr/ports/games/scummvm-tools/files/patch-simon1descr.c'
X--- simon1decr.c.orig	Tue May 27 16:34:14 2003
X+++ simon1decr.c	Tue May 27 16:34:34 2003
X@@ -26,14 +26,9 @@
X 

X #define EndGetM32(a)  ((((a)[0])<<24)|(((a)[1])<<16)|(((a)[2])<<8)|((a)[3]))

X 

X-#define SD_GETBIT(var) do { \

X-  if (!bits--) { s -= 4; if (s < src) return 0; bb=EndGetM32(s); bits=31; } \

X-  (var) = bb & 1; bb >>= 1; \

X-} while (0)

X+#define SD_GETBIT(var) do { if (!bits--) { s -= 4; if (s < src) return 0; bb=EndGetM32(s); bits=31; }  (var) = bb & 1; bb >>= 1; } while (0)

X 

X-#define SD_GETBITS(var, nbits) do { \

X-  bc=(nbits); (var)=0; while (bc--) {(var)<<=1; SD_GETBIT(bit); (var)|=bit; } \

X-} while (0)

X+#define SD_GETBITS(var, nbits) do { bc=(nbits); (var)=0; while (bc--) {(var)<<=1; SD_GETBIT(bit); (var)|=bit; } } while (0)

X 

X #define SD_TYPE_LITERAL (0)

X #define SD_TYPE_MATCH   (1)

END-of-/usr/ports/games/scummvm-tools/files/patch-simon1descr.c
echo x - /usr/ports/games/scummvm-tools/Makefile
sed 's/^X//' >/usr/ports/games/scummvm-tools/Makefile << 'END-of-/usr/ports/games/scummvm-tools/Makefile'
X# New ports collection makefile for:	scummvm-tools
X# Date created:				28 May 2003
X# Whom:					Adam Weinberger <adamw@FreeBSD.org>
X#
X# $FreeBSD: ports/games/scummvm-tools/Makefile,v 1.1 2003/06/02 01:42:35 adamw Exp $
X#
X
XPORTNAME=	scummvm-tools
XPORTVERSION=	0.5.0
XCATEGORIES=	games emulators
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	scummvm
X
XMAINTAINER=	alexander@trull.com
XCOMMENT=	Tools for use with the SCUMMVM game emulator
X
XRUN_DEPENDS=	scummvm:${PORTSDIR}/games/scummvm
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
XUSE_REINPLACE=	yes
X
Xpre-patch:
X	@${REINPLACE_CMD} -e 's@:= -g -O@+= ${CFLAGS}@' \
X		${WRKSRC}/Makefile
X
Xdo-install:
X.for i in extract rescumm descumm descumm6 simon1decr simon2mp3
X	@${INSTALL_PROGRAM} ${WRKSRC}/$i ${PREFIX}/bin
X.endfor
X
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-/usr/ports/games/scummvm-tools/Makefile
echo x - /usr/ports/games/scummvm-tools/distinfo
sed 's/^X//' >/usr/ports/games/scummvm-tools/distinfo << 'END-of-/usr/ports/games/scummvm-tools/distinfo'
XMD5 (scummvm-tools-0.5.0.tar.bz2) = 4d9d4821b2cac5225ac408f00a69c189
END-of-/usr/ports/games/scummvm-tools/distinfo
echo x - /usr/ports/games/scummvm-tools/pkg-descr
sed 's/^X//' >/usr/ports/games/scummvm-tools/pkg-descr << 'END-of-/usr/ports/games/scummvm-tools/pkg-descr'
XThis is a collection of various tools that may be useful to use in
Xconjunction with ScummVM. It includes tools that will allow you to
Xdecompile and extract SCUMM scripts from various games, as well as
Xgraphics and sound. Of special note is the extract utility, which
Xuses libmp3lame to compress a monster.sou file to about 25% its
Xoriginal size.
X
XWWW: http://scummvm.sourceforge.net/
X
X-Miguel Mendez <flynn@energyhq.es.eu.org>
END-of-/usr/ports/games/scummvm-tools/pkg-descr
echo x - /usr/ports/games/scummvm-tools/pkg-plist
sed 's/^X//' >/usr/ports/games/scummvm-tools/pkg-plist << 'END-of-/usr/ports/games/scummvm-tools/pkg-plist'
Xbin/extract
Xbin/rescumm
Xbin/descumm
Xbin/descumm6
Xbin/simon1decr
Xbin/simon2mp3
X%%PORTDOCS%%share/doc/scummvm-tools/README
X%%PORTDOCS%%@dirrm share/doc/scummvm-tools
END-of-/usr/ports/games/scummvm-tools/pkg-plist
exit


>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030902224738.12ED9168620>