- Fix datadir paths to make the game runnable

- Bump portrevision

Reported by:	Sebastian Kutsch
This commit is contained in:
Dmitry Marakasov 2010-03-07 11:48:50 +00:00
parent d4ac4fe944
commit b3eca06ba2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250657

View file

@ -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