diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2003-01-01 21:32:43 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2003-01-01 21:32:43 +0000 |
commit | 377388445f8a3e3c638dd87e6f2c433eeb05028c (patch) | |
tree | 193be48054341391687781a36d98458b497edb95 /emulators | |
parent | 7da8534d55c4fe36f23b10ac655e12cd3f965082 (diff) | |
download | ports-377388445f8a3e3c638dd87e6f2c433eeb05028c.tar.gz ports-377388445f8a3e3c638dd87e6f2c433eeb05028c.zip |
Notes
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/scummvm/Makefile | 22 | ||||
-rw-r--r-- | emulators/scummvm/distinfo | 2 | ||||
-rw-r--r-- | emulators/scummvm/files/patch-Makefile | 20 | ||||
-rw-r--r-- | emulators/scummvm/files/patch-Makefile.common | 17 | ||||
-rw-r--r-- | emulators/scummvm/files/patch-Makefile.x11 | 21 | ||||
-rw-r--r-- | emulators/scummvm/files/patch-sound::mixer.h | 11 | ||||
-rw-r--r-- | emulators/scummvm/pkg-plist | 4 |
7 files changed, 29 insertions, 68 deletions
diff --git a/emulators/scummvm/Makefile b/emulators/scummvm/Makefile index a06008b1b9ad..71651ea1e372 100644 --- a/emulators/scummvm/Makefile +++ b/emulators/scummvm/Makefile @@ -6,32 +6,42 @@ # PORTNAME= scummvm -PORTVERSION= 0.2.0 +PORTVERSION= 0.3.0b CATEGORIES= games emulators MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME}_${PORTVERSION}-src -EXTRACT_SUFX= .tgz MAINTAINER= flynn@energyhq.homeip.net LIB_DEPENDS= SDL-1.1.4:${PORTSDIR}/devel/sdl12 USE_GMAKE= yes -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME}-0.3.0 +GNU_CONFIGURE= yes +USE_REINPLACE= yes -#MAKEFILE= Makefile.x11 +MAN6= scummvm.6 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 + @${REINPLACE_CMD} -e 's|\r\n|\n|' ${WRKSRC}/Makefile + @${REINPLACE_CMD} -e 's@sdl-config@sdl11-config@g' \ + ${WRKSRC}/backends/sdl/build.rules + +post-configure: + @${REINPLACE_CMD} -e 's@-lmad@@g; \ + s@:= -g -O@+= ${CFLAGS}@' \ + ${WRKSRC}/Makefile do-install: @${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin + @${INSTALL_MAN} ${WRKSRC}/scummvm.6 ${PREFIX}/man/man6 + .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for docs in copying.txt readme.txt whatsnew.txt +.for docs in README @${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR} .endfor .endif diff --git a/emulators/scummvm/distinfo b/emulators/scummvm/distinfo index 6cbf86bff4b2..feefca9758c4 100644 --- a/emulators/scummvm/distinfo +++ b/emulators/scummvm/distinfo @@ -1 +1 @@ -MD5 (scummvm_0.2.0-src.tgz) = faba7c1541c1e656813adeb65cc5fe72 +MD5 (scummvm_0.3.0b-src.tar.gz) = 2192a22fb40f7c63c4f6f862ad60897c diff --git a/emulators/scummvm/files/patch-Makefile b/emulators/scummvm/files/patch-Makefile deleted file mode 100644 index 2b95d83fc14c..000000000000 --- a/emulators/scummvm/files/patch-Makefile +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.orig Tue May 14 17:11:37 2002 -+++ Makefile Tue May 14 17:12:23 2002 -@@ -1,14 +1,13 @@ - # $Header: /cvsroot/scummvm/scummvm/Makefile,v 1.41 2002/04/27 16:58:28 ender Exp $ - --CC = g++ --CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -+CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar - DEFINES = -DUNIX - LDFLAGS := --INCLUDES:= `sdl-config --cflags` -I./ -I./sound -+INCLUDES:= `sdl11-config --cflags` -I./ -I./sound - CPPFLAGS= $(DEFINES) $(INCLUDES) - - # Add -lmad for -DCOMPRESSED_SOUND_FILE --LIBS = `sdl-config --libs` -lncurses -+LIBS = `sdl11-config --libs` -lncurses - - OBJS = sdl.o - diff --git a/emulators/scummvm/files/patch-Makefile.common b/emulators/scummvm/files/patch-Makefile.common deleted file mode 100644 index 4433617646c9..000000000000 --- a/emulators/scummvm/files/patch-Makefile.common +++ /dev/null @@ -1,17 +0,0 @@ ---- Makefile.common.orig Tue May 14 17:14:18 2002 -+++ Makefile.common Tue May 14 17:14:28 2002 -@@ -19,12 +19,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$(EXEEXT) - - scummvm$(EXEEXT): $(OBJS) -- $(CC) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS) -+ $(CXX) $(LDFLAGS) -o $(@) $(OBJS) $(LIBS) - - clean: - rm -f $(OBJS) scummvm$(EXEEXT) diff --git a/emulators/scummvm/files/patch-Makefile.x11 b/emulators/scummvm/files/patch-Makefile.x11 deleted file mode 100644 index f0fc01a326d9..000000000000 --- a/emulators/scummvm/files/patch-Makefile.x11 +++ /dev/null @@ -1,21 +0,0 @@ ---- Makefile.x11.orig Sat Apr 27 07:06:27 2002 -+++ Makefile.x11 Tue May 14 17:12:04 2002 -@@ -1,14 +1,13 @@ - # $Header: /cvsroot/scummvm/scummvm/Makefile.x11,v 1.4 2002/04/27 11:06:27 fingolfin Exp $ - --CC = gcc --CFLAGS = -g -O -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -DCOMPRESSED_SOUND_FILE -+CFLAGS += -Wall -Wstrict-prototypes -Wuninitialized -Wno-long-long -Wno-multichar -DCOMPRESSED_SOUND_FILE - DEFINES = -DUNIX_X11 --LDFLAGS := -L/usr/X11R6/lib -L/usr/local/lib --INCLUDES:= -I/usr/X11R6/include -I./ -I./sound -I/usr/local/include -+LDFLAGS := -L${X11BASE}/lib -L${LOCALBASE}/lib -+INCLUDES:= -I${X11BASE}/include -I./ -I./sound -I${LOCALBASE}/include - CPPFLAGS= $(DEFINES) $(INCLUDES) - - # Add -lmad for -DCOMPRESSED_SOUND_FILE --LIBS = -lXext -lX11 -lncurses -lm -lmad -lpthread -+LIBS = -lXext -lX11 -lncurses -lm -lmad ${PTHREAD_LIBS} - - OBJS = x11.o - diff --git a/emulators/scummvm/files/patch-sound::mixer.h b/emulators/scummvm/files/patch-sound::mixer.h new file mode 100644 index 000000000000..35b749684e18 --- /dev/null +++ b/emulators/scummvm/files/patch-sound::mixer.h @@ -0,0 +1,11 @@ +--- sound/mixer.h.orig Wed Jan 1 13:21:10 2003 ++++ sound/mixer.h Wed Jan 1 13:21:41 2003 +@@ -25,6 +25,8 @@ + + #include <stdio.h> + ++#undef USE_MAD ++ + #ifdef USE_MAD + #include <mad.h> + #endif diff --git a/emulators/scummvm/pkg-plist b/emulators/scummvm/pkg-plist index fbbe85fe8c14..5dcfc67bdc03 100644 --- a/emulators/scummvm/pkg-plist +++ b/emulators/scummvm/pkg-plist @@ -1,5 +1,3 @@ bin/scummvm -%%PORTDOCS%%share/doc/scummvm/copying.txt -%%PORTDOCS%%share/doc/scummvm/readme.txt -%%PORTDOCS%%share/doc/scummvm/whatsnew.txt +%%PORTDOCS%%share/doc/scummvm/README %%PORTDOCS%%@dirrm share/doc/scummvm |