1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/emulators/loemu/Makefile
2019-08-04 10:02:46 +00:00

50 lines
1.1 KiB
Makefile

# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $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+
BROKEN= unfetchable
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 <bsd.port.options.mk>
.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 <bsd.port.mk>