summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2025-03-31 16:59:16 +0200
committerRene Ladan <rene@FreeBSD.org>2025-03-31 16:59:33 +0200
commite479fae14002af9ee44627dac8fc9c7f5f269b4f (patch)
treed1680ce1d2dd9b0a04d2a6c9c3d1bf359e179511
parentx11/terminator: recover the active port by updating to 2.1.4 (diff)
emulators/libretro-mame: Remove expired port
2025-03-31 emulators/libretro-mame: Uses expired Python 3.8
-rw-r--r--MOVED1
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/libretro-mame/Makefile78
-rw-r--r--emulators/libretro-mame/distinfo3
-rw-r--r--emulators/libretro-mame/files/patch-Makefile.libretro11
-rw-r--r--emulators/libretro-mame/files/patch-makefile20
-rw-r--r--emulators/libretro-mame/pkg-descr1
7 files changed, 1 insertions, 114 deletions
diff --git a/MOVED b/MOVED
index d22d822d6c14..46b1d6263e0d 100644
--- a/MOVED
+++ b/MOVED
@@ -4259,3 +4259,4 @@ devel/ocaml-type_conv|devel/ocaml-ppxlib|2025-03-31|Has expired: Deprecated, ups
multimedia/dirac||2025-03-31|Has expired: Legacy video codec superseded by multiple formats. Files can be decoded using FFmpeg
ports-mgmt/py-pytoport||2025-03-31|Has expired: Depends on expired misc/py-spdx-lookup
net/py-ec2-cli-tools||2025-03-31|Has expired: Depends on expired devel/py-boto
+emulators/libretro-mame||2025-03-31|Has expired: Uses expired Python 3.8
diff --git a/emulators/Makefile b/emulators/Makefile
index 35f57763e918..8c5cb1a960c2 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -63,7 +63,6 @@
SUBDIR += libretro-bsnes
SUBDIR += libretro-flycast
SUBDIR += libretro-kronos
- SUBDIR += libretro-mame
SUBDIR += libretro-pcsx2
SUBDIR += libretro-ppsspp
SUBDIR += libretro-reicast
diff --git a/emulators/libretro-mame/Makefile b/emulators/libretro-mame/Makefile
deleted file mode 100644
index 67ea6c9c002f..000000000000
--- a/emulators/libretro-mame/Makefile
+++ /dev/null
@@ -1,78 +0,0 @@
-PORTNAME= libretro-mame
-PORTVERSION= 20220124
-PORTREVISION= 1
-CATEGORIES= emulators games
-
-MAINTAINER= beyert@cs.ucr.edu
-COMMENT= MAME-current for libretro
-WWW= https://github.com/libretro/mame
-
-LICENSE= BSD2CLAUSE GPLv2
-LICENSE_COMB= multi
-
-DEPRECATED= Uses expired Python 3.8
-EXPIRATION_DATE=2025-03-31
-
-USES= compiler:c++11-lib gl gmake pkgconfig python:3.8,build
-USE_LDCONFIG= yes
-
-USE_GL= gl
-
-USE_GITHUB= yes
-GH_ACCOUNT= libretro
-GH_PROJECT= mame
-GH_TAGNAME= ec47e94
-
-MAKEFILE= ${WRKSRC}/Makefile.libretro
-
-MAKE_ENV= ARCH=${ARCH} \
- CXX="${CXX}" \
- LD="${CXX}" \
- OPT_FLAGS="${CXXFLAGS}" \
- PYTHON="${PYTHON_CMD}" \
- PYTHON_EXECUTABLE="${PYTHON_CMD}"
-
-GENIE= ${WRKSRC}/3rdparty/genie
-
-MAKE_JOBS_UNSAFE= yes
-
-PLIST_FILES= lib/libretro/mame_libretro.so
-
-post-patch:
- @${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/dirent.h
- @${RM} ${WRKSRC}/3rdparty/bx/include/compat/freebsd/signal.h
- @${ECHO_CMD} ${MV} ${GENIE}/build/gmake.freebsd ${GENIE}/build/gmake.bsd
- @${REINPLACE_CMD} -e \
- 's|^\(CC \)|#\1| ; \
- s|^\(CXX \)|#\1| ; \
- s|^\(CXX:\)|#\1| ; \
- s|^\(LD \)|#\1| ; \
- s|^\(PYTHON \)|#\1| ; \
- s| .(ARCH)|| ; \
- s|FreeBSD|${OPSYS}|g' \
- ${WRKSRC}/makefile \
- ${GENIE}/build/gmake.freebsd/genie.make
- @${REINPLACE_CMD} -e 's|gcc|${CC}|; s|g++|${CXX}|' \
- ${GENIE}/src/tools/gcc.lua \
- ${GENIE}/src/tools/snc.lua \
- ${GENIE}/tests/test_gmake_cpp.lua
- @${REINPLACE_CMD} -e 's|= \"gcc|= \"${CC}|; s|= \"${CXX}|= \"c++|' \
- -e "s|'CXX =|'#CXX =|; s|'CC =|'#CC =|; s| .(ARCH)| |g" \
- ${GENIE}/src/host/scripts.c
-# we can't fix two types of python shebangs, so do these manually
- @${REINPLACE_CMD} -i "" -e "s|/usr/bin/env python|${PYTHON_CMD}|" \
- ${WRKSRC}/scripts/build/png*.py
- @${REINPLACE_CMD} -e 's|"python"|"${PYTHON_CMD}"|' \
- ${WRKSRC}/scripts/genie.lua
- @${GREP} -rl '"png.h"' ${WRKSRC}/src | ${XARGS} ${REINPLACE_CMD} \
- -e 's|"png.h"|"localpng.h"|'
- @${REINPLACE_CMD} -e 's|"util/png.h"|"util/localpng.h"|' \
- ${WRKSRC}/src/frontend/mame/ui/icorender.cpp
- @${MV} ${WRKSRC}/src/lib/util/png.h ${WRKSRC}/src/lib/util/localpng.h
-
-do-install:
- @${MKDIR} ${STAGEDIR}/${PREFIX}/lib/libretro;
- ${INSTALL_LIB} ${WRKSRC}/mame_libretro.so \
- ${STAGEDIR}/${PREFIX}/lib/libretro;
-
-.include <bsd.port.mk>
diff --git a/emulators/libretro-mame/distinfo b/emulators/libretro-mame/distinfo
deleted file mode 100644
index d8042a7c4de1..000000000000
--- a/emulators/libretro-mame/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1653366767
-SHA256 (libretro-mame-20220124-ec47e94_GH0.tar.gz) = 776e7159d35bcef0bd0ae9b71956c85b5e8f5dee1ad207ec09b3d37db9f9a915
-SIZE (libretro-mame-20220124-ec47e94_GH0.tar.gz) = 183781090
diff --git a/emulators/libretro-mame/files/patch-Makefile.libretro b/emulators/libretro-mame/files/patch-Makefile.libretro
deleted file mode 100644
index 0c7da5fc496a..000000000000
--- a/emulators/libretro-mame/files/patch-Makefile.libretro
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.libretro.orig 2022-01-24 21:33:37 UTC
-+++ Makefile.libretro
-@@ -61,6 +61,8 @@ endif
-
- ifeq ($(ARCH),x86)
- PTR64 := 0
-+else ifeq ($(ARCH),i386)
-+ PTR64 := 0
- endif
-
- ###########################################################################
diff --git a/emulators/libretro-mame/files/patch-makefile b/emulators/libretro-mame/files/patch-makefile
deleted file mode 100644
index 706100ba0799..000000000000
--- a/emulators/libretro-mame/files/patch-makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- makefile.orig 2021-04-12 15:53:19 UTC
-+++ makefile
-@@ -199,7 +199,7 @@ GENIEOS := solaris
- endif
- ifeq ($(firstword $(filter FreeBSD,$(UNAME))),FreeBSD)
- OS := freebsd
--GENIEOS := bsd
-+GENIEOS := freebsd
- endif
- ifeq ($(firstword $(filter GNU/kFreeBSD,$(UNAME))),GNU/kFreeBSD)
- OS := freebsd
-@@ -1083,7 +1083,7 @@ ifeq ($(NEW_GIT_VERSION),)
- NEW_GIT_VERSION := unknown
- endif
-
--GENIE := 3rdparty/genie/bin/$(GENIEOS)/genie$(EXE)
-+GENIE := 3rdparty/genie/bin/bsd/genie$(EXE)
-
- ifeq ($(TARGET),$(SUBTARGET_FULL))
- FULLTARGET := $(TARGET)
diff --git a/emulators/libretro-mame/pkg-descr b/emulators/libretro-mame/pkg-descr
deleted file mode 100644
index d171911be67d..000000000000
--- a/emulators/libretro-mame/pkg-descr
+++ /dev/null
@@ -1 +0,0 @@
-MAME -current for libretro