aboutsummaryrefslogtreecommitdiff
path: root/games/motogt
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-08-18 13:38:18 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-08-18 13:38:18 +0000
commit3dddc7a8645e5b70fcdccb82a192d7f7538ef319 (patch)
tree2326e1baac0b92579640c4aa457d9cf29e0c4320 /games/motogt
parent8af4a553bd19ce638a7f84ad4e3863f6771e1ab4 (diff)
downloadports-3dddc7a8645e5b70fcdccb82a192d7f7538ef319.tar.gz
ports-3dddc7a8645e5b70fcdccb82a192d7f7538ef319.zip
Notes
Diffstat (limited to 'games/motogt')
-rw-r--r--games/motogt/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/motogt/Makefile b/games/motogt/Makefile
index 9ba7ec54817d..2397475b01ef 100644
--- a/games/motogt/Makefile
+++ b/games/motogt/Makefile
@@ -3,7 +3,7 @@
PORTNAME= motogt
PORTVERSION= 20110505
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= games
MASTER_SITES= SF/motogt/
DISTNAME= MotoGT-${PORTVERSION}
@@ -11,7 +11,7 @@ DISTNAME= MotoGT-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D top-viewed motorcycle racing game
-LIB_DEPENDS= libsfml-system.so:${PORTSDIR}/devel/sfml \
+LIB_DEPENDS= libsfml1-system.so:${PORTSDIR}/devel/sfml1 \
libpng.so:${PORTSDIR}/graphics/png
LICENSE= GPLv2 CCbySA
@@ -35,6 +35,10 @@ PORTDATA= *
WRKSRC= ${WRKDIR}/MotoGT
+post-patch:
+ @${REINPLACE_CMD} -e '/#include/ s|SFML|&1|' ${WRKSRC}/data/src/editor.cpp ${WRKSRC}/src/*.h
+ @${REINPLACE_CMD} -e 's|-lsfml|&1|g' ${WRKSRC}/src/Makefile.lnx
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/MotoGT.bin ${STAGEDIR}${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKDIR}/motogt ${STAGEDIR}${PREFIX}/bin/