Date: Thu, 16 Oct 2008 11:44:11 -0700 From: "Mike Bowie" <mbowie@buzmo.com> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/128154: Update emulators/sdlmame from 0.124 to 0.128 Message-ID: <1224182651.58333@workshop.sv.fabriclabs.net> Resent-Message-ID: <200810161910.m9GJA2t5072167@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 128154 >Category: ports >Synopsis: Update emulators/sdlmame from 0.124 to 0.128 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 16 19:10:02 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mike Bowie >Release: FreeBSD 7.0-RELEASE i386 >Organization: Buzmo Solutions, LLC >Environment: System: FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC >Description: Updates emulators/sdlmame from 0.124 to 0.128. I e-mailed the maintainer a few weeks back and have had no response. If accepted, I'd ask that the distfile be mirrored if possible as the original site redirects fetch requests and I'm not certain that I can support the bandwidth required. >How-To-Repeat: >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: # # sdlmame # sdlmame/files # sdlmame/files/patch-makefile # sdlmame/files/pkg-message.in # sdlmame/files/sdlmame.in # sdlmame/files/patch-makefile.orig # sdlmame/pkg-plist # sdlmame/Makefile # sdlmame/pkg-descr # sdlmame/distinfo # echo c - sdlmame mkdir -p sdlmame > /dev/null 2>&1 echo c - sdlmame/files mkdir -p sdlmame/files > /dev/null 2>&1 echo x - sdlmame/files/patch-makefile sed 's/^X//' >sdlmame/files/patch-makefile << 'END-of-sdlmame/files/patch-makefile' X--- ./makefile.orig 2008-09-24 18:54:31.000000000 -0700 X+++ ./makefile 2008-09-24 18:54:35.000000000 -0700 X@@ -119,7 +119,9 @@ X #------------------------------------------------- X X # uncomment next line if you are building for a 64-bit target X-# PTR64 = 1 X+ifeq ($(ARCH),amd64) X+PTR64 = 1 X+endif X X # uncomment next line if you are building for a big-endian target X # BIGENDIAN = 1 X@@ -194,8 +196,8 @@ X X # compiler, linker and utilities X AR = @ar X-CC = @gcc X-LD = @gcc X+CC := @$(CC) X+LD = @$(CC) X MD = -mkdir$(EXE) X RM = @rm -f X X@@ -219,7 +221,7 @@ X endif X X # fullname is prefix+name+suffix+debugsuffix X-FULLNAME = $(PREFIX)$(NAME)$(SUFFIX)$(DEBUGSUFFIX) X+FULLNAME = $(NAME) X X # add an EXE suffix to get the final emulator name X EMULATOR = $(FULLNAME)$(EXE) X@@ -284,7 +286,7 @@ X #------------------------------------------------- X X # we compile to C89 standard with GNU extensions X-CFLAGS = -std=gnu89 X+CFLAGS += -std=gnu89 X X # this speeds it up a bit by piping between the preprocessor/compiler/assembler X CFLAGS += -pipe X@@ -327,9 +329,6 @@ X # and make all errors into warnings X ifneq ($(OPTIMIZE),0) X CFLAGS += $(ARCHOPTS) -fno-strict-aliasing X-ifneq ($(TARGETOS),os2) X-CFLAGS += -Werror X-endif X endif X X # if symbols are on, make sure we have frame pointers X@@ -354,6 +353,7 @@ X -I$(SRC)/lib/util \ X -I$(SRC)/osd \ X -I$(SRC)/osd/$(OSD) \ X+ -I$(LOCALBASE)/include X X X X@@ -367,7 +367,7 @@ X ifneq ($(TARGETOS),macosx) X ifneq ($(TARGETOS),os2) X ifneq ($(TARGETOS),solaris) X-LDFLAGS = -Wl,--warn-common X+LDFLAGS = -Wl,--warn-common $(PTHREAD_LIBS) -L$(LOCALBASE)/lib X endif X endif X endif END-of-sdlmame/files/patch-makefile echo x - sdlmame/files/pkg-message.in sed 's/^X//' >sdlmame/files/pkg-message.in << 'END-of-sdlmame/files/pkg-message.in' X============================================================================== X XSDLMAME has been installed. X XThe MAME tools are installed in "%%PREFIX%%/libexec/sdlmame" Xto avoid conflicting with other MAME ports. X XA wrapper script "sdlmame" has been installed. It creates a "~/.sdlmame" Xdirectory mirroring the directory tree under "%%DATADIR%%" Xwhen you run it for the first time, and starts the program from there. So Xplace all MAME files (e.g. ROMs, cheats, etc.) in "~/.sdlmame". X X============================================================================== END-of-sdlmame/files/pkg-message.in echo x - sdlmame/files/sdlmame.in sed 's/^X//' >sdlmame/files/sdlmame.in << 'END-of-sdlmame/files/sdlmame.in' X#!/bin/sh X# X# The executable needs to be run from its data directory, and needs to store X# configuration in it. We therefore mirror the data directory hierarchy in X# ~/.sdlmame, and create symlinks to the data files. X# X Xif [ ! -d ~/.sdlmame ] Xthen X cd %%DATADIR%% || exit 1 X find * -type d -exec mkdir -p ~/.sdlmame/{} \; X find * -type f -exec ln -s %%DATADIR%%/{} ~/.sdlmame/{} \; 2>/dev/null Xfi X Xcd ~/.sdlmame || exit 1 Xexec %%PREFIX%%/libexec/sdlmame/mame "$@" END-of-sdlmame/files/sdlmame.in echo x - sdlmame/files/patch-makefile.orig sed 's/^X//' >sdlmame/files/patch-makefile.orig << 'END-of-sdlmame/files/patch-makefile.orig' X--- ./makefile.orig 2008-02-28 12:45:21.000000000 -0200 X+++ ./makefile 2008-04-21 16:24:53.000000000 -0300 X@@ -104,11 +104,13 @@ X # uncomment next line to include the internal profiler X # PROFILER = 1 X X+ifeq ($(ARCH),i386) X # uncomment next line to use DRC MIPS3 engine X X86_MIPS3_DRC = 1 X X # uncomment next line to use DRC PowerPC engine X X86_PPC_DRC = 1 X+endif X X # uncomment next line to build using unix-style libsdl on Mac OS X X # (vs. the native framework port). Normal users should not enable this. X@@ -121,7 +123,9 @@ X #------------------------------------------------- X X # uncomment next line if you are building for a 64-bit target X-# PTR64 = 1 X+ifeq ($(ARCH),amd64) X+PTR64 = 1 X+endif X X # uncomment next line if you are building for a big-endian target X # BIGENDIAN = 1 X@@ -198,8 +202,8 @@ X X # compiler, linker and utilities X AR = @ar X-CC = @gcc X-LD = @gcc X+CC := @$(CC) X+LD = @$(CC) X MD = -mkdir$(EXE) X RM = @rm -f X X@@ -223,7 +227,7 @@ X endif X X # fullname is prefix+name+suffix+debugsuffix X-FULLNAME = $(PREFIX)$(NAME)$(SUFFIX)$(DEBUGSUFFIX) X+FULLNAME = $(NAME) X X # add an EXE suffix to get the final emulator name X EMULATOR = $(FULLNAME)$(EXE) X@@ -293,7 +297,7 @@ X #------------------------------------------------- X X # we compile to C89 standard with GNU extensions X-CFLAGS = -std=gnu89 X+CFLAGS += -std=gnu89 X X # this speeds it up a bit by piping between the preprocessor/compiler/assembler X CFLAGS += -pipe X@@ -331,9 +335,6 @@ X # and make all errors into warnings X ifneq ($(OPTIMIZE),0) X CFLAGS += $(ARCHOPTS) -fno-strict-aliasing X-ifneq ($(TARGETOS),os2) X-CFLAGS += -Werror X-endif X endif X X # if symbols are on, make sure we have frame pointers X@@ -358,6 +359,7 @@ X -I$(SRC)/lib/util \ X -I$(SRC)/osd \ X -I$(SRC)/osd/$(OSD) \ X+ -I$(LOCALBASE)/include X X X X@@ -370,7 +372,7 @@ X LDFLAGS = X ifneq ($(TARGETOS),macosx) X ifneq ($(TARGETOS),os2) X-LDFLAGS = -Wl,--warn-common X+LDFLAGS = -Wl,--warn-common $(PTHREAD_LIBS) -L$(LOCALBASE)/lib X endif X endif X LDFLAGSEMULATOR = END-of-sdlmame/files/patch-makefile.orig echo x - sdlmame/pkg-plist sed 's/^X//' >sdlmame/pkg-plist << 'END-of-sdlmame/pkg-plist' Xbin/sdlmame Xlibexec/sdlmame/chdman Xlibexec/sdlmame/file2str Xlibexec/sdlmame/jedutil Xlibexec/sdlmame/mame Xlibexec/sdlmame/png2bdc Xlibexec/sdlmame/regrep Xlibexec/sdlmame/romcmp Xlibexec/sdlmame/srcclean Xlibexec/sdlmame/testkeys X%%PORTDOCS%%%%DOCSDIR%%/SDLMAME.txt X%%PORTDOCS%%%%DOCSDIR%%/docs/license.txt X%%PORTDOCS%%%%DOCSDIR%%/docs/mame.txt X%%PORTDOCS%%%%DOCSDIR%%/docs/newvideo.txt X%%PORTDOCS%%%%DOCSDIR%%/docs/windows.txt X%%PORTDOCS%%%%DOCSDIR%%/docs/config.txt X%%PORTDOCS%%%%DOCSDIR%%/whatsnew.txt X%%DATADIR%%/keymaps/km-be.txt X%%DATADIR%%/keymaps/km-ch.txt X%%DATADIR%%/keymaps/km-de.txt X%%DATADIR%%/keymaps/km-fr-OSX.txt X%%DATADIR%%/keymaps/km-fr.txt X%%DATADIR%%/keymaps/km_it.txt X%%DATADIR%%/ui.bdf X@dirrm %%DATADIR%%/keymaps X@dirrm %%DATADIR%% X%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@dirrm libexec/sdlmame END-of-sdlmame/pkg-plist echo x - sdlmame/Makefile sed 's/^X//' >sdlmame/Makefile << 'END-of-sdlmame/Makefile' X# New ports collection makefile for: sdlmame X# Date created: 2007-01-10 X# Whom: alepulver X# X# $FreeBSD: ports/emulators/sdlmame/Makefile,v 1.18 2008/04/23 00:45:31 alepulver Exp $ X# X XPORTNAME= sdlmame XPORTVERSION= 0.128 XCATEGORIES= emulators XMASTER_SITES= http://www.buzmo.com/projects/freebsd-sdlmame/ XDISTNAME= ${PORTNAME}${PORTVERSION:S/.//} X XMAINTAINER= alepulver@FreeBSD.org XCOMMENT= SDL port of the popular MAME (Multi Arcade Machine Emulator) X XUSE_ZIP= yes XUSE_XORG= xext xrender xinerama xi XUSE_GL= gl XUSE_GMAKE= yes XMAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}" XUSE_SDL= sdl XMAKEFILE= makefile X XSUB_FILES= ${PORTNAME} pkg-message X Xdo-install: X ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin X ${MKDIR} ${PREFIX}/libexec/sdlmame X.for f in obj/sdl/mame/build/file2str obj/sdl/mame/build/png2bdc mame \ X testkeys romcmp chdman jedutil regrep srcclean X ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/libexec/sdlmame X.endfor X ${MKDIR} ${DATADIR} X ${INSTALL_DATA} ${WRKSRC}/ui.bdf ${DATADIR} X ${CP} -R ${WRKSRC}/keymaps ${DATADIR} X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR} X ${CP} -R ${WRKSRC}/docs ${DOCSDIR} X.endif X Xpost-install: X @${ECHO_CMD} X @${CAT} ${PKGMESSAGE} X @${ECHO_CMD} X X.include <bsd.port.pre.mk> X X# In FreeBSD 5.x fails to build due to an internal compiler error. Using the X# version 3.4 from ports which probably fixes this error requires a hack to X# get around bsd.gcc.mk handling, so use a higher version than in base system. X.if ${OSVERSION} < 600000 XUSE_GCC= 4.2+ X.endif X X.include <bsd.port.post.mk> END-of-sdlmame/Makefile echo x - sdlmame/pkg-descr sed 's/^X//' >sdlmame/pkg-descr << 'END-of-sdlmame/pkg-descr' XSDLMAME is a port of the popular MAME. There are a few principles that guide Xit's development: X X1) Run on Linux/Unix, Mac OS X, and other SDL supported operating systems with X as few changes as possible to the base Win32 code. This means we can track X changes faster than larger more conventional ports such as MacMAME, and we X also maintain what I call "Firefox compatibilty" where learning a major app X only needs to be done once per application, and it then applies across many X operating systems. If you can use the command-line Win32 MAME, you already X know how to use SDLMAME on any platform you may encounter it on. X X2) MAME developers are important. By keeping quickly up to date, we make it X easy for people on non-Windows platforms to make and submit changes to the X core MAME code, and we offer native implementations of MAME's multi-window X GUI debugger on both Linux/Unix and Mac OS X. X XWWW: http://rbelmont.mameworld.info/?page_id=163 END-of-sdlmame/pkg-descr echo x - sdlmame/distinfo sed 's/^X//' >sdlmame/distinfo << 'END-of-sdlmame/distinfo' XMD5 (sdlmame0128.zip) = 4bea3bb5afd2fba15f5370ef2508b5a0 XSHA256 (sdlmame0128.zip) = fa0a3304640c6bd2f20b95e4528495ad00d348beb7b4b655802384663ba58174 XSIZE (sdlmame0128.zip) = 16970652 END-of-sdlmame/distinfo exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1224182651.58333>