# Created by: Jose Alonso Cardenas Marquez # $FreeBSD$ PORTNAME= loemu PORTVERSION= 0.3.1 PORTREVISION= 12 CATEGORIES= emulators python MASTER_SITES= http://loemu.pegueroles.com/dists/ MAINTAINER= ports@FreeBSD.org COMMENT= Simple frontend for various game emulators LICENSE= GPLv2+ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}libxml2>=0:textproc/py-libxml2@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}libxslt>=0:textproc/py-libxslt@${PY_FLAVOR} USES= gettext python:2.7 shebangfix USE_GNOME= pygtk2 USE_PYTHON= distutils NO_BUILD= yes SHEBANG_FILES= setup.py OPTIONS_DEFINE= MAME ZSNES OPTIONS_DEFAULT= MAME MAME_DESC= Install mame emulator ZSNES_DESC= Install zsnes emulator MAME_RUN_DEPENDS= mame>=0.154:emulators/mame ZSNES_RUN_DEPENDS= zsnes:emulators/zsnes .include .if ${ARCH:Mamd64} MAMENAME= mame64 .else MAMENAME= mame .endif post-patch: @${REINPLACE_CMD} -i '' -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/scripts/loemu \ ${WRKSRC}/scripts/loemu-builder @${REINPLACE_CMD} -i '' -e 's|sdlmame|${MAMENAME}|' \ ${WRKSRC}/config/sdlmame.conf .include