aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2006-09-21 05:01:19 +0800
committeracm <acm@FreeBSD.org>2006-09-21 05:01:19 +0800
commit69635f970656fcd8fbf3f4f0f16368d91139fdcd (patch)
tree5442f6eec7997506cbae8e0cf4cd5861047cbafd
parent5644a529186f82b56faff214b815150ea70b13c9 (diff)
downloadfreebsd-ports-gnome-69635f970656fcd8fbf3f4f0f16368d91139fdcd.tar.gz
freebsd-ports-gnome-69635f970656fcd8fbf3f4f0f16368d91139fdcd.tar.zst
freebsd-ports-gnome-69635f970656fcd8fbf3f4f0f16368d91139fdcd.zip
- Change some paths into pyxmamerc file. It solves a problem with wrong path of
default_image. Submitted by: mezz (email)
-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>