summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/loemu/Makefile25
-rw-r--r--emulators/loemu/distinfo6
2 files changed, 24 insertions, 7 deletions
diff --git a/emulators/loemu/Makefile b/emulators/loemu/Makefile
index 174752e303a2..a328c0689bf7 100644
--- a/emulators/loemu/Makefile
+++ b/emulators/loemu/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= loemu
-PORTVERSION= 0.1.0
+PORTVERSION= 0.1.1
CATEGORIES= emulators python
MASTER_SITES= http://loemu.pegueroles.com/dists/
@@ -15,13 +15,30 @@ COMMENT= Simple frontend for various game emulators
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2 \
${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2 \
- ${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt \
- xmame:${PORTSDIR}/emulators/xmame
+ ${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
USE_PYTHON= yes
USE_PYDISTUTILS= yes
NO_BUILD= yes
+OPTIONS= SDLMAME "Install sdlmame emulator" off \
+ XMAME "Install xmame emulator" on \
+ SNES9X "Install snes9x emulator" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SDLMAME)
+RUN_DEPENDS+= sdlmame:${PORTSDIR}/emulators/sdlmame
+.endif
+
+.if !defined(WITHOUT_XMAME)
+RUN_DEPENDS+= xmame:${PORTSDIR}/emulators/xmame
+.endif
+
+.if !defined(WITHOUT_SNES9X)
+RUN_DEPENDS+= snes9x:${PORTSDIR}/emulators/snes9x
+.endif
+
post-patch:
.for DIRE in config loemu scripts
@cd ${WRKSRC}/${DIRE} && \
@@ -30,4 +47,4 @@ post-patch:
's|/usr/bin/python|${PYTHON_CMD}|g' "{}" \;
.endfor
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/emulators/loemu/distinfo b/emulators/loemu/distinfo
index 56933e08142e..6693b893fe33 100644
--- a/emulators/loemu/distinfo
+++ b/emulators/loemu/distinfo
@@ -1,3 +1,3 @@
-MD5 (loemu-0.1.0.tar.gz) = 618f6b6a70185fdecf6771ac5e48903a
-SHA256 (loemu-0.1.0.tar.gz) = d3572d5ea376760aa686c3b3750c1868d752ff7fd253f21b9899bf6aa68e01df
-SIZE (loemu-0.1.0.tar.gz) = 41577
+MD5 (loemu-0.1.1.tar.gz) = d4cff1ef835ce19a9fd22cdaec47074a
+SHA256 (loemu-0.1.1.tar.gz) = 5188da6f6a13fd976f1a2bfac5fec4636507fbdce716fa9e4982eb508902e78e
+SIZE (loemu-0.1.1.tar.gz) = 41707