blob: c4ed6466cfe30e57d3ec0e3abcccef7708ad17e8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
# $FreeBSD$
PORTNAME= loemu
PORTVERSION= 0.3.1
PORTREVISION= 11
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_SITELIBDIR}/gtk-2.0/gtk/__init__.py:x11-toolkits/py-gtk2 \
${PYTHON_SITELIBDIR}/libxml2.py:textproc/py-libxml2 \
${PYTHON_SITELIBDIR}/libxslt.py:textproc/py-libxslt
USES= gettext python:2.7 shebangfix
USE_PYTHON= distutils
NO_BUILD= yes
SHEBANG_FILES= setup.py
OPTIONS_DEFINE= MAME SNES9X ZSNES
OPTIONS_DEFAULT= MAME SNES9X
MAME_DESC= Install mame emulator
SNES9X_DESC= Install snes9x emulator
ZSNES_DESC= Install zsnes emulator
MAME_RUN_DEPENDS= mame>=0.154:emulators/mame
SNES9X_RUN_DEPENDS= snes9x:emulators/snes9x
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>
|