aboutsummaryrefslogtreecommitdiff
path: root/emulators/pyxmame
diff options
context:
space:
mode:
authorJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-09-20 21:01:19 +0000
committerJose Alonso Cardenas Marquez <acm@FreeBSD.org>2006-09-20 21:01:19 +0000
commit39c8265062107093fb1c12fd2ec3eb0358140cbf (patch)
treedfb406d1da69aab769ef40e86d091506611ba03f /emulators/pyxmame
parentf0d4b91ab800bdd92c5af03cea40b048af15d034 (diff)
downloadports-39c8265062107093fb1c12fd2ec3eb0358140cbf.tar.gz
ports-39c8265062107093fb1c12fd2ec3eb0358140cbf.zip
- Change some paths into pyxmamerc file. It solves a problem with wrong path of
default_image. Submitted by: mezz (email)
Notes
Notes: svn path=/head/; revision=173492
Diffstat (limited to 'emulators/pyxmame')
-rw-r--r--emulators/pyxmame/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/emulators/pyxmame/Makefile b/emulators/pyxmame/Makefile
index 949c9e2845b1..4d3e387b6cdf 100644
--- a/emulators/pyxmame/Makefile
+++ b/emulators/pyxmame/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pyxmame
PORTVERSION= 0.4.0
+PORTREVISION= 1
CATEGORIES= emulators python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,11 +16,15 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Simple frontend for the xmame
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygtk.pth:${PORTSDIR}/x11-toolkits/py-gtk2 \
- ${PYTHON_SITELIBDIR}/pexpect.py:${PORTSDIR}/misc/py-pexpect \
xmame:${PORTSDIR}/emulators/xmame
USE_PYTHON= yes
USE_PYDISTUTILS= yes
NO_BUILD= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/share/games|${PREFIX}/share|g ; \
+ s|/usr/share/pixmaps|${PREFIX}/share/pixmaps|g' \
+ ${WRKSRC}/config/pyxmamerc
+
.include <bsd.port.mk>