summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/mame/Makefile9
-rw-r--r--emulators/mame/distinfo6
-rw-r--r--emulators/mame/files/patch-makefile32
-rw-r--r--emulators/mame/pkg-plist21
4 files changed, 32 insertions, 36 deletions
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 3bb88e108574..d5ffa1b56b2f 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME?= mame
-PORTVERSION= 0.209
-PORTREVISION= 1
+PORTVERSION= 0.212
CATEGORIES= emulators
MAINTAINER= ports@FreeBSD.org
@@ -17,7 +16,8 @@ ONLY_FOR_ARCHS_REASON= not yet ported to any arch other than x86 and powerpc64
LIB_DEPENDS= libFLAC.so:audio/flac \
libexpat.so:textproc/expat2 \
libfontconfig.so:x11-fonts/fontconfig \
- libfreetype.so:print/freetype2
+ libfreetype.so:print/freetype2 \
+ libpugixml.so:textproc/pugixml
RUN_DEPENDS= liberation-fonts-ttf>=0:x11-fonts/liberation-fonts-ttf
USES= compiler:c++14-lang gl gmake jpeg pkgconfig \
@@ -45,7 +45,7 @@ MAKE_ENV= NOWERROR=1 USE_NETWORK=1 \
LD="${CXX}" PYTHON="${PYTHON_CMD}" \
OPT_FLAGS="${CXXFLAGS}" GCC_LDFLAGS="${LDFLAGS}" \
TARGET="${MTARGET}" SUBTARGET="${MSUBTARGET}" FULLNAME="mame" SDL_NETWORK="pcap"
-MAKE_ARGS= TARGETOS=freebsd VERBOSE=1 TOOLS=1
+MAKE_ARGS= TARGETOS=freebsd VERBOSE=1 TOOLS=1 USE_SYSTEM_LIB_PUGIXML=1
MAKEFILE= makefile
GENIE= ${WRKSRC}/3rdparty/genie
PORTDOCS= *
@@ -80,7 +80,6 @@ post-patch:
s| .(ARCH)|| ; \
s|FreeBSD|${OPSYS}|g' \
${WRKSRC}/makefile \
- ${WRKSRC}/src/devices/cpu/m68000/makefile \
${GENIE}/build/gmake.bsd/genie.make
@${REINPLACE_CMD} -e 's|gcc|cc|; s|g++|c++|' \
${GENIE}/src/tools/gcc.lua \
diff --git a/emulators/mame/distinfo b/emulators/mame/distinfo
index d38e39559fab..e1ea74290565 100644
--- a/emulators/mame/distinfo
+++ b/emulators/mame/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1556369525
-SHA256 (mamedev-mame-0.209-mame0209_GH0.tar.gz) = 9442e88bd87cfe407eb093a2ecb42a3850cabe31cd52c4efdef1bf7f584a8eab
-SIZE (mamedev-mame-0.209-mame0209_GH0.tar.gz) = 146403114
+TIMESTAMP = 1565317830
+SHA256 (mamedev-mame-0.212-mame0212_GH0.tar.gz) = 3d3599c49626b240e98b1433c0813e11e471846154e8d29261d345cc78fc9a21
+SIZE (mamedev-mame-0.212-mame0212_GH0.tar.gz) = 148502748
diff --git a/emulators/mame/files/patch-makefile b/emulators/mame/files/patch-makefile
index 48fadd74adc2..b1c79c9fca99 100644
--- a/emulators/mame/files/patch-makefile
+++ b/emulators/mame/files/patch-makefile
@@ -1,6 +1,6 @@
---- makefile.orig 2019-04-24 05:00:38 UTC
+--- makefile.orig 2019-06-26 10:25:30 UTC
+++ makefile
-@@ -194,19 +194,19 @@ GENIEOS := solaris
+@@ -195,19 +195,19 @@ GENIEOS := solaris
endif
ifeq ($(firstword $(filter FreeBSD,$(UNAME))),FreeBSD)
OS := freebsd
@@ -24,7 +24,7 @@
endif
ifeq ($(firstword $(filter Darwin,$(UNAME))),Darwin)
OS := macosx
-@@ -395,13 +395,13 @@ endif
+@@ -396,13 +396,13 @@ endif
endif # BIGENDIAN
ifndef PYTHON_EXECUTABLE
@@ -43,7 +43,7 @@
#-------------------------------------------------
# specify OSD layer: windows, sdl, etc.
-@@ -531,19 +531,19 @@ endif
+@@ -532,19 +532,19 @@ endif
ifdef OVERRIDE_CC
PARAMS += --CC='$(OVERRIDE_CC)'
ifndef CROSS_BUILD
@@ -66,27 +66,3 @@
endif
endif
-@@ -1400,6 +1400,23 @@ freebsd: freebsd_x86
- freebsd_x86: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd/Makefile
- $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd config=$(CONFIG)32 precompile
- $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd config=$(CONFIG)32
-+
-+#-------------------------------------------------
-+# gmake-freebsd-clang
-+#-------------------------------------------------
-+
-+$(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile: makefile $(SCRIPTS) $(GENIE)
-+ $(SILENT) $(GENIE) $(PARAMS) $(TARGET_PARAMS) --gcc=freebsd-clang --gcc_version=$(CLANG_VERSION) $(MAKETYPE)
-+
-+.PHONY: freebsd_x64_clang
-+freebsd_x64_clang: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)64 precompile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)64
-+
-+.PHONY: freebsd_x86_clang
-+freebsd_x86_clang: generate $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang/Makefile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)32 precompile
-+ $(SILENT) $(MAKE) -C $(PROJECTDIR)/$(MAKETYPE)-freebsd-clang config=$(CONFIG)32
-
- #-------------------------------------------------
- # gmake-freebsd-clang
diff --git a/emulators/mame/pkg-plist b/emulators/mame/pkg-plist
index 18a61bf1bfe1..9eb006e0d13e 100644
--- a/emulators/mame/pkg-plist
+++ b/emulators/mame/pkg-plist
@@ -31,6 +31,19 @@ libexec/mame/unidasm
%%DATADIR%%/artwork/bgfx/chains/hq2x.png
%%DATADIR%%/artwork/bgfx/chains/hq3x.png
%%DATADIR%%/artwork/bgfx/chains/hq4x.png
+%%DATADIR%%/artwork/chess/README.md
+%%DATADIR%%/artwork/chess/bb.png
+%%DATADIR%%/artwork/chess/bk.png
+%%DATADIR%%/artwork/chess/bn.png
+%%DATADIR%%/artwork/chess/bp.png
+%%DATADIR%%/artwork/chess/bq.png
+%%DATADIR%%/artwork/chess/br.png
+%%DATADIR%%/artwork/chess/wb.png
+%%DATADIR%%/artwork/chess/wk.png
+%%DATADIR%%/artwork/chess/wn.png
+%%DATADIR%%/artwork/chess/wp.png
+%%DATADIR%%/artwork/chess/wq.png
+%%DATADIR%%/artwork/chess/wr.png
%%DATADIR%%/artwork/dir.txt
%%DATADIR%%/artwork/monochrome-chessboard.png
%%DATADIR%%/artwork/monochrome-matrix.png
@@ -148,6 +161,7 @@ libexec/mame/unidasm
%%DATADIR%%/hash/cd32.xml
%%DATADIR%%/hash/cdi.xml
%%DATADIR%%/hash/cdtv.xml
+%%DATADIR%%/hash/cecflop.xml
%%DATADIR%%/hash/cgenie_cass.xml
%%DATADIR%%/hash/cgenie_flop_rom.xml
%%DATADIR%%/hash/channelf.xml
@@ -182,6 +196,7 @@ libexec/mame/unidasm
%%DATADIR%%/hash/einstein.xml
%%DATADIR%%/hash/ekara_japan.xml
%%DATADIR%%/hash/ekara_japan_a.xml
+%%DATADIR%%/hash/ekara_japan_ac.xml
%%DATADIR%%/hash/ekara_japan_bh.xml
%%DATADIR%%/hash/ekara_japan_d.xml
%%DATADIR%%/hash/ekara_japan_en.xml
@@ -274,6 +289,7 @@ libexec/mame/unidasm
%%DATADIR%%/hash/jakks_gamekey_nk.xml
%%DATADIR%%/hash/jakks_gamekey_nm.xml
%%DATADIR%%/hash/jakks_gamekey_sw.xml
+%%DATADIR%%/hash/jb3000_flop.xml
%%DATADIR%%/hash/jpopira_jp.xml
%%DATADIR%%/hash/juicebox.xml
%%DATADIR%%/hash/jupace_cass.xml
@@ -312,6 +328,7 @@ libexec/mame/unidasm
%%DATADIR%%/hash/megaduck.xml
%%DATADIR%%/hash/megapc.xml
%%DATADIR%%/hash/megatech.xml
+%%DATADIR%%/hash/mephisto.xml
%%DATADIR%%/hash/microvision.xml
%%DATADIR%%/hash/mikro80.xml
%%DATADIR%%/hash/mikrosha_cart.xml
@@ -337,6 +354,9 @@ libexec/mame/unidasm
%%DATADIR%%/hash/msx2_flop.xml
%%DATADIR%%/hash/msx2p_flop.xml
%%DATADIR%%/hash/msxr_flop.xml
+%%DATADIR%%/hash/mt65_cass.xml
+%%DATADIR%%/hash/mt65_rom.xml
+%%DATADIR%%/hash/mt65_snap.xml
%%DATADIR%%/hash/mtx_cart.xml
%%DATADIR%%/hash/mtx_cass.xml
%%DATADIR%%/hash/mtx_flop.xml
@@ -450,6 +470,7 @@ libexec/mame/unidasm
%%DATADIR%%/hash/rwtrntcs.xml
%%DATADIR%%/hash/rx78.xml
%%DATADIR%%/hash/sage2.xml
+%%DATADIR%%/hash/saitek_egr.xml
%%DATADIR%%/hash/samcoupe_cass.xml
%%DATADIR%%/hash/samcoupe_flop.xml
%%DATADIR%%/hash/sat_cart.xml