Same as recent sdlmame commit:
- install a default mess.ini configuration file under SYSCONFDIR/mess/ - install ui.bdf to get better fonts from Pierre Riteau (maintainer)
This commit is contained in:
parent
b661e99a20
commit
2901c1f425
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2009/03/18 20:23:11 landry Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2009/04/10 13:56:46 ajacoutot Exp $
|
||||
|
||||
# Other archs have not been tested
|
||||
ONLY_FOR_ARCHS = amd64 i386
|
||||
@ -7,7 +7,7 @@ COMMENT = emulates game consoles and old home computers
|
||||
|
||||
V = 0.130
|
||||
DISTNAME = sdlmess${V:S/.//}
|
||||
PKGNAME = sdlmess-${V}p0
|
||||
PKGNAME = sdlmess-${V}p1
|
||||
|
||||
CATEGORIES = emulators games
|
||||
|
||||
@ -43,6 +43,7 @@ USE_X11 = Yes
|
||||
|
||||
NO_REGRESS = Yes
|
||||
|
||||
MAKE_FLAGS = OPT_FLAGS='-DINI_PATH="\"${SYSCONFDIR}/mess;\""'
|
||||
MAKE_ENV = ARCH=$(ARCH) CC=$(CC) CFLAGS="$(CFLAGS)" LD=$(CC) \
|
||||
TARGETOS=openbsd
|
||||
.if ${MACHINE_ARCH} == "amd64"
|
||||
@ -53,20 +54,29 @@ MAKE_FILE = makefile.sdl
|
||||
MESS_EXTBIN= dat2html imgtool
|
||||
MESS_DOC= config.txt credits.htm faq.htm imgtool.txt \
|
||||
license.txt mame.txt messnew.txt newvideo.txt
|
||||
MESS_DATA_DIR = roms hash samples artwork ctrlr cheat keymaps
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mess ${PREFIX}/bin/sdlmess
|
||||
.for i in ${MESS_EXTBIN}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/bin/
|
||||
.endfor
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/sdlmess/keymaps
|
||||
.for i in ${MESS_DATA_DIR}
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/sdlmess/${i}
|
||||
.endfor
|
||||
${INSTALL_DATA} ${WRKSRC}/keymaps/km[-_]??.txt \
|
||||
${PREFIX}/share/sdlmess/keymaps/
|
||||
${INSTALL_DATA} ${WRKSRC}/ui.bdf ${PREFIX}/share/sdlmess
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sdlmess
|
||||
.for i in ${MESS_DOC}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/${i} ${PREFIX}/share/doc/sdlmess/
|
||||
.endfor
|
||||
${INSTALL_DATA} $(WRKSRC)/SDLMESS.txt ${PREFIX}/share/doc/sdlmess/
|
||||
${INSTALL_DATA} $(WRKSRC)/sysinfo.dat ${PREFIX}/share/doc/sdlmess/
|
||||
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/sdlmess
|
||||
${SUBST_CMD} -c ${FILESDIR}/mess.ini \
|
||||
${PREFIX}/share/examples/sdlmess/mess.ini
|
||||
chown ${SHAREOWN}:${SHAREGRP} \
|
||||
${PREFIX}/share/examples/sdlmess/mess.ini
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
48
emulators/sdlmess/files/mess.ini
Normal file
48
emulators/sdlmess/files/mess.ini
Normal file
@ -0,0 +1,48 @@
|
||||
# This is the system-wide SDLMESS configuration file.
|
||||
# The following entries only list OpenBSD-specific configuration
|
||||
# and the options you may be the most interested in.
|
||||
#
|
||||
# More options are available, you can list your current configuration
|
||||
# with sdlmess -showconfig.
|
||||
#
|
||||
# Users can also create their own mess.ini in a $HOME/.mess directory
|
||||
# that can override system-wide settings.
|
||||
|
||||
#
|
||||
# CORE SEARCH PATH OPTIONS
|
||||
#
|
||||
rompath $HOME/.mess/roms;${TRUEPREFIX}/share/sdlmess/roms
|
||||
hashpath $HOME/.mess/hash;${TRUEPREFIX}/share/sdlmess/hash
|
||||
samplepath $HOME/.mess/samples;${TRUEPREFIX}/share/sdlmess/samples
|
||||
artpath $HOME/.mess/artwork;${TRUEPREFIX}/share/sdlmess/artwork
|
||||
ctrlrpath $HOME/.mess/ctrlr;${TRUEPREFIX}/share/sdlmess/ctrlr
|
||||
inipath $HOME/.mess;${SYSCONFDIR}/mess
|
||||
fontpath $HOME/.mess;${TRUEPREFIX}/share/sdlmess
|
||||
cheatpath $HOME/.mess/cheat;${TRUEPREFIX}/share/sdlmess/cheat
|
||||
|
||||
#
|
||||
# CORE OUTPUT DIRECTORY OPTIONS
|
||||
#
|
||||
cfg_directory $HOME/.mess/cfg
|
||||
nvram_directory $HOME/.mess/nvram
|
||||
memcard_directory $HOME/.mess/memcard
|
||||
input_directory $HOME/.mess/inp
|
||||
state_directory $HOME/.mess/sta
|
||||
snapshot_directory $HOME/.mess/snap
|
||||
diff_directory $HOME/.mess/diff
|
||||
comment_directory $HOME/.mess/comments
|
||||
|
||||
#
|
||||
# VIDEO OPTIONS
|
||||
#
|
||||
# Uncomment if your graphic chipset is drm(4) capable
|
||||
#video opengl
|
||||
|
||||
#
|
||||
# SDL KEYBOARD MAPPING
|
||||
#
|
||||
# If you have a non-US keyboard and your keymap is available in
|
||||
# /usr/local/share/sdlmess/keymaps, modify and uncomment the following
|
||||
# lines.
|
||||
#keymap 1
|
||||
#keymap_file ${TRUEPREFIX}/share/sdlmess/keymaps/km-fr.txt
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2009/03/18 20:23:11 landry Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2009/04/10 13:56:46 ajacoutot Exp $
|
||||
@conflict xmame+xmess-*
|
||||
@conflict xmess-*
|
||||
@bin bin/dat2html
|
||||
@ -15,10 +15,21 @@ share/doc/sdlmess/mame.txt
|
||||
share/doc/sdlmess/messnew.txt
|
||||
share/doc/sdlmess/newvideo.txt
|
||||
share/doc/sdlmess/sysinfo.dat
|
||||
share/examples/sdlmess/
|
||||
@sample ${SYSCONFDIR}/mess/
|
||||
share/examples/sdlmess/mess.ini
|
||||
@sample ${SYSCONFDIR}/mess/mess.ini
|
||||
share/sdlmess/
|
||||
share/sdlmess/artwork/
|
||||
share/sdlmess/cheat/
|
||||
share/sdlmess/ctrlr/
|
||||
share/sdlmess/hash/
|
||||
share/sdlmess/keymaps/
|
||||
share/sdlmess/keymaps/km-be.txt
|
||||
share/sdlmess/keymaps/km-ch.txt
|
||||
share/sdlmess/keymaps/km-de.txt
|
||||
share/sdlmess/keymaps/km-fr.txt
|
||||
share/sdlmess/keymaps/km_it.txt
|
||||
share/sdlmess/roms/
|
||||
share/sdlmess/samples/
|
||||
share/sdlmess/ui.bdf
|
||||
|
Loading…
x
Reference in New Issue
Block a user