scummvm, interpreter for LucasFilms games such as Day of the tentacle,

Indiana Jones, the Dig, etc.
from Jolan Luff.
This commit is contained in:
espie 2003-03-30 14:05:25 +00:00
parent c0c3f60da9
commit 03d595a659
6 changed files with 108 additions and 0 deletions

41
games/scummvm/Makefile Normal file
View File

@ -0,0 +1,41 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/03/30 14:05:25 espie Exp $
COMMENT= "play games built around LucasArts' SCUMM"
DISTNAME= scummvm_0.3.0b-src
PKGNAME= scummvm-0.3.0b
CATEGORIES= games x11 emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=scummvm/}
HOMEPAGE= http://scummvm.sourceforge.net/
MAINTAINER= Jolan Luff <jolan@cryptonomicon.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= SDL::devel/sdl \
mad::audio/mad \
vorbis.0,vorbisfile.1::audio/libvorbis
NO_REGRESS= Yes
USE_GMAKE= Yes
USE_X11= Yes
WRKDIST= ${WRKDIR}/scummvm-0.3.0
MAKE_ENV= CXXFLAGS="${CXXFLAGS}" CXX="${CXX}"
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/scummvm
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/scummvm
${INSTALL_DATA} ${WRKSRC}/scummvm.xpm ${PREFIX}/share/pixmaps
${INSTALL_MAN} ${WRKSRC}/scummvm.6 ${PREFIX}/man/man6
${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin
.include <bsd.port.mk>

3
games/scummvm/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (scummvm_0.3.0b-src.tar.gz) = 2192a22fb40f7c63c4f6f862ad60897c
RMD160 (scummvm_0.3.0b-src.tar.gz) = 9460f90e98c9a21e740e514ee3d342cf32cae133
SHA1 (scummvm_0.3.0b-src.tar.gz) = 2d5d7698f592a33c91d9c0ccc0fd1090def6724e

View File

@ -0,0 +1,35 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/03/30 14:05:25 espie Exp $
--- Makefile.orig Sun Dec 1 14:29:19 2002
+++ Makefile Fri Feb 7 03:45:05 2003
@@ -1,6 +1,6 @@
# $Header: /home/cvs/ports/games/scummvm/patches/Attic/patch-Makefile,v 1.1.1.1 2003/03/30 14:05:25 espie Exp $
-CXX = c++
+#CXX = c++
AR = ar cru
RANLIB = ranlib
RM = rm -f
@@ -17,10 +17,10 @@ CP = cp
# Default compilation parameters. Normally don't edit these #
#######################################################################
-CFLAGS := -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas
+CXXFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -Wno-unknown-pragmas
DEFINES :=
LDFLAGS :=
-INCLUDES:= -I. -Icommon
+INCLUDES:= -I. -Icommon -I${LOCALBASE}/include
LIBS :=
OBJS :=
@@ -40,8 +40,8 @@ DEFINES += -DUSE_MAD
LIBS += -lmad
# Uncomment this to activate the Ogg Vorbis lib for compressed sound files
-# DEFINES += -DUSE_VORBIS
-# LIBS += -lvorbisfile -lvorbis
+DEFINES += -DUSE_VORBIS
+LIBS += -lvorbisfile -lvorbis
# Uncomment this to activate the ALSA lib for midi
# DEFINES += -DUSE_ALSA

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-Makefile_common,v 1.1.1.1 2003/03/30 14:05:25 espie Exp $
--- Makefile.common.orig Tue Nov 26 14:11:46 2002
+++ Makefile.common Fri Feb 7 03:44:28 2003
@@ -52,7 +52,7 @@ DEPFILES = $(wildcard $(patsubst %,%/*.d
.cpp.o:
$(MKDIR) $(*D)/$(DEPDIR)
- $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d2" $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
+ $(CXX) -Wp,-MMD,"$(*D)/$(DEPDIR)/$(*F).d2" $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
$(ECHO) "$(*D)/" > $(*D)/$(DEPDIR)/$(*F).d
$(CAT) "$(*D)/$(DEPDIR)/$(*F).d2" >> "$(*D)/$(DEPDIR)/$(*F).d"
$(RM) "$(*D)/$(DEPDIR)/$(*F).d2"

10
games/scummvm/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
ScummVM is an implementation of LucasArts S.C.U.M.M. (Script Creation
Utility for Maniac Mansion) interpreter, used in games such as Monkey
Island, Indiana Jones, Day Of The Tentacle, Sam and Max, and many more.
Some things are still missing, and some games cannot be completeted yet.
There are quite a few known bugs. Regardless of the bugs it is already
possible to play some games all the way through to the end.
Note that you must own the original games to play.
WWW: ${HOMEPAGE}

7
games/scummvm/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/03/30 14:05:25 espie Exp $
bin/scummvm
man/man6/scummvm.6
share/doc/scummvm/README
share/pixmaps/scummvm.xpm
@comment @dirrm share/pixmaps
@dirrm share/doc/scummvm