aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2015-05-26 20:39:38 +0800
committermarino <marino@FreeBSD.org>2015-05-26 20:39:38 +0800
commit9007a7457af5fcb673c0ffd604c9068ead43dae2 (patch)
treef595b9b057571f311c44ef0429425400ea7e3224 /games
parent349900a328ffdecc9d7aa8478cb25c9687813f26 (diff)
downloadfreebsd-ports-gnome-9007a7457af5fcb673c0ffd604c9068ead43dae2.tar.gz
freebsd-ports-gnome-9007a7457af5fcb673c0ffd604c9068ead43dae2.tar.zst
freebsd-ports-gnome-9007a7457af5fcb673c0ffd604c9068ead43dae2.zip
games/wesnoth: Revert version 1.13 => 1.12
This port is supposed to track stable releases. Those end in even numbers, e.g. 1.10, 1.12, 1.14. The odd numbers are development releases. The upgrade to 1.13 was due to a misunderstanding about the version numbering scheme. PR: 200236 Submitted by: maintainer (Torsten Zuehlsdorff)
Diffstat (limited to 'games')
-rw-r--r--games/wesnoth/Makefile18
-rw-r--r--games/wesnoth/distinfo4
-rw-r--r--games/wesnoth/pkg-plist1
3 files changed, 12 insertions, 11 deletions
diff --git a/games/wesnoth/Makefile b/games/wesnoth/Makefile
index 6da961a8b299..2e9bd8fd2f6b 100644
--- a/games/wesnoth/Makefile
+++ b/games/wesnoth/Makefile
@@ -1,9 +1,10 @@
# $FreeBSD$
PORTNAME= wesnoth
-PORTVERSION= 1.13.0
+PORTVERSION= 1.12.2
+PORTEPOCH= 1
CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} \
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}/${PORTNAME}-${PORTVERSION} \
http://files.wesnoth.org/ \
http://ports.toco-domains.de/
@@ -19,9 +20,11 @@ LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \
libpng.so:${PORTSDIR}/graphics/png \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
+LDFLAGS+= -L${LOCALBASE}/lib -lboost_system
+
USE_SDL= image mixer net ttf
USE_GNOME= pango
-USES= compiler:features cmake cpe pkgconfig tar:bzip2
+USES= cmake cpe pkgconfig tar:bzip2
CPE_VENDOR= ${PORTNAME}
CPE_PRODUCT= battle_for_wesnoth
CMAKE_ARGS= -DMANDIR="man" -DENABLE_STRICT_COMPILATION=off
@@ -38,6 +41,7 @@ ANA_DESC= Asynchronous Network API (WIP)
ANA_CMAKE_ON= -DUSE_ANA_NETWORK=on
CAMPAIGN_DESC= Campaign server
CAMPAIGN_CMAKE_ON=-DENABLE_CAMPAIGN_SERVER=on
+DOCS_CMAKE_OFF= -DDOCDIR=none
FRIBIDI_DESC= Bidirectional support
FRIBIDI_LIB_DEPENDS=libfribidi.so:${PORTSDIR}/converters/fribidi
FRIBIDI_CMAKE_OFF=-DENABLE_FRIBIDI=off
@@ -60,11 +64,7 @@ TEST_CMAKE_ON= -DENABLE_TESTS=on
TOOLS_DESC= Extra tools for artists and translators
TOOLS_CMAKE_ON= -DENABLE_TOOLS=on
-.include <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
-USE_GCC= yes
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MOPENMP}
BROKEN= compilation fails with OpenMP
@@ -77,4 +77,4 @@ BROKEN= compilations fails with enabled TEST option
post-install:
${FIND} ${STAGEDIR}${PREFIX}/man -type d -empty -delete
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/wesnoth/distinfo b/games/wesnoth/distinfo
index cb1754095e0a..a00bfae57b75 100644
--- a/games/wesnoth/distinfo
+++ b/games/wesnoth/distinfo
@@ -1,2 +1,2 @@
-SHA256 (wesnoth-1.13.0.tar.bz2) = 68fc1f3e147c73b9eb3622a157e272d3f5f286acb3c5043dc1bfa7f7fb8cb912
-SIZE (wesnoth-1.13.0.tar.bz2) = 394272774
+SHA256 (wesnoth-1.12.2.tar.bz2) = 1f4f76e5fd0ce175a3eb7b9855aff7a58dc75899c534d7653d97ac9fd4fe798b
+SIZE (wesnoth-1.12.2.tar.bz2) = 392234446
diff --git a/games/wesnoth/pkg-plist b/games/wesnoth/pkg-plist
index a83c03fd6dc1..8296353f7d28 100644
--- a/games/wesnoth/pkg-plist
+++ b/games/wesnoth/pkg-plist
@@ -1638,6 +1638,7 @@ share/pixmaps/wesnoth_editor-icon.png
%%NLS%%man/it/man6/wesnoth.6.gz
%%NLS%%%%SERVER%%man/it/man6/wesnothd.6.gz
%%NLS%%%%SERVER%%man/ja/man6/wesnothd.6.gz
+%%NLS%%man/lt/man6/wesnoth.6.gz
%%NLS%%%%SERVER%%man/lt/man6/wesnothd.6.gz
man/man6/wesnoth.6.gz
%%SERVER%%man/man6/wesnothd.6.gz