git: f4750bfe2caa - main - emulators/mame: Update the generated sample ini files

From: Li-Wen Hsu <lwhsu_at_FreeBSD.org>
Date: Tue, 05 Sep 2023 07:50:57 UTC
The branch main has been updated by lwhsu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f4750bfe2caa13dc13d5776f21e1fdf85493e2a9

commit f4750bfe2caa13dc13d5776f21e1fdf85493e2a9
Author:     Alastair Hogge <agh@riseup.net>
AuthorDate: 2023-09-05 07:49:26 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2023-09-05 07:50:36 +0000

    emulators/mame: Update the generated sample ini files
    
    PR:             273575
---
 emulators/mame/Makefile            | 1 +
 emulators/mame/files/plugin.ini.in | 5 +----
 emulators/mame/files/ui.ini.in     | 4 ++--
 3 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index a14054ab77c3..a222ede70a16 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mame
 DISTVERSION=	0.258
+PORTREVISION=	1
 CATEGORIES=	emulators games
 
 MAINTAINER=	agh@riseup.net
diff --git a/emulators/mame/files/plugin.ini.in b/emulators/mame/files/plugin.ini.in
index 293c79bea26d..ebc16d5e426f 100644
--- a/emulators/mame/files/plugin.ini.in
+++ b/emulators/mame/files/plugin.ini.in
@@ -4,7 +4,6 @@
 autofire                  0
 cheat                     0
 cheatfind                 0
-commonui                  0
 console                   0
 data                      1
 discord                   0
@@ -12,9 +11,7 @@ dummy                     0
 gdbstub                   0
 hiscore                   0
 inputmacro                0
-json                      0
-layout                    0
+layout                    1
 portname                  0
 timecode                  0
 timer                     0
-SLAXML                    0
diff --git a/emulators/mame/files/ui.ini.in b/emulators/mame/files/ui.ini.in
index a06d82f31682..7c1f47ed22d1 100644
--- a/emulators/mame/files/ui.ini.in
+++ b/emulators/mame/files/ui.ini.in
@@ -2,7 +2,7 @@
 # UI SEARCH PATH OPTIONS
 #
 historypath               ~/.mame/histroy;~/.mame/dats;%%DATADIR%%/history/;%%DATADIR%%/dats/;.
-categorypath              folders
+categorypath              ~/.mame/folders;%%DATADIR%%/folders
 cabinets_directory        ~/.mame/cabinets;~/.mame/cabdevs;%%DATADIR%%/cabinets/;%%DATADIR%%/cabdevs/
 cpanels_directory         ~/.mame/cpanel;%%DATADIR%%/cpanel
 pcbs_directory            ~/.mame/pcb;%%DATADIR%%/pcb
@@ -20,7 +20,7 @@ howto_directory           ~/.mame/howto;%%DATADIR%%/howto
 select_directory          ~/.mame/select;%%DATADIR%%/select
 icons_directory           ~/.mame/icons;%%DATADIR%%/icons
 covers_directory          ~/.mame/covers;%%DATADIR%%/covers
-ui_path                   ui
+ui_path                   ~/.mame/ui;%%DATADIR%%/ui
 
 #
 # UI MISC OPTIONS