mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Wah!Cade is a GNU/Linux friendly clone of Minwah's excellent MameWAH. It's a
front end for the M.A.M.E. arcade game emulator, and has been designed with arcade cabinet controls & projects in mind. WWW: http://www.anti-particle.com/wahcade.shtml PR: ports/102525 Submitted by: Nathaniel Roark <robb_force@holybuffalo.net>
This commit is contained in:
parent
9256f62717
commit
90d48a0f16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171757
@ -146,6 +146,7 @@
|
||||
SUBDIR += vpce
|
||||
SUBDIR += vx68k
|
||||
SUBDIR += vxtools
|
||||
SUBDIR += wahcade
|
||||
SUBDIR += wine
|
||||
SUBDIR += x48
|
||||
SUBDIR += xbraitenberg
|
||||
|
91
emulators/wahcade/Makefile
Normal file
91
emulators/wahcade/Makefile
Normal file
@ -0,0 +1,91 @@
|
||||
# New ports collection makefile for: Wah!Cade
|
||||
# Date created: 24 August 2006
|
||||
# Whom: Nathaniel Roark <robb_force@holybuffalo.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= wahcade
|
||||
PORTVERSION= 0.11
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://www.anti-particle.com/projects/wahcade/
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= robb_force@holybuffalo.net
|
||||
COMMENT= A frontend for almost any emulator (MameWAH clone)
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2 \
|
||||
${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
USE_PYTHON= 2.4+
|
||||
NO_BUILD= yes
|
||||
OPTIONS= MPLAYER "For movie playback." off
|
||||
# Bypass infrasructure bug (taken from www/py-turbogears)
|
||||
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
|
||||
BINDIR= ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
WITHOUT_PSYCO= yes
|
||||
.endif
|
||||
|
||||
# required for PSYCO
|
||||
.ifndef(WITHOUT_PSYCO)
|
||||
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
|
||||
.endif
|
||||
|
||||
.if defined(WITH_MPLAYER)
|
||||
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.ifndef(WITHOUT_PSYCO)
|
||||
@${ECHO_MSG} '===> Define WITHOUT_PSYCO to disable devel/py-psyco optimization'
|
||||
.endif
|
||||
|
||||
# setup.py seems to be for windows, so run the patched install script
|
||||
do-install:
|
||||
#wahcade start script
|
||||
echo "#!${BINDIR}/bash" > ${BINDIR}/${PORTNAME}
|
||||
echo "cd ${DATADIR}" >> ${BINDIR}/${PORTNAME}
|
||||
echo "python ${PORTNAME} \$*" >> ${BINDIR}/${PORTNAME}
|
||||
${CHMOD} 755 ${BINDIR}/${PORTNAME}
|
||||
|
||||
#install files
|
||||
${INSTALL} -d -v ${DATADIR}
|
||||
${INSTALL} -m 644 ${WRKSRC}/*.py ${DATADIR}
|
||||
${INSTALL} -m 755 ${WRKSRC}/${PORTNAME} ${DATADIR}
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist/ctrlr
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist/files
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist/ini
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist/layouts
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist/layouts/classic\ 640x480
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist/layouts/classic\ 800x600
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist/layouts/classic\ 1024x768
|
||||
${INSTALL} -d -v ${DATADIR}/config.dist/layouts/cpviewer
|
||||
${INSTALL} -d -v ${DATADIR}/pixmaps
|
||||
${INSTALL} -m 644 ${WRKSRC}/config.dist/*.ini ${DATADIR}/config.dist
|
||||
${INSTALL} -m 644 ${WRKSRC}/config.dist/ctrlr/*.ini ${DATADIR}/config.dist/ctrlr
|
||||
#${INSTALL} -m 644 ${WRKSRC}/config.dist/files/* ${DATADIR}/config.dist/files
|
||||
${INSTALL} -m 644 ${WRKSRC}/config.dist/ini/*.ini ${DATADIR}/config.dist/ini
|
||||
${INSTALL} -m 644 ${WRKSRC}/config.dist/layouts/classic\ 640x480/* ${DATADIR}/config.dist/layouts/classic\ 640x480
|
||||
${INSTALL} -m 644 ${WRKSRC}/config.dist/layouts/classic\ 800x600/* ${DATADIR}/config.dist/layouts/classic\ 800x600
|
||||
${INSTALL} -m 644 ${WRKSRC}/config.dist/layouts/classic\ 1024x768/* ${DATADIR}/config.dist/layouts/classic\ 1024x768
|
||||
${INSTALL} -m 644 ${WRKSRC}/config.dist/layouts/cpviewer/* ${DATADIR}/config.dist/layouts/cpviewer
|
||||
${INSTALL} -m 644 ${WRKSRC}/pixmaps/*.png ${DATADIR}/pixmaps
|
||||
|
||||
#compile everything python
|
||||
${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${DATADIR}')"
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
emulators/wahcade/distinfo
Normal file
3
emulators/wahcade/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (wahcade-0.11.tar.gz) = 899003aace0ec93709cbb6496cc83dfb
|
||||
SHA256 (wahcade-0.11.tar.gz) = 52ad28d8397aee6ddd27992d039bc1de7e7f1d2bd1fb3804a5e04fd6e30f91cb
|
||||
SIZE (wahcade-0.11.tar.gz) = 134497
|
5
emulators/wahcade/pkg-descr
Normal file
5
emulators/wahcade/pkg-descr
Normal file
@ -0,0 +1,5 @@
|
||||
Wah!Cade is a GNU/Linux friendly clone of Minwah's excellent MameWAH. It's a
|
||||
front end for the M.A.M.E. arcade game emulator, and has been designed with
|
||||
arcade cabinet controls & projects in mind.
|
||||
|
||||
WWW: http://www.anti-particle.com/wahcade.shtml
|
10
emulators/wahcade/pkg-message
Normal file
10
emulators/wahcade/pkg-message
Normal file
@ -0,0 +1,10 @@
|
||||
************************************************************************
|
||||
Wah!Cade has been successfully installed!
|
||||
|
||||
The default config files are stored in wahcade/config.dist.
|
||||
When Wah!Cade is first run these files are copied into the user's
|
||||
~/.wahcade directory.
|
||||
|
||||
HINT: Please read the README file in docs/wahcade for information on
|
||||
initial setup & configuration!
|
||||
************************************************************************
|
78
emulators/wahcade/pkg-plist
Normal file
78
emulators/wahcade/pkg-plist
Normal file
@ -0,0 +1,78 @@
|
||||
bin/wahcade
|
||||
%%DOCSDIR%%/CHANGELOG
|
||||
%%DOCSDIR%%/COPYING
|
||||
%%DOCSDIR%%/INI_FILES
|
||||
%%DOCSDIR%%/INSTALL
|
||||
%%DOCSDIR%%/KEYS
|
||||
%%DOCSDIR%%/README
|
||||
%%DOCSDIR%%/TODO
|
||||
%%DOCSDIR%%/fav_format.txt
|
||||
%%DOCSDIR%%/filter_format.txt
|
||||
%%DOCSDIR%%/gamelist_format.txt
|
||||
%%DOCSDIR%%/layout_format.txt
|
||||
%%DOCSDIR%%/xmame-x11rc
|
||||
%%DOCSDIR%%/xmame-x11rc.pre88
|
||||
%%DOCSDIR%%/xmame_options.pre88.txt
|
||||
%%DOCSDIR%%/xmame_options.txt
|
||||
%%DOCSDIR%%/xmamerc
|
||||
%%DOCSDIR%%/xmamerc.pre88
|
||||
%%DATADIR%%/config.dist/cpviewer.ini
|
||||
%%DATADIR%%/config.dist/ctrlr/default.ini
|
||||
%%DATADIR%%/config.dist/histview.ini
|
||||
%%DATADIR%%/config.dist/ini/genesis-0.ini
|
||||
%%DATADIR%%/config.dist/ini/genesis.ini
|
||||
%%DATADIR%%/config.dist/ini/mame-0.ini
|
||||
%%DATADIR%%/config.dist/ini/mame-1.ini
|
||||
%%DATADIR%%/config.dist/ini/mame.ini
|
||||
%%DATADIR%%/config.dist/ini/zsnes-0.ini
|
||||
%%DATADIR%%/config.dist/ini/zsnes.ini
|
||||
%%DATADIR%%/config.dist/layouts/classic 1024x768/layout.lay
|
||||
%%DATADIR%%/config.dist/layouts/classic 640x480/layout.lay
|
||||
%%DATADIR%%/config.dist/layouts/classic 800x600/layout.lay
|
||||
%%DATADIR%%/config.dist/layouts/cpviewer/example.jpg
|
||||
%%DATADIR%%/config.dist/layouts/cpviewer/example.lay
|
||||
%%DATADIR%%/config.dist/layouts/cpviewer/wahcade.glade
|
||||
%%DATADIR%%/config.dist/wahcade.ini
|
||||
%%DATADIR%%/constants.py
|
||||
%%DATADIR%%/constants.pyc
|
||||
%%DATADIR%%/filters.py
|
||||
%%DATADIR%%/filters.pyc
|
||||
%%DATADIR%%/key_consts.py
|
||||
%%DATADIR%%/key_consts.pyc
|
||||
%%DATADIR%%/mamewah_ini.py
|
||||
%%DATADIR%%/mamewah_ini.pyc
|
||||
%%DATADIR%%/mplayer.py
|
||||
%%DATADIR%%/mplayer.pyc
|
||||
%%DATADIR%%/pixmaps/empty.png
|
||||
%%DATADIR%%/pixmaps/wahcade.png
|
||||
%%DATADIR%%/scrolled_list.py
|
||||
%%DATADIR%%/scrolled_list.pyc
|
||||
%%DATADIR%%/setup.py
|
||||
%%DATADIR%%/setup.pyc
|
||||
%%DATADIR%%/wahcade
|
||||
%%DATADIR%%/wc_common.py
|
||||
%%DATADIR%%/wc_common.pyc
|
||||
%%DATADIR%%/win_cpviewer.py
|
||||
%%DATADIR%%/win_cpviewer.pyc
|
||||
%%DATADIR%%/win_history.py
|
||||
%%DATADIR%%/win_history.pyc
|
||||
%%DATADIR%%/win_main.py
|
||||
%%DATADIR%%/win_main.pyc
|
||||
%%DATADIR%%/win_message.py
|
||||
%%DATADIR%%/win_message.pyc
|
||||
%%DATADIR%%/win_options.py
|
||||
%%DATADIR%%/win_options.pyc
|
||||
%%DATADIR%%/win_scrsaver.py
|
||||
%%DATADIR%%/win_scrsaver.pyc
|
||||
@dirrm %%DATADIR%%/pixmaps
|
||||
@dirrm %%DATADIR%%/config.dist/layouts/cpviewer
|
||||
@dirrm %%DATADIR%%/config.dist/layouts/classic 800x600
|
||||
@dirrm %%DATADIR%%/config.dist/layouts/classic 640x480
|
||||
@dirrm %%DATADIR%%/config.dist/layouts/classic 1024x768
|
||||
@dirrm %%DATADIR%%/config.dist/layouts
|
||||
@dirrm %%DATADIR%%/config.dist/ini
|
||||
@dirrm %%DATADIR%%/config.dist/files
|
||||
@dirrm %%DATADIR%%/config.dist/ctrlr
|
||||
@dirrm %%DATADIR%%/config.dist
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user