1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-11 02:50:24 +00:00
freebsd-ports/games/widelands/Makefile
Dmitry Marakasov f77d7d10ed - Support staging
- Use new LIB_DEPENDS syntax
2013-12-10 03:36:47 +00:00

45 lines
1.2 KiB
Makefile

# Created by: Bartosz Fabianowski <freebsd@chillt.de>
# $FreeBSD$
PORTNAME= widelands
DISTVERSION= build17
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= https://launchpadlibrarian.net/102893896/ \
http://mirror.amdmi3.ru/distfiles/
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Realtime strategy game inspired by Settlers II
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
USES= cmake:outsource gettext
CMAKE_ARGS= -DWL_INSTALL_PREFIX="${PREFIX}" \
-DWL_INSTALL_DATADIR="share/widelands" \
-DWL_INSTALL_BINDIR="bin" \
-DWL_VERSION="${DISTVERSION}"
USE_LUA= 5.1+
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" \
"${DATADIR}/pics/wl-ico-64.png" \
"widelands" \
"Game;StrategyGame;" \
false
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/cmake/Modules/*.cmake
.include <bsd.port.mk>