aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-03-07 19:48:50 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-03-07 19:48:50 +0800
commit109e154cb1225eace97a7cbf2d4c56457bc66324 (patch)
tree95ea73851f391c9ec270e0a6f64669b65900fc1b /games
parentd429045112b837ace84c6eb27a75993d510f97be (diff)
downloadfreebsd-ports-graphics-109e154cb1225eace97a7cbf2d4c56457bc66324.tar.gz
freebsd-ports-graphics-109e154cb1225eace97a7cbf2d4c56457bc66324.tar.zst
freebsd-ports-graphics-109e154cb1225eace97a7cbf2d4c56457bc66324.zip
- Fix datadir paths to make the game runnable
- Bump portrevision Reported by: Sebastian Kutsch
Diffstat (limited to 'games')
-rw-r--r--games/critterding/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/critterding/Makefile b/games/critterding/Makefile
index 9cf7caff1ba..d9572583f49 100644
--- a/games/critterding/Makefile
+++ b/games/critterding/Makefile
@@ -7,6 +7,7 @@
PORTNAME= critterding
DISTVERSION= beta12
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sources
@@ -28,6 +29,10 @@ MAKE_JOBS_SAFE= yes
PORTDOCS= README AUTHORS Changelog
+post-patch:
+ @${REINPLACE_CMD} -e 's|../share/critterding|${DATADIR}|' \
+ ${WRKSRC}/src/gui/textprinter.cpp ${WRKSRC}/src/gl/glwindow.cpp
+
pre-configure:
cd ${WRKSRC} && ${AUTORECONF} -fi