mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
09f9633cb6
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which has now moved from GCC 6 to GCC 7 by default. This includes ports - featuring USE_GCC=yes or USE_GCC=any, - featuring USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and those - with USES=compiler specifying one of openmp, nestedfct, c11, c++0x, c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib. PR: 222542
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# Created by: Bartosz Fabianowski <freebsd@chillt.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= widelands
|
|
DISTVERSION= build19
|
|
PORTREVISION= 11
|
|
CATEGORIES= games
|
|
MASTER_SITES= https://launchpad.net/widelands/${DISTVERSION}/${DISTVERSION}/+download/ \
|
|
http://mirror.amdmi3.ru/distfiles/
|
|
DISTNAME= ${PORTNAME}-${DISTVERSION}-src
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Realtime strategy game inspired by Settlers II
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
libicuuc.so:devel/icu \
|
|
libboost_regex.so:devel/boost-libs
|
|
|
|
USES= cmake:outsource compiler:c++11-lib gettext \
|
|
tar:bzip2 python:build
|
|
CMAKE_ARGS= -DWL_INSTALL_BASEDIR="${PREFIX}" \
|
|
-DWL_INSTALL_DATADIR="${DATADIR}" \
|
|
-DWL_INSTALL_DOCDIR="${DOCSDIR}" \
|
|
-DWL_VERSION="${DISTVERSION}" \
|
|
-DWL_OPTIMIZE_FLAGS=""
|
|
USE_GL= gl glew
|
|
USE_SDL= sdl2 mixer2 image2 net2 ttf2
|
|
|
|
PORTDATA= *
|
|
PORTDOCS= *
|
|
|
|
DESKTOP_ENTRIES="Widelands" \
|
|
"" \
|
|
"${DATADIR}/pics/wl-ico-64.png" \
|
|
"widelands" \
|
|
"Game;StrategyGame;" \
|
|
""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
|
|
${WRKSRC}/cmake/Modules/*.cmake
|
|
|
|
.include <bsd.port.mk>
|