Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jul 2019 00:07:58 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505718 - head/games/7kaa
Message-ID:  <201907030007.x6307wtt051742@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Jul  3 00:07:57 2019
New Revision: 505718
URL: https://svnweb.freebsd.org/changeset/ports/505718

Log:
  - Update to 2.15.2
  - Unbreak on arm
  - Move to GitHub
  - Optionize NLS

Added:
  head/games/7kaa/pkg-plist   (contents, props changed)
Modified:
  head/games/7kaa/Makefile
  head/games/7kaa/distinfo
  head/games/7kaa/pkg-descr

Modified: head/games/7kaa/Makefile
==============================================================================
--- head/games/7kaa/Makefile	Tue Jul  2 23:28:01 2019	(r505717)
+++ head/games/7kaa/Makefile	Wed Jul  3 00:07:57 2019	(r505718)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	7kaa
-PORTVERSION=	2.14.7
-PORTREVISION=	3
+PORTVERSION=	2.15.2
+DISTVERSIONPREFIX=	v
 CATEGORIES=	games
-MASTER_SITES=	SF/skfans/7KAA%20${PORTVERSION}
 
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Seven Kingdoms: Ancient Adversaries
@@ -13,25 +12,25 @@ COMMENT=	Seven Kingdoms: Ancient Adversaries
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN_armv6=		fails to compile: OBULLET.cpp:41:9: constant expression evaluates to -1 which cannot be narrowed to type 'char'
-BROKEN_armv7=		fails to compile: OBULLET.cpp:41:9: constant expression evaluates to -1 which cannot be narrowed to type 'char'
-
 LIB_DEPENDS=	libenet.so:net/enet \
 		libcurl.so:ftp/curl
 
-USES=		compiler:c++11-lang gmake localbase openal:al pkgconfig tar:xz
-GNU_CONFIGURE=	yes
-LLD_UNSAFE=	yes
-CONFIGURE_ARGS=	--disable-nls # no translations ATM
+USE_GITHUB=	yes
+GH_ACCOUNT=	the3dfxdude
+
+USES=		autoreconf gettext-tools gmake localbase openal:al pkgconfig sdl
 USE_SDL=	sdl2
-CXXFLAGS+=		-Wno-error=narrowing
+GNU_CONFIGURE=	yes
 
-PLIST_FILES=	bin/${PORTNAME} \
-		share/pixmaps/${PORTNAME}.ico
+CXXFLAGS+=	-fPIC
+
 PORTDOCS=	*
 PORTDATA=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 DESKTOP_ENTRIES="7KAA" \
 		"" \

Modified: head/games/7kaa/distinfo
==============================================================================
--- head/games/7kaa/distinfo	Tue Jul  2 23:28:01 2019	(r505717)
+++ head/games/7kaa/distinfo	Wed Jul  3 00:07:57 2019	(r505718)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1496913552
-SHA256 (7kaa-2.14.7.tar.xz) = 9425cfb7f11a915e82d4696649db35a4d53969a9479a4705b403206df462e543
-SIZE (7kaa-2.14.7.tar.xz) = 31342092
+TIMESTAMP = 1562001580
+SHA256 (the3dfxdude-7kaa-v2.15.2_GH0.tar.gz) = 7575f7bdee979ad45a1e19fca37131072fc745662e5d9959af84b82961599703
+SIZE (the3dfxdude-7kaa-v2.15.2_GH0.tar.gz) = 58529212

Modified: head/games/7kaa/pkg-descr
==============================================================================
--- head/games/7kaa/pkg-descr	Tue Jul  2 23:28:01 2019	(r505717)
+++ head/games/7kaa/pkg-descr	Wed Jul  3 00:07:57 2019	(r505718)
@@ -5,4 +5,4 @@ game under a free and open source license in 2009. See
 for making the 7kfans project possible and giving a new chance to
 build a community for fans of the game.
 
-WWW: http://7kfans.com/
+WWW: https://7kfans.com/

Added: head/games/7kaa/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/7kaa/pkg-plist	Wed Jul  3 00:07:57 2019	(r505718)
@@ -0,0 +1,6 @@
+bin/7kaa
+share/pixmaps/7kaa.ico
+%%NLS%%share/locale/de/LC_MESSAGES/7kaa.mo
+%%NLS%%share/locale/es/LC_MESSAGES/7kaa.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/7kaa.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/7kaa.mo



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