pkgsrc/games/wesnoth/Makefile
adam 1b9ef6d438 wesnoth: updated to 1.16.6
Version 1.16.6
 Translations
   * Updated translations: Arabic, British English, Bulgarian, Chinese (Simplified), Chinese (Traditional), Czech, French, Italian, Japanese, Portuguese (Brazil), Russian, Swedish, Turkish
 Miscellaneous and Bug Fixes
   * Fixed drake flare leadership animation over water
   * Fixed animations not clearing properly when zoomed
   * Fixed the `{IS_HERO}` macro to avoid losing the hero ellipse when a unit levels up
   * Fixed highlighted movement range when hovering over units after their owner ends turn. It now shows their max movement next turn, instead of the remaining moves from their previous turn.
   * Fixed out of sync errors occurring when unused add-ons contain the [resistance_defaults] or [terrain_defaults] tags
2022-09-14 07:24:06 +00:00

84 lines
2.8 KiB
Makefile

# $NetBSD: Makefile,v 1.187 2022/09/14 07:24:06 adam Exp $
DISTNAME= wesnoth-1.16.6
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wesnoth/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.wesnoth.org/
COMMENT= Fantasy turn-based strategy game
LICENSE= gnu-gpl-v2
BUILD_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
USE_CMAKE= yes
USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
USE_TOOLS+= bash msgfmt perl:run pkg-config
# detects history.h, but does not link against libhistory
CMAKE_ARGS+= -DENABLE_HISTORY=OFF
# if OPT is set, -O3 will not be added
CMAKE_ARGS+= -DOPT="${DBG}"
CFLAGS.Darwin= -framework Cocoa
UNLIMIT_RESOURCES+= datasize
UNLIMIT_RESOURCES+= stacksize
REPLACE_BASH+= data/tools/unit_tree/update-wmlunits
REPLACE_PYTHON+= data/tools/GUI.pyw
REPLACE_PYTHON+= data/tools/*.py
REPLACE_PYTHON+= data/tools/wesnoth/*.py
REPLACE_PYTHON+= data/tools/wml*
REPLACE_PYTHON+= data/tools/about_cfg_to_wiki
REPLACE_PYTHON+= data/tools/addon_manager/html.py
REPLACE_PYTHON+= data/tools/extractbindings
REPLACE_PYTHON+= data/tools/imgcheck
REPLACE_PYTHON+= data/tools/journeylifter
REPLACE_PYTHON+= data/tools/rmtrans/rmtrans.py
REPLACE_PYTHON+= data/tools/steam-changelog
REPLACE_PYTHON+= data/tools/tmx_trackplacer
REPLACE_PYTHON+= data/tools/trackplacer
REPLACE_PYTHON+= data/tools/trackviewer.pyw
REPLACE_PYTHON+= data/tools/unit_tree/helpers.py
REPLACE_PYTHON+= data/tools/unit_tree/TeamColorizer
REPLACE_PYTHON+= data/tools/unit_tree/overview.py
REPLACE_PYTHON+= data/tools/wesnoth/trackplacer3/datatypes.py
REPLACE_PYTHON+= data/tools/wesnoth_addon_manager
REPLACE_PYTHON+= utils/ai_test/*.py
REPLACE_PYTHON+= utils/*.py
PLIST_VARS+= icons
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin" && ${OPSYS} != "Cygwin"
PLIST.icons= yes
.endif
LDFLAGS.SunOS+= -lsocket
.include "../../audio/SDL2_mixer/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../converters/fribidi/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../devel/boost-libs/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.pango+= pango>=1.14.8
.include "../../devel/pango/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"
.include "../../graphics/SDL2_image/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../lang/lua/buildlink3.mk"
.include "../../lang/python/application.mk"
.include "../../net/SDL2_net/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../textproc/icu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"