diff options
author | pat <pat@FreeBSD.org> | 2002-03-27 03:28:47 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-03-27 03:28:47 +0800 |
commit | a876f6049e25dce8477a3dc1f1feb046b35947bf (patch) | |
tree | b57e1ab1ae3285cf5d326f50990410048d430b5a /emulators/scummvm | |
parent | cb2ebe7a4c203876131dd72b0cd7c52e832dba57 (diff) | |
download | freebsd-ports-gnome-a876f6049e25dce8477a3dc1f1feb046b35947bf.tar.gz freebsd-ports-gnome-a876f6049e25dce8477a3dc1f1feb046b35947bf.tar.zst freebsd-ports-gnome-a876f6049e25dce8477a3dc1f1feb046b35947bf.zip |
Add new port games/scummvm - A free implementation of LucasArts S.C.U.M.M.
interpreter
PR: 36335
Submitted by: Miguel Mendez <flynn@energyhq.homeip.net>
Diffstat (limited to 'emulators/scummvm')
-rw-r--r-- | emulators/scummvm/Makefile | 37 | ||||
-rw-r--r-- | emulators/scummvm/distinfo | 1 | ||||
-rw-r--r-- | emulators/scummvm/files/patch-Makefile | 32 | ||||
-rw-r--r-- | emulators/scummvm/pkg-comment | 1 | ||||
-rw-r--r-- | emulators/scummvm/pkg-descr | 13 | ||||
-rw-r--r-- | emulators/scummvm/pkg-plist | 5 |
6 files changed, 89 insertions, 0 deletions
diff --git a/emulators/scummvm/Makefile b/emulators/scummvm/Makefile new file mode 100644 index 000000000000..f365203e2c84 --- /dev/null +++ b/emulators/scummvm/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: scummvm +# Date created: Tue Mar 26 13:05:21 CET 2002 +# Whom: Miguel Mendez <flynn@energyhq.homeip.net> +# +# $FreeBSD$ +# + +PORTNAME= scummvm +PORTVERSION= 0.1.0 +CATEGORIES= games emulators +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +DISTNAME= ${PORTNAME}-${PORTVERSION}b + +MAINTAINER= flynn@energyhq.homeip.net + +LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 + +USE_ZIP= yes +USE_GMAKE= yes +NO_WRKSUBDIR= yes + +pre-patch: + @${FIND} -E ${WRKSRC} -type f -iregex ".*\.(cpp|h|txt)" \ + -exec ${PERL} -pi -ne 's!\r\n!\n!' {} 1>/dev/null 2>&1 \; + @${PERL} -pi -e 's|\r\n|\n|' ${WRKSRC}/Makefile + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for docs in copying.txt readme.txt whatsnew.txt + @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/emulators/scummvm/distinfo b/emulators/scummvm/distinfo new file mode 100644 index 000000000000..fad7e696a774 --- /dev/null +++ b/emulators/scummvm/distinfo @@ -0,0 +1 @@ +MD5 (scummvm-0.1.0b.zip) = 890866eadd9bb577294c8cc08ea67261 diff --git a/emulators/scummvm/files/patch-Makefile b/emulators/scummvm/files/patch-Makefile new file mode 100644 index 000000000000..a724b8cb19b9 --- /dev/null +++ b/emulators/scummvm/files/patch-Makefile @@ -0,0 +1,32 @@ +--- Makefile.orig Tue Jan 15 08:06:24 2002 ++++ Makefile Tue Mar 26 13:17:48 2002 +@@ -1,12 +1,10 @@ + # $Header: /cvsroot/scummvm/scummvm/Makefile,v 1.19 2002/01/13 19:48:30 strigeus Exp $ + +-CC = gcc +-CFLAGS = -g -Wno-multichar + DEFINES = -DUNIX -DUSE_ADLIB + LDFLAGS := +-INCLUDES:= `sdl-config --cflags` -I./ -I./sound +-CPPFLAGS= $(DEFINES) $(INCLUDES) +-LIBS = `sdl-config --libs` -lreadline -lncurses -lhistory -lm ++INCLUDES:= `sdl11-config --cflags` -I./ -I./sound ++CPPFLAGS+= $(DEFINES) $(INCLUDES) ++LIBS = `sdl11-config --libs` -lreadline -lncurses -lhistory -lm + ZIPFILE := scummvm-`date '+%Y-%m-%d'`.zip + + INCS = scumm.h scummsys.h stdafx.h +@@ -22,12 +20,12 @@ + scummvm.dsp scummvm.dsw sound/fmopl.h gui.h sound.h + + .cpp.o: +- $(CC) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o ++ $(CXX) $(CFLAGS) $(CPPFLAGS) -c $(<) -o $*.o + + all: scummvm + + scummvm: $(OBJS) +- $(CC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS) ++ $(CXX) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS) + + $(OBJS): Makefile diff --git a/emulators/scummvm/pkg-comment b/emulators/scummvm/pkg-comment new file mode 100644 index 000000000000..312a3b1465c9 --- /dev/null +++ b/emulators/scummvm/pkg-comment @@ -0,0 +1 @@ +Free implementation of LucasArts S.C.U.M.M. interpreter diff --git a/emulators/scummvm/pkg-descr b/emulators/scummvm/pkg-descr new file mode 100644 index 000000000000..1441c5787d68 --- /dev/null +++ b/emulators/scummvm/pkg-descr @@ -0,0 +1,13 @@ +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 still possible to play some games all the +way through to the end. Still other games do not load at all. + +Visit these following web pages for more information: + +WWW: http://scummvm.sourceforge.net/ + +- Miguel Mendez +flynn@energyhq.homeip.net diff --git a/emulators/scummvm/pkg-plist b/emulators/scummvm/pkg-plist new file mode 100644 index 000000000000..fbbe85fe8c14 --- /dev/null +++ b/emulators/scummvm/pkg-plist @@ -0,0 +1,5 @@ +bin/scummvm +%%PORTDOCS%%share/doc/scummvm/copying.txt +%%PORTDOCS%%share/doc/scummvm/readme.txt +%%PORTDOCS%%share/doc/scummvm/whatsnew.txt +%%PORTDOCS%%@dirrm share/doc/scummvm |