aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-04-06 02:39:46 +0800
committerahze <ahze@FreeBSD.org>2005-04-06 02:39:46 +0800
commitcb9d7dcc3602daef7a96e8cb088f4454fef7afb2 (patch)
tree86048363b4d6e1ad63fdd1a292e61b478c5b1fc7 /emulators
parenta585b8ae8bd9f012e705713f4b8599cc28138c90 (diff)
downloadfreebsd-ports-gnome-cb9d7dcc3602daef7a96e8cb088f4454fef7afb2.tar.gz
freebsd-ports-gnome-cb9d7dcc3602daef7a96e8cb088f4454fef7afb2.tar.zst
freebsd-ports-gnome-cb9d7dcc3602daef7a96e8cb088f4454fef7afb2.zip
- Update to 0.95
PR: ports/79450 Submitted by: maintainer
Diffstat (limited to 'emulators')
-rw-r--r--emulators/xmame/Makefile8
-rw-r--r--emulators/xmame/distinfo4
-rw-r--r--emulators/xmame/files/patch-makefile.mes11
-rw-r--r--emulators/xmame/files/patch-src-unix-joystick-drivers-joy_usb.c11
-rw-r--r--emulators/xmame/files/patch-src-unix-unix.mak11
-rw-r--r--emulators/xmame/files/patch-src-unix-video-drivers-xf86_dga1.c13
-rw-r--r--emulators/xmame/files/patch-src-unix-video-drivers-xf86_dga2.c13
-rw-r--r--emulators/xmame/pkg-plist2
8 files changed, 37 insertions, 36 deletions
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 307b64d96bce..1478b3831371 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME?= xmame
-PORTVERSION?= 0.94
+PORTVERSION?= 0.95
CATEGORIES= emulators
MASTER_SITES= http://x.mame.net/download/:xmame \
http://www.sys2064.com/files/util/:history \
@@ -273,6 +273,12 @@ post-install:
${INSTALL_PROGRAM} ${WRKSRC}/romcmp ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/chdman ${PREFIX}/bin
.endif
+
+.if ${MAMEMESS} == "mess"
+ ${INSTALL_PROGRAM} ${WRKSRC}/imgtool ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/dat2html ${PREFIX}/bin
+.endif
+
${MV} ${PREFIX}/bin/x${MAMEMESS}.${DISPLAY_METHOD} \
${PREFIX}/bin/x${MAMEMESS}
${CHOWN} root:games ${PREFIX}/bin/x${MAMEMESS}
diff --git a/emulators/xmame/distinfo b/emulators/xmame/distinfo
index df79e8963e1b..ee869bd16c70 100644
--- a/emulators/xmame/distinfo
+++ b/emulators/xmame/distinfo
@@ -1,5 +1,5 @@
-MD5 (xmame/xmame-0.94.tar.bz2) = 755133f9c6712621fa0e1bedef88b0a9
-SIZE (xmame/xmame-0.94.tar.bz2) = 15388074
+MD5 (xmame/xmame-0.95.tar.bz2) = e2571ce90bdf1517eea4d8085170fe6c
+SIZE (xmame/xmame-0.95.tar.bz2) = 15460834
MD5 (xmame/uhsdat795.zip) = c30956e15cd8218f558f41013a47f22e
SIZE (xmame/uhsdat795.zip) = 43750
MD5 (xmame/history.dat.zip) = 8c758537d5f5bc90fc3224b19421ae12
diff --git a/emulators/xmame/files/patch-makefile.mes b/emulators/xmame/files/patch-makefile.mes
deleted file mode 100644
index 18d003b1872b..000000000000
--- a/emulators/xmame/files/patch-makefile.mes
+++ /dev/null
@@ -1,11 +0,0 @@
---- makefile.mes.orig Mon Feb 14 18:03:35 2005
-+++ makefile.mes Mon Feb 14 18:05:09 2005
-@@ -344,7 +344,7 @@
- $(OBJ)/mess/windows/parallel.o \
- $(OBJ)/mess/windows/strconv.o
- @echo Linking $@...
-- $(LD) $(LDFLAGS) $(CONSOLE_PROGRAM) $^ -Wl,--allow-multiple-definition $(ZLIB) $(LIBS) -lwinmm -o $@
-+ touch $@
-
- # secondary libraries
- $(OBJ)/libexpat.a: $(OBJ)/expat/xmlparse.o $(OBJ)/expat/xmlrole.o $(OBJ)/expat/xmltok.o
diff --git a/emulators/xmame/files/patch-src-unix-joystick-drivers-joy_usb.c b/emulators/xmame/files/patch-src-unix-joystick-drivers-joy_usb.c
deleted file mode 100644
index 90ae5e29424f..000000000000
--- a/emulators/xmame/files/patch-src-unix-joystick-drivers-joy_usb.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/unix/joystick-drivers/joy_usb.c.orig Sun Aug 22 15:31:47 2004
-+++ src/unix/joystick-drivers/joy_usb.c Sun Aug 22 15:32:30 2004
-@@ -20,7 +20,7 @@
- };
-
- #ifdef USB_JOYSTICK
--
-+#define __ARCH_freebsd
- #if !defined(__ARCH_netbsd) && !defined(__ARCH_freebsd)
- #error "USB joysticks are only supported under NetBSD and FreeBSD. Patches to support other archs are welcome ;)"
- #endif
diff --git a/emulators/xmame/files/patch-src-unix-unix.mak b/emulators/xmame/files/patch-src-unix-unix.mak
deleted file mode 100644
index 3638f4ff4dee..000000000000
--- a/emulators/xmame/files/patch-src-unix-unix.mak
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/unix/unix.mak.orig Mon Feb 14 18:08:49 2005
-+++ src/unix/unix.mak Mon Feb 14 18:09:12 2005
-@@ -599,7 +599,7 @@
- $(OBJDIR)/sysdep/rc.o \
- $(OBJDIR)/tststubs.o
- $(CC_COMMENT) @echo 'Linking $@...'
-- $(CC_COMPILE) $(LD) $(LDFLAGS) $(MY_LIBS) $^ -Wl,--allow-multiple-definition -o $@
-+ touch $@
-
- $(OBJDIR)/tststubs.o: src/unix/tststubs.c
- $(CC_COMPILE) $(CC) $(MY_CFLAGS) -o $@ -c $<
diff --git a/emulators/xmame/files/patch-src-unix-video-drivers-xf86_dga1.c b/emulators/xmame/files/patch-src-unix-video-drivers-xf86_dga1.c
new file mode 100644
index 000000000000..b29f978c1329
--- /dev/null
+++ b/emulators/xmame/files/patch-src-unix-video-drivers-xf86_dga1.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- src/unix/video-drivers/xf86_dga1.c.orig Sun Mar 20 22:10:35 2005
++++ src/unix/video-drivers/xf86_dga1.c Sun Mar 20 22:12:24 2005
+@@ -7,6 +7,7 @@
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+
diff --git a/emulators/xmame/files/patch-src-unix-video-drivers-xf86_dga2.c b/emulators/xmame/files/patch-src-unix-video-drivers-xf86_dga2.c
new file mode 100644
index 000000000000..cd372d28a131
--- /dev/null
+++ b/emulators/xmame/files/patch-src-unix-video-drivers-xf86_dga2.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- src/unix/video-drivers/xf86_dga2.c.orig Sun Mar 20 22:16:38 2005
++++ src/unix/video-drivers/xf86_dga2.c Sun Mar 20 22:16:53 2005
+@@ -10,6 +10,7 @@
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/wait.h>
++#include <sys/time.h>
+ #include <sys/resource.h>
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+
diff --git a/emulators/xmame/pkg-plist b/emulators/xmame/pkg-plist
index b666741a69ab..56c1bba609e1 100644
--- a/emulators/xmame/pkg-plist
+++ b/emulators/xmame/pkg-plist
@@ -2,6 +2,8 @@ bin/%%MAMEMESS%%
%%MAMEONLY%%bin/xml2info
%%MAMEONLY%%bin/chdman
%%MAMEONLY%%bin/romcmp
+%%MESSONLY%%bin/imgtool
+%%MESSONLY%%bin/dat2html
etc/%%MAMEMESS%%rc.sample
share/%%MAMEMESS%%/%%MAMEMESS%%rc
%%PORTDOCS%%share/doc/%%MAMEMESS%%/changes.unix