aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2017-10-19 00:04:57 +0800
committerdanfe <danfe@FreeBSD.org>2017-10-19 00:04:57 +0800
commit454717284d46512dd9b7eeac5ceba8c3f05f187c (patch)
tree8bfba4cb6f23361085d86f004a7b5c0e863003af /games
parentcb6d5841536b58e56c14b7ef2c63850cb95cd065 (diff)
downloadfreebsd-ports-gnome-454717284d46512dd9b7eeac5ceba8c3f05f187c.tar.gz
freebsd-ports-gnome-454717284d46512dd9b7eeac5ceba8c3f05f187c.tar.zst
freebsd-ports-gnome-454717284d46512dd9b7eeac5ceba8c3f05f187c.zip
- Update FreeDoko to version 0.7.16 and also unbreak; unfortunately,
it now requires gtkmm30 and C++14 compliant compiler - While here, make network support optional (but enabled by default) TIMESTAMP (FreeDoko_0.7.16.src.zip) = 1484159638
Diffstat (limited to 'games')
-rw-r--r--games/freedoko/Makefile20
-rw-r--r--games/freedoko/distinfo5
-rw-r--r--games/freedoko/pkg-plist6
3 files changed, 13 insertions, 18 deletions
diff --git a/games/freedoko/Makefile b/games/freedoko/Makefile
index 3a209258906f..f57d4fd7ab3b 100644
--- a/games/freedoko/Makefile
+++ b/games/freedoko/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= freedoko
-PORTVERSION= 0.7.14
-PORTREVISION= 1
+PORTVERSION= 0.7.16
CATEGORIES= games
MASTER_SITES= SF/free-doko/FreeDoko%20source
DISTNAME= FreeDoko_${PORTVERSION}.src
@@ -14,18 +13,19 @@ COMMENT= Play the card game Doppelkopf
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/../doc/GPL
-LIB_DEPENDS= libgnet-2.0.so:net/gnet2
-
-BROKEN= fails to compile: refptr.h: expected ';' at end of declaration list
-
WRKSRC= ${WRKDIR}/${DISTNAME:C/\.src$//}/src
-USES= gmake pkgconfig zip:infozip
-USE_GNOME= gtkmm24
+USES= compiler:c++14-lang gmake pkgconfig zip:infozip
+USE_CXXSTD= c++14
+USE_GNOME= gtkmm30
MAKE_ENV= OS="${OPSYS}" DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}"
-OPTIONS_DEFINE= DOCS OPENAL
-OPTIONS_DEFAULT= OPENAL
+OPTIONS_DEFINE= DOCS NETWORK OPENAL
+OPTIONS_DEFAULT= NETWORK OPENAL
+
+NETWORK_DESC= Network support
+NETWORK_LIB_DEPENDS= libgnet-2.0.so:net/gnet2
+NETWORK_MAKE_ENV= USE_NETWORK=true
OPENAL_USES= openal:alut
OPENAL_MAKE_ENV= INCLUDE_SOUND_ALUT="$$(pkg-config --cflags freealut)" \
diff --git a/games/freedoko/distinfo b/games/freedoko/distinfo
index 4158d5056640..60aa75d06052 100644
--- a/games/freedoko/distinfo
+++ b/games/freedoko/distinfo
@@ -1,2 +1,3 @@
-SHA256 (FreeDoko_0.7.14.src.zip) = a27ab7acabb28aa8d038f0022377ea3e68d52626d454beaf0f65e0b91c777de9
-SIZE (FreeDoko_0.7.14.src.zip) = 21959828
+TIMESTAMP = 1484159638
+SHA256 (FreeDoko_0.7.16.src.zip) = 6fdcee22b3e9a76d44d8c3a582d068452290ec4c24f8f2f9e4498adf4daf40af
+SIZE (FreeDoko_0.7.16.src.zip) = 21763114
diff --git a/games/freedoko/pkg-plist b/games/freedoko/pkg-plist
index 0b2ffb0b7c05..dbaf828f7381 100644
--- a/games/freedoko/pkg-plist
+++ b/games/freedoko/pkg-plist
@@ -258,12 +258,6 @@ share/applications/FreeDoko.desktop
%%DATADIR%%/backgrounds/wood/table6.png
%%DATADIR%%/backgrounds/wood/table7.png
%%DATADIR%%/backgrounds/wood/table8.png
-%%DATADIR%%/cardsets/InnoCard/License.txt
-%%DATADIR%%/cardsets/InnoCard/Lizenzvertrag_InnoCard_2014.txt
-%%DATADIR%%/cardsets/InnoCard/Lizenzvertrag_InnoCard_2015.pdf
-%%DATADIR%%/cardsets/InnoCard/Lizenzvertrag_InnoCard_2016.pdf
-%%DATADIR%%/cardsets/InnoCard/cardset_convert.InnoCard.sh
-%%DATADIR%%/cardsets/InnoCard/create_icons.sh
%%DATADIR%%/cardsets/LiesMich
%%DATADIR%%/cardsets/ReadMe
%%DATADIR%%/cardsets/backs/tux/SuitClubs.svg