aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/loemu
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-09 17:33:39 +0800
committervanilla <vanilla@FreeBSD.org>2014-07-09 17:33:39 +0800
commitb34678374a455698e88a3f38685ce2838300d2fa (patch)
tree2ce734aca35ac5aa4865d60b6055a4496cd2b189 /emulators/loemu
parent883ea8c67e7f6b1ac71fce74bf3e35f5b700c619 (diff)
downloadfreebsd-ports-gnome-b34678374a455698e88a3f38685ce2838300d2fa.tar.gz
freebsd-ports-gnome-b34678374a455698e88a3f38685ce2838300d2fa.tar.zst
freebsd-ports-gnome-b34678374a455698e88a3f38685ce2838300d2fa.zip
1: Stagify.
2: add INSTALLS_EGGINFO, bump version. 3: use options helper.
Diffstat (limited to 'emulators/loemu')
-rw-r--r--emulators/loemu/Makefile25
1 files changed, 7 insertions, 18 deletions
diff --git a/emulators/loemu/Makefile b/emulators/loemu/Makefile
index 95edc35cf88a..ec1ae3dbb2c0 100644
--- a/emulators/loemu/Makefile
+++ b/emulators/loemu/Makefile
@@ -3,7 +3,7 @@
PORTNAME= loemu
PORTVERSION= 0.3.1
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= emulators python
MASTER_SITES= http://loemu.pegueroles.com/dists/
@@ -15,30 +15,19 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/gtk/__init__.py:${PORTSDIR}/x11-toolki
${PYTHON_SITELIBDIR}/libxslt.py:${PORTSDIR}/textproc/py-libxslt
USES= gettext
-USE_PYTHON= yes
+USE_PYTHON= yes
USE_PYDISTUTILS= yes
-NO_BUILD= yes
+NO_BUILD= yes
+INSTALLS_EGGINFO= yes
OPTIONS_DEFINE= MAME SNES9X ZSNES
OPTIONS_DEFAULT= MAME SNES9X
MAME_DESC= Install mame emulator
SNES9X_DESC= Install snes9x emulator
ZSNES_DESC= Install zsnes emulator
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMAME}
-RUN_DEPENDS+= mame:${PORTSDIR}/emulators/mame
-.endif
-
-.if ${PORT_OPTIONS:MSNES9X}
-RUN_DEPENDS+= snes9x:${PORTSDIR}/emulators/snes9x
-.endif
-
-.if ${PORT_OPTIONS:MZSNES}
-RUN_DEPENDS+= zsnes:${PORTSDIR}/emulators/zsnes
-.endif
+MAME_RUN_DEPENDS= mame:${PORTSDIR}/emulators/mame
+SNES9X_RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x
+ZSNES_RUN_DEPENDS= zsnes:${PORTSDIR}/emulators/zsnes
post-patch:
.for DIRE in config loemu scripts