aboutsummaryrefslogtreecommitdiff
path: root/games/teeworlds
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2013-12-15 13:35:52 +0000
committerMarcus von Appen <mva@FreeBSD.org>2013-12-15 13:35:52 +0000
commit5a4d34c9a49494cf9f662fc08c2ee35371fb8fa4 (patch)
treecf9af08b5320c46a6d78b02e5f957e0fc71a5cbd /games/teeworlds
parentc410082fc9b130cfbf6ce46b68c8755a613690fa (diff)
downloadports-5a4d34c9a49494cf9f662fc08c2ee35371fb8fa4.tar.gz
ports-5a4d34c9a49494cf9f662fc08c2ee35371fb8fa4.zip
Notes
Diffstat (limited to 'games/teeworlds')
-rw-r--r--games/teeworlds/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/teeworlds/Makefile b/games/teeworlds/Makefile
index 157f04f79df7..8fdcce1da8cd 100644
--- a/games/teeworlds/Makefile
+++ b/games/teeworlds/Makefile
@@ -16,7 +16,7 @@ LICENSE= ZLIB
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2
-USE_PYTHON_BUILD= yes
+USE_PYTHON_BUILD= 2
BAM_VERSION= 0.4.0
BAM_WRKSRC= ${WRKDIR}/bam-${BAM_VERSION}
@@ -52,6 +52,8 @@ DESKTOP_ENTRIES="Teeworlds" \
.endif
post-patch:
+ @${REINPLACE_CMD} -e 's|"python "|"${PYTHON_CMD} "|' \
+ ${WRKSRC}/bam.lua
@${REINPLACE_CMD} -e 's|-O.||; s|-lpthread|${PTHREAD_LIBS}|; s|^gcc|${CC} ${CFLAGS}|; s|-ldl||g' \
${BAM_WRKSRC}/make_unix.sh
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/other/sdl/sdl.lua