ports/102525: [NEW PORT] emulators/wahcade: A frontend for almost any emulator (MameWAH clone)

Nathaniel Roark robb_force at holybuffalo.net
Fri Aug 25 23:20:21 UTC 2006


>Number:         102525
>Category:       ports
>Synopsis:       [NEW PORT] emulators/wahcade: A frontend for almost any emulator (MameWAH clone)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 25 23:20:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Nathaniel Roark
>Release:        FreeBSD 6.1-RELEASE-p3 i386
>Organization:
>Environment:
FreeBSD arcadebox 6.1-RELEASE-p3 FreeBSD 6.1-RELEASE-p3 #0: Thu Aug 17 07:04:22 PDT 2006
>Description:
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
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	wahcade/
#	wahcade/Makefile
#	wahcade/distinfo
#	wahcade/pkg-descr
#	wahcade/pkg-message
#	wahcade/pkg-plist
#
echo c - wahcade/
mkdir -p wahcade/ > /dev/null 2>&1
echo x - wahcade/Makefile
sed 's/^X//' >wahcade/Makefile << 'END-of-wahcade/Makefile'
X# New ports collection makefile for:   Wah!Cade
X# Date created:		24 August 2006
X# Whom:			Nathaniel Roark <robb_force at holybuffalo.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		wahcade
XPORTVERSION=		0.11
XCATEGORIES=		emulators
XMASTER_SITES=		http://www.anti-particle.com/projects/wahcade/
XPKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
XDISTNAME=		${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=		ports at FreeBSD.org
XCOMMENT=		A frontend for almost any emulator (MameWAH clone)
X
XRUN_DEPENDS=		${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2 \
X			${PYTHON_SITELIBDIR}/cElementTree.so:${PORTSDIR}/devel/py-celementtree
X
XWRKSRC=			${WRKDIR}/${PORTNAME}
XUSE_PYTHON=		2.4+
XNO_BUILD=		yes
XOPTIONS=		MPLAYER "For movie playback." off
X# Bypass infrasructure bug (taken from www/py-turbogears)
XOPTIONSFILE=		${PORT_DBDIR}/py-${PORTNAME}/options
XBINDIR=			${PREFIX}/bin
X
X.include <bsd.port.pre.mk>
X
X.if ${ARCH} != "i386"
XWITHOUT_PSYCO=		yes
X.endif
X
X# required for PSYCO
X.ifndef(WITHOUT_PSYCO)
XRUN_DEPENDS+=		${PYTHON_SITELIBDIR}/psyco/_psyco.so:${PORTSDIR}/devel/py-psyco
X.endif
X
X.if defined(WITH_MPLAYER)
XRUN_DEPENDS+=		mplayer:${PORTSDIR}/multimedia/mplayer
X.endif
X
Xpre-everything::
X.ifndef(WITHOUT_PSYCO)
X	@${ECHO_MSG} '===> Define WITHOUT_PSYCO to disable devel/py-psyco optimization'
X.endif
X
X# setup.py seems to be for windows, so run the patched install script
Xdo-install:
X	#wahcade start script
X	echo "#!${BINDIR}/bash" > ${BINDIR}/${PORTNAME}
X	echo "cd ${DATADIR}" >> ${BINDIR}/${PORTNAME}
X	echo "python ${PORTNAME} \$*" >> ${BINDIR}/${PORTNAME}
X	${CHMOD} 755 ${BINDIR}/${PORTNAME}
X
X	#install files
X	${INSTALL} -d -v ${DATADIR}
X	${INSTALL} -m 644 ${WRKSRC}/*.py ${DATADIR}
X	${INSTALL} -m 755 ${WRKSRC}/${PORTNAME} ${DATADIR}
X	${INSTALL} -d -v ${DATADIR}/config.dist
X	${INSTALL} -d -v ${DATADIR}/config.dist/ctrlr
X	${INSTALL} -d -v ${DATADIR}/config.dist/files
X	${INSTALL} -d -v ${DATADIR}/config.dist/ini
X	${INSTALL} -d -v ${DATADIR}/config.dist/layouts
X	${INSTALL} -d -v ${DATADIR}/config.dist/layouts/classic\ 640x480
X	${INSTALL} -d -v ${DATADIR}/config.dist/layouts/classic\ 800x600
X	${INSTALL} -d -v ${DATADIR}/config.dist/layouts/classic\ 1024x768
X	${INSTALL} -d -v ${DATADIR}/config.dist/layouts/cpviewer
X	${INSTALL} -d -v ${DATADIR}/pixmaps
X	${INSTALL} -m 644 ${WRKSRC}/config.dist/*.ini ${DATADIR}/config.dist
X	${INSTALL} -m 644 ${WRKSRC}/config.dist/ctrlr/*.ini ${DATADIR}/config.dist/ctrlr
X	#${INSTALL} -m 644 ${WRKSRC}/config.dist/files/* ${DATADIR}/config.dist/files
X	${INSTALL} -m 644 ${WRKSRC}/config.dist/ini/*.ini ${DATADIR}/config.dist/ini
X	${INSTALL} -m 644 ${WRKSRC}/config.dist/layouts/classic\ 640x480/* ${DATADIR}/config.dist/layouts/classic\ 640x480
X	${INSTALL} -m 644 ${WRKSRC}/config.dist/layouts/classic\ 800x600/* ${DATADIR}/config.dist/layouts/classic\ 800x600
X	${INSTALL} -m 644 ${WRKSRC}/config.dist/layouts/classic\ 1024x768/* ${DATADIR}/config.dist/layouts/classic\ 1024x768
X	${INSTALL} -m 644 ${WRKSRC}/config.dist/layouts/cpviewer/* ${DATADIR}/config.dist/layouts/cpviewer
X	${INSTALL} -m 644 ${WRKSRC}/pixmaps/*.png ${DATADIR}/pixmaps
X
X	#compile everything python
X	${PYTHON_CMD} -c "import compileall; compileall.compile_dir('${DATADIR}')"
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
X.endif
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.post.mk>
END-of-wahcade/Makefile
echo x - wahcade/distinfo
sed 's/^X//' >wahcade/distinfo << 'END-of-wahcade/distinfo'
XMD5 (wahcade-0.11.tar.gz) = 899003aace0ec93709cbb6496cc83dfb
XSHA256 (wahcade-0.11.tar.gz) = 52ad28d8397aee6ddd27992d039bc1de7e7f1d2bd1fb3804a5e04fd6e30f91cb
XSIZE (wahcade-0.11.tar.gz) = 134497
END-of-wahcade/distinfo
echo x - wahcade/pkg-descr
sed 's/^X//' >wahcade/pkg-descr << 'END-of-wahcade/pkg-descr'
XWah!Cade is a GNU/Linux friendly clone of Minwah's excellent MameWAH. It's a
Xfront end for the M.A.M.E. arcade game emulator, and has been designed with
Xarcade cabinet controls & projects in mind.
X
XWWW: http://www.anti-particle.com/wahcade.shtml
END-of-wahcade/pkg-descr
echo x - wahcade/pkg-message
sed 's/^X//' >wahcade/pkg-message << 'END-of-wahcade/pkg-message'
X************************************************************************
XWah!Cade has been successfully installed!
X
XThe default config files are stored in wahcade/config.dist.
XWhen Wah!Cade is first run these files are copied into the user's
X~/.wahcade directory.
X
XHINT: Please read the README file in docs/wahcade for information on
Xinitial setup & configuration!
X************************************************************************
END-of-wahcade/pkg-message
echo x - wahcade/pkg-plist
sed 's/^X//' >wahcade/pkg-plist << 'END-of-wahcade/pkg-plist'
Xbin/wahcade
Xshare/doc/wahcade/CHANGELOG
Xshare/doc/wahcade/COPYING
Xshare/doc/wahcade/INI_FILES
Xshare/doc/wahcade/INSTALL
Xshare/doc/wahcade/KEYS
Xshare/doc/wahcade/README
Xshare/doc/wahcade/TODO
Xshare/doc/wahcade/fav_format.txt
Xshare/doc/wahcade/filter_format.txt
Xshare/doc/wahcade/gamelist_format.txt
Xshare/doc/wahcade/layout_format.txt
Xshare/doc/wahcade/xmame-x11rc
Xshare/doc/wahcade/xmame-x11rc.pre88
Xshare/doc/wahcade/xmame_options.pre88.txt
Xshare/doc/wahcade/xmame_options.txt
Xshare/doc/wahcade/xmamerc
Xshare/doc/wahcade/xmamerc.pre88
X%%DATADIR%%/config.dist/cpviewer.ini
X%%DATADIR%%/config.dist/ctrlr/default.ini
X%%DATADIR%%/config.dist/histview.ini
X%%DATADIR%%/config.dist/ini/genesis-0.ini
X%%DATADIR%%/config.dist/ini/genesis.ini
X%%DATADIR%%/config.dist/ini/mame-0.ini
X%%DATADIR%%/config.dist/ini/mame-1.ini
X%%DATADIR%%/config.dist/ini/mame.ini
X%%DATADIR%%/config.dist/ini/zsnes-0.ini
X%%DATADIR%%/config.dist/ini/zsnes.ini
X%%DATADIR%%/config.dist/layouts/classic 1024x768/layout.lay
X%%DATADIR%%/config.dist/layouts/classic 640x480/layout.lay
X%%DATADIR%%/config.dist/layouts/classic 800x600/layout.lay
X%%DATADIR%%/config.dist/layouts/cpviewer/example.jpg
X%%DATADIR%%/config.dist/layouts/cpviewer/example.lay
X%%DATADIR%%/config.dist/layouts/cpviewer/wahcade.glade
X%%DATADIR%%/config.dist/wahcade.ini
X%%DATADIR%%/constants.py
X%%DATADIR%%/constants.pyc
X%%DATADIR%%/filters.py
X%%DATADIR%%/filters.pyc
X%%DATADIR%%/key_consts.py
X%%DATADIR%%/key_consts.pyc
X%%DATADIR%%/mamewah_ini.py
X%%DATADIR%%/mamewah_ini.pyc
X%%DATADIR%%/mplayer.py
X%%DATADIR%%/mplayer.pyc
X%%DATADIR%%/pixmaps/empty.png
X%%DATADIR%%/pixmaps/wahcade.png
X%%DATADIR%%/scrolled_list.py
X%%DATADIR%%/scrolled_list.pyc
X%%DATADIR%%/setup.py
X%%DATADIR%%/setup.pyc
X%%DATADIR%%/wahcade
X%%DATADIR%%/wc_common.py
X%%DATADIR%%/wc_common.pyc
X%%DATADIR%%/win_cpviewer.py
X%%DATADIR%%/win_cpviewer.pyc
X%%DATADIR%%/win_history.py
X%%DATADIR%%/win_history.pyc
X%%DATADIR%%/win_main.py
X%%DATADIR%%/win_main.pyc
X%%DATADIR%%/win_message.py
X%%DATADIR%%/win_message.pyc
X%%DATADIR%%/win_options.py
X%%DATADIR%%/win_options.pyc
X%%DATADIR%%/win_scrsaver.py
X%%DATADIR%%/win_scrsaver.pyc
X at dirrm %%DATADIR%%/pixmaps
X at dirrm %%DATADIR%%/config.dist/layouts/cpviewer
X at dirrm %%DATADIR%%/config.dist/layouts/classic 800x600
X at dirrm %%DATADIR%%/config.dist/layouts/classic 640x480
X at dirrm %%DATADIR%%/config.dist/layouts/classic 1024x768
X at dirrm %%DATADIR%%/config.dist/layouts
X at dirrm %%DATADIR%%/config.dist/ini
X at dirrm %%DATADIR%%/config.dist/files
X at dirrm %%DATADIR%%/config.dist/ctrlr
X at dirrm %%DATADIR%%/config.dist
X at dirrm %%DATADIR%%
X at dirrm share/doc/wahcade
END-of-wahcade/pkg-plist
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list