aboutsummaryrefslogtreecommitdiff
path: root/games/spring/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2010-09-23 00:26:55 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2010-09-23 00:26:55 +0000
commitf6fe2fbcf3c3c0ff21b4351dd21c41ac8431d508 (patch)
treed28f555124bddecb1a5610518b3a354c0bcfd8a5 /games/spring/Makefile
parent0542ddf3033042b2098f7427687fb4d626aa7d43 (diff)
downloadports-f6fe2fbcf3c3c0ff21b4351dd21c41ac8431d508.tar.gz
ports-f6fe2fbcf3c3c0ff21b4351dd21c41ac8431d508.zip
Notes
Diffstat (limited to 'games/spring/Makefile')
-rw-r--r--games/spring/Makefile16
1 files changed, 12 insertions, 4 deletions
diff --git a/games/spring/Makefile b/games/spring/Makefile
index effd7fdcf79c..7f6bc1439d3c 100644
--- a/games/spring/Makefile
+++ b/games/spring/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= spring
-PORTVERSION= 0.81.2.1
-PORTREVISION= 1
+PORTVERSION= 0.82.5.1
CATEGORIES= games
MASTER_SITES= SF/springrts/springrts/${PORTNAME}-${PORTVERSION}
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
@@ -36,7 +35,9 @@ MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
CMAKE_ARGS= -DDATADIR:STRING="share/${PORTNAME}" \
-DMARCH_FLAG:STRING= \
- -DAIINTERFACES:STRING="NATIVE"
+ -DAI_TYPES:STRING="NATIVE" \
+ -DMANDIR:STRING="man" \
+ -DCREATE_MAN_PAGES:BOOL=false
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
@@ -45,6 +46,8 @@ PORTDOCS= *
.include <bsd.port.pre.mk>
.if defined(WITH_SYNC_DEBUG)
+CFLAGS= # empty
+CXXFLAGS= # empty
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE=DEBUG2 -DTRACE_SYNC=true -DSYNCDEBUG=true
.endif
@@ -62,11 +65,16 @@ post-patch:
${WRKSRC}/rts/System/FPUCheck.h
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/rts/build/cmake/*.cmake
+ @${REINPLACE_CMD} -e 's|execinfo|${LOCALBASE}/lib/libexecinfo.so|' \
+ ${WRKSRC}/rts/CMakeLists.txt
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' \
+ ${WRKSRC}/rts/System/Platform/Misc.cpp
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/Documentation && ${COPYTREE_SHARE} . ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${COPYTREE_SHARE} "userdocs DevGuide.html HowTo* \
+ SelectionKeys.txt StartScriptFormat.txt changelog.txt" ${DOCSDIR}/
.endif
@${ECHO_CMD}; ${CAT} ${PKGMESSAGE}; ${ECHO_CMD}