diff options
Diffstat (limited to 'emulators/loemu/Makefile')
-rw-r--r-- | emulators/loemu/Makefile | 25 |
1 files changed, 21 insertions, 4 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> |