Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jan 2021 01:13:05 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561996 - in head/games: . fheroes2 fheroes2/files
Message-ID:  <202101190113.10J1D5nq058295@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Jan 19 01:13:05 2021
New Revision: 561996
URL: https://svnweb.freebsd.org/changeset/ports/561996

Log:
  games/fheroes2: Free implementation of Heroes of Might and Magic II game engine

Added:
  head/games/fheroes2/
  head/games/fheroes2/Makefile   (contents, props changed)
  head/games/fheroes2/distinfo   (contents, props changed)
  head/games/fheroes2/files/
  head/games/fheroes2/files/patch-src_Makefile.bsd   (contents, props changed)
  head/games/fheroes2/pkg-descr   (contents, props changed)
Modified:
  head/games/Makefile

Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile	Tue Jan 19 01:13:05 2021	(r561995)
+++ head/games/Makefile	Tue Jan 19 01:13:05 2021	(r561996)
@@ -253,6 +253,7 @@
     SUBDIR += falconseye
     SUBDIR += fargoal
     SUBDIR += fbg2
+    SUBDIR += fheroes2
     SUBDIR += fightorperish
     SUBDIR += fillets-ng
     SUBDIR += filters

Added: head/games/fheroes2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fheroes2/Makefile	Tue Jan 19 01:13:05 2021	(r561996)
@@ -0,0 +1,30 @@
+# $FreeBSD$
+
+PORTNAME=	fheroes2
+PORTVERSION=	0.8.4
+CATEGORIES=	games
+
+MAINTAINER=	pkubaj@FreeBSD.org
+COMMENT=	Free implementation of Heroes of Might and Magic II engine
+
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+LIB_DEPENDS=	libtinyxml.so:textproc/tinyxml
+
+USES=		gettext-tools gmake sdl
+USE_GITHUB=	yes
+GH_ACCOUNT=	ihhub
+USE_SDL=	image2 mixer2 sdl2 ttf2
+
+LDFLAGS+=	-ltinyxml
+MAKE_ENV=	WITHOUT_BUNDLED_LIBS=1 \
+		WITH_SDL2=1
+
+PLIST_FILES=	bin/${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} \
+		${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
+.include <bsd.port.mk>

Added: head/games/fheroes2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fheroes2/distinfo	Tue Jan 19 01:13:05 2021	(r561996)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1611008559
+SHA256 (ihhub-fheroes2-0.8.4_GH0.tar.gz) = 0fbf9a4db11c99d1e1fa5b7cc47c17cf88fc83fcd298c7fc02c44a27ad44087f
+SIZE (ihhub-fheroes2-0.8.4_GH0.tar.gz) = 3774635

Added: head/games/fheroes2/files/patch-src_Makefile.bsd
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fheroes2/files/patch-src_Makefile.bsd	Tue Jan 19 01:13:05 2021	(r561996)
@@ -0,0 +1,9 @@
+--- src/Makefile.bsd.orig	2021-01-18 22:40:40 UTC
++++ src/Makefile.bsd
+@@ -1,5 +1,5 @@
+ AR := ar
+-CXX := g++
++CXX := c++
+ LIBS := $(LIBS) -L/usr/local/lib
+ 
+ ifndef WITHOUT_UNICODE

Added: head/games/fheroes2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/fheroes2/pkg-descr	Tue Jan 19 01:13:05 2021	(r561996)
@@ -0,0 +1,3 @@
+Free implementation of Heroes of Might and Magic II engine.
+
+WWW: https://ihhub.github.io/fheroes2/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101190113.10J1D5nq058295>