summaryrefslogtreecommitdiff
path: root/emulators/sdlmame-devel
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/sdlmame-devel')
-rw-r--r--emulators/sdlmame-devel/Makefile57
-rw-r--r--emulators/sdlmame-devel/distinfo3
-rw-r--r--emulators/sdlmame-devel/files/patch-makefile83
-rw-r--r--emulators/sdlmame-devel/files/pkg-message.in13
-rw-r--r--emulators/sdlmame-devel/files/sdlmame.in16
-rw-r--r--emulators/sdlmame-devel/pkg-descr17
-rw-r--r--emulators/sdlmame-devel/pkg-plist30
7 files changed, 0 insertions, 219 deletions
diff --git a/emulators/sdlmame-devel/Makefile b/emulators/sdlmame-devel/Makefile
deleted file mode 100644
index 1be57e0d3130..000000000000
--- a/emulators/sdlmame-devel/Makefile
+++ /dev/null
@@ -1,57 +0,0 @@
-# New ports collection makefile for: sdlmame
-# Date created: 2007-01-10
-# Whom: alepulver
-#
-# $FreeBSD$
-#
-
-PORTNAME= sdlmame
-PORTVERSION= 0.124
-CATEGORIES= emulators
-MASTER_SITES= ftp://ftp.alepulver.com.ar/distfiles/
-DISTNAME= ${PORTNAME}${PORTVERSION:S/.//}
-
-MAINTAINER= alepulver@FreeBSD.org
-COMMENT= SDL port of the popular MAME (Multi Arcade Machine Emulator)
-
-USE_ZIP= yes
-USE_XORG= xext xrender xinerama xi
-USE_GL= gl
-USE_GMAKE= yes
-MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
-USE_SDL= sdl
-MAKEFILE= makefile
-
-SUB_FILES= ${PORTNAME} pkg-message
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
- ${MKDIR} ${PREFIX}/libexec/sdlmame
-.for f in obj/sdl/mame/build/file2str obj/sdl/mame/build/png2bdc mame \
- testkeys romcmp chdman jedutil makemeta regrep srcclean
- ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/libexec/sdlmame
-.endfor
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/ui.bdf ${DATADIR}
- ${CP} -R ${WRKSRC}/keymaps ${DATADIR}
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
- ${CP} -R ${WRKSRC}/docs ${DOCSDIR}
-.endif
-
-post-install:
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
-
-.include <bsd.port.pre.mk>
-
-# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
-# version 3.4 from ports which probably fixes this error requires a hack to
-# get around bsd.gcc.mk handling, so use a higher version than in base system.
-.if ${OSVERSION} < 600000
-USE_GCC= 4.2+
-.endif
-
-.include <bsd.port.post.mk>
diff --git a/emulators/sdlmame-devel/distinfo b/emulators/sdlmame-devel/distinfo
deleted file mode 100644
index 61dd51b0fd87..000000000000
--- a/emulators/sdlmame-devel/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (sdlmame0124.zip) = f436c418afd98d2c666cd27856f9902e
-SHA256 (sdlmame0124.zip) = b0f993878b7ad72fa8905701a40ce631a6500774b11011711003c4101ab2ed54
-SIZE (sdlmame0124.zip) = 16248845
diff --git a/emulators/sdlmame-devel/files/patch-makefile b/emulators/sdlmame-devel/files/patch-makefile
deleted file mode 100644
index 9305af94f296..000000000000
--- a/emulators/sdlmame-devel/files/patch-makefile
+++ /dev/null
@@ -1,83 +0,0 @@
---- ./makefile.orig 2008-02-28 12:45:21.000000000 -0200
-+++ ./makefile 2008-04-21 16:24:53.000000000 -0300
-@@ -104,11 +104,13 @@
- # uncomment next line to include the internal profiler
- # PROFILER = 1
-
-+ifeq ($(ARCH),i386)
- # uncomment next line to use DRC MIPS3 engine
- X86_MIPS3_DRC = 1
-
- # uncomment next line to use DRC PowerPC engine
- X86_PPC_DRC = 1
-+endif
-
- # uncomment next line to build using unix-style libsdl on Mac OS X
- # (vs. the native framework port). Normal users should not enable this.
-@@ -121,7 +123,9 @@
- #-------------------------------------------------
-
- # uncomment next line if you are building for a 64-bit target
--# PTR64 = 1
-+ifeq ($(ARCH),amd64)
-+PTR64 = 1
-+endif
-
- # uncomment next line if you are building for a big-endian target
- # BIGENDIAN = 1
-@@ -198,8 +202,8 @@
-
- # compiler, linker and utilities
- AR = @ar
--CC = @gcc
--LD = @gcc
-+CC := @$(CC)
-+LD = @$(CC)
- MD = -mkdir$(EXE)
- RM = @rm -f
-
-@@ -223,7 +227,7 @@
- endif
-
- # fullname is prefix+name+suffix+debugsuffix
--FULLNAME = $(PREFIX)$(NAME)$(SUFFIX)$(DEBUGSUFFIX)
-+FULLNAME = $(NAME)
-
- # add an EXE suffix to get the final emulator name
- EMULATOR = $(FULLNAME)$(EXE)
-@@ -293,7 +297,7 @@
- #-------------------------------------------------
-
- # we compile to C89 standard with GNU extensions
--CFLAGS = -std=gnu89
-+CFLAGS += -std=gnu89
-
- # this speeds it up a bit by piping between the preprocessor/compiler/assembler
- CFLAGS += -pipe
-@@ -331,9 +335,6 @@
- # and make all errors into warnings
- ifneq ($(OPTIMIZE),0)
- CFLAGS += $(ARCHOPTS) -fno-strict-aliasing
--ifneq ($(TARGETOS),os2)
--CFLAGS += -Werror
--endif
- endif
-
- # if symbols are on, make sure we have frame pointers
-@@ -358,6 +359,7 @@
- -I$(SRC)/lib/util \
- -I$(SRC)/osd \
- -I$(SRC)/osd/$(OSD) \
-+ -I$(LOCALBASE)/include
-
-
-
-@@ -370,7 +372,7 @@
- LDFLAGS =
- ifneq ($(TARGETOS),macosx)
- ifneq ($(TARGETOS),os2)
--LDFLAGS = -Wl,--warn-common
-+LDFLAGS = -Wl,--warn-common $(PTHREAD_LIBS) -L$(LOCALBASE)/lib
- endif
- endif
- LDFLAGSEMULATOR =
diff --git a/emulators/sdlmame-devel/files/pkg-message.in b/emulators/sdlmame-devel/files/pkg-message.in
deleted file mode 100644
index 3290fa533a30..000000000000
--- a/emulators/sdlmame-devel/files/pkg-message.in
+++ /dev/null
@@ -1,13 +0,0 @@
-==============================================================================
-
-SDLMAME has been installed.
-
-The MAME tools are installed in "%%PREFIX%%/libexec/sdlmame"
-to avoid conflicting with other MAME ports.
-
-A wrapper script "sdlmame" has been installed. It creates a "~/.sdlmame"
-directory mirroring the directory tree under "%%DATADIR%%"
-when you run it for the first time, and starts the program from there. So
-place all MAME files (e.g. ROMs, cheats, etc.) in "~/.sdlmame".
-
-==============================================================================
diff --git a/emulators/sdlmame-devel/files/sdlmame.in b/emulators/sdlmame-devel/files/sdlmame.in
deleted file mode 100644
index 099cea29a2f8..000000000000
--- a/emulators/sdlmame-devel/files/sdlmame.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-#
-# The executable needs to be run from its data directory, and needs to store
-# configuration in it. We therefore mirror the data directory hierarchy in
-# ~/.sdlmame, and create symlinks to the data files.
-#
-
-if [ ! -d ~/.sdlmame ]
-then
- cd %%DATADIR%% || exit 1
- find * -type d -exec mkdir -p ~/.sdlmame/{} \;
- find * -type f -exec ln -s %%DATADIR%%/{} ~/.sdlmame/{} \; 2>/dev/null
-fi
-
-cd ~/.sdlmame || exit 1
-exec %%PREFIX%%/libexec/sdlmame/mame "$@"
diff --git a/emulators/sdlmame-devel/pkg-descr b/emulators/sdlmame-devel/pkg-descr
deleted file mode 100644
index b297a4b68fa9..000000000000
--- a/emulators/sdlmame-devel/pkg-descr
+++ /dev/null
@@ -1,17 +0,0 @@
-SDLMAME is a port of the popular MAME. There are a few principles that guide
-it's development:
-
-1) Run on Linux/Unix, Mac OS X, and other SDL supported operating systems with
- as few changes as possible to the base Win32 code. This means we can track
- changes faster than larger more conventional ports such as MacMAME, and we
- also maintain what I call "Firefox compatibilty" where learning a major app
- only needs to be done once per application, and it then applies across many
- operating systems. If you can use the command-line Win32 MAME, you already
- know how to use SDLMAME on any platform you may encounter it on.
-
-2) MAME developers are important. By keeping quickly up to date, we make it
- easy for people on non-Windows platforms to make and submit changes to the
- core MAME code, and we offer native implementations of MAME's multi-window
- GUI debugger on both Linux/Unix and Mac OS X.
-
-WWW: http://rbelmont.mameworld.info/?page_id=163
diff --git a/emulators/sdlmame-devel/pkg-plist b/emulators/sdlmame-devel/pkg-plist
deleted file mode 100644
index 911e73cc58b2..000000000000
--- a/emulators/sdlmame-devel/pkg-plist
+++ /dev/null
@@ -1,30 +0,0 @@
-bin/sdlmame
-libexec/sdlmame/chdman
-libexec/sdlmame/file2str
-libexec/sdlmame/jedutil
-libexec/sdlmame/makemeta
-libexec/sdlmame/mame
-libexec/sdlmame/png2bdc
-libexec/sdlmame/regrep
-libexec/sdlmame/romcmp
-libexec/sdlmame/srcclean
-libexec/sdlmame/testkeys
-%%PORTDOCS%%%%DOCSDIR%%/SDLMAME.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/license.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/mame.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/newvideo.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/windows.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/config.txt
-%%PORTDOCS%%%%DOCSDIR%%/whatsnew.txt
-%%DATADIR%%/keymaps/km-be.txt
-%%DATADIR%%/keymaps/km-ch.txt
-%%DATADIR%%/keymaps/km-de.txt
-%%DATADIR%%/keymaps/km-fr-OSX.txt
-%%DATADIR%%/keymaps/km-fr.txt
-%%DATADIR%%/keymaps/km_it.txt
-%%DATADIR%%/ui.bdf
-@dirrm %%DATADIR%%/keymaps
-@dirrm %%DATADIR%%
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@dirrm libexec/sdlmame