aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-04 09:52:52 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-06-04 09:52:52 +0000
commit5d304c338abaef672b8392ff2d2d0b554106950c (patch)
tree8d897963d94168217b2e1f2be2c335d922bfd907 /games
parent7d98dad380fae35c1a1f64e1b86c3488aef24d0f (diff)
downloadports-5d304c338abaef672b8392ff2d2d0b554106950c.tar.gz
ports-5d304c338abaef672b8392ff2d2d0b554106950c.zip
games/fheroes2: update to 0.9.4
* Add The Price of Loyalty campaigns support and polish The Succession Wars campaigns * Add extended number of days shown on cursors and 2-hex movement shadow for 2-hex monsters * Add ability to view Hero Screen during battle * Add an installer for Windows * Fix many issues with object interaction logic on World Map and AI behavior * Improved rendering performance up to 30% * Over 100 bugs fixed since 0.9.3 release
Diffstat (limited to 'games')
-rw-r--r--games/fheroes2/Makefile17
-rw-r--r--games/fheroes2/distinfo6
2 files changed, 9 insertions, 14 deletions
diff --git a/games/fheroes2/Makefile b/games/fheroes2/Makefile
index a8d998837207..5d409bb7ce4d 100644
--- a/games/fheroes2/Makefile
+++ b/games/fheroes2/Makefile
@@ -1,5 +1,5 @@
PORTNAME= fheroes2
-PORTVERSION= 0.9.3
+PORTVERSION= 0.9.4
CATEGORIES= games
MAINTAINER= pkubaj@FreeBSD.org
@@ -8,20 +8,15 @@ COMMENT= Free implementation of Heroes of Might and Magic II engine
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libtinyxml.so:textproc/tinyxml
+LIB_DEPENDS= libpng16.so:graphics/png
-USES= gettext-tools gmake sdl
+USES= cmake gettext-tools iconv localbase:ldflags pkgconfig sdl
USE_GITHUB= yes
GH_ACCOUNT= ihhub
USE_SDL= image2 mixer2 sdl2 ttf2
-LDFLAGS+= -ltinyxml
-MAKE_ENV= WITHOUT_BUNDLED_LIBS=1
-
-PLIST_FILES= bin/${PORTNAME}
-
-do-install:
- ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
- ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+PLIST_FILES= bin/${PORTNAME} \
+ ${DOCSDIR}/README.txt \
+ ${DOCSDIR}/changelog.txt
.include <bsd.port.mk>
diff --git a/games/fheroes2/distinfo b/games/fheroes2/distinfo
index 51c5f22f28e9..a4c69e6516dc 100644
--- a/games/fheroes2/distinfo
+++ b/games/fheroes2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620138496
-SHA256 (ihhub-fheroes2-0.9.3_GH0.tar.gz) = f3729108aa6bfd46b17c86f89247384e0d034cffeaa828ee819afdf01d184471
-SIZE (ihhub-fheroes2-0.9.3_GH0.tar.gz) = 4515609
+TIMESTAMP = 1622796617
+SHA256 (ihhub-fheroes2-0.9.4_GH0.tar.gz) = e2a02219fcfb38132ce3f7b0ebd94bedf2fab6ab73043c170e2461829deb2a5f
+SIZE (ihhub-fheroes2-0.9.4_GH0.tar.gz) = 4530495