summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/wahcade/Makefile91
-rw-r--r--emulators/wahcade/distinfo3
-rw-r--r--emulators/wahcade/pkg-descr5
-rw-r--r--emulators/wahcade/pkg-message10
-rw-r--r--emulators/wahcade/pkg-plist78
6 files changed, 188 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 4a164b2..391d0cd 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -146,6 +146,7 @@
SUBDIR += vpce
SUBDIR += vx68k
SUBDIR += vxtools
+ SUBDIR += wahcade
SUBDIR += wine
SUBDIR += x48
SUBDIR += xbraitenberg
diff --git a/emulators/wahcade/Makefile b/emulators/wahcade/Makefile
new file mode 100644
index 0000000..6ce3e6c
--- /dev/null
+++ b/emulators/wahcade/Makefile
@@ -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>
diff --git a/emulators/wahcade/distinfo b/emulators/wahcade/distinfo
new file mode 100644
index 0000000..53167db
--- /dev/null
+++ b/emulators/wahcade/distinfo
@@ -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
diff --git a/emulators/wahcade/pkg-descr b/emulators/wahcade/pkg-descr
new file mode 100644
index 0000000..9b8d0c9
--- /dev/null
+++ b/emulators/wahcade/pkg-descr
@@ -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
diff --git a/emulators/wahcade/pkg-message b/emulators/wahcade/pkg-message
new file mode 100644
index 0000000..7c2666c
--- /dev/null
+++ b/emulators/wahcade/pkg-message
@@ -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!
+************************************************************************
diff --git a/emulators/wahcade/pkg-plist b/emulators/wahcade/pkg-plist
new file mode 100644
index 0000000..9ddfb97
--- /dev/null
+++ b/emulators/wahcade/pkg-plist
@@ -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%%
OpenPOWER on IntegriCloud