diff options
Diffstat (limited to 'emulators/loemu/Makefile')
-rw-r--r-- | emulators/loemu/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/emulators/loemu/Makefile b/emulators/loemu/Makefile new file mode 100644 index 000000000000..174752e303a2 --- /dev/null +++ b/emulators/loemu/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: loemu +# Date created: 2007-02-27 +# Whom: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= loemu +PORTVERSION= 0.1.0 +CATEGORIES= emulators python +MASTER_SITES= http://loemu.pegueroles.com/dists/ + +MAINTAINER= acm@FreeBSD.org +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 + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +NO_BUILD= yes + +post-patch: +.for DIRE in config loemu scripts + @cd ${WRKSRC}/${DIRE} && \ + ${FIND} * -type f -exec ${REINPLACE_CMD} -i '' -e \ + 's|/share/games/|/share/|g' -e \ + 's|/usr/bin/python|${PYTHON_CMD}|g' "{}" \; +.endfor + +.include <bsd.port.mk> |