aboutsummaryrefslogtreecommitdiff
path: root/games/widelands
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-12-10 03:36:47 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-12-10 03:36:47 +0000
commitf77d7d10ed20274c66aa5395ec4fecaa0a3b3932 (patch)
tree642d5e2e8ed9bfe46838bd3868d93698d6ec42c7 /games/widelands
parent4971f35855ebe369bbaeba116dca9a66ba38bfd9 (diff)
Notes
Diffstat (limited to 'games/widelands')
-rw-r--r--games/widelands/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/games/widelands/Makefile b/games/widelands/Makefile
index 405802e2d826..1b808912b480 100644
--- a/games/widelands/Makefile
+++ b/games/widelands/Makefile
@@ -12,9 +12,9 @@ DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Realtime strategy game inspired by Settlers II
-LIB_DEPENDS= png15:${PORTSDIR}/graphics/png \
- GLEW:${PORTSDIR}/graphics/glew \
- execinfo:${PORTSDIR}/devel/libexecinfo
+LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
+ libGLEW.so:${PORTSDIR}/graphics/glew \
+ libexecinfo.so:${PORTSDIR}/devel/libexecinfo
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
USE_BZIP2= yes
@@ -28,6 +28,7 @@ USE_SDL= sdl mixer image net ttf gfx
USE_PYTHON_BUILD=2.5+
PLIST_FILES= bin/widelands
+PORTDATA= *
DESKTOP_ENTRIES="Widelands" \
"Realtime strategy game inspired by Settlers II" \
@@ -36,15 +37,8 @@ DESKTOP_ENTRIES="Widelands" \
"Game;StrategyGame;" \
false
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/*.cmake
-post-install:
- @${FIND} ${DATADIR} -type f | \
- ${SED} -e 's|^${PREFIX}/||' >> ${TMPPLIST}
- @${FIND} ${DATADIR} -type d | ${SORT} -r | \
- ${SED} -e 's|^${PREFIX}/|@dirrm |' >> ${TMPPLIST}
-
.include <bsd.port.mk>