summaryrefslogtreecommitdiff
path: root/games/freeciv21/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/freeciv21/Makefile')
-rw-r--r--games/freeciv21/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/games/freeciv21/Makefile b/games/freeciv21/Makefile
index 23a0c6b00f53..ce9a6134bb34 100644
--- a/games/freeciv21/Makefile
+++ b/games/freeciv21/Makefile
@@ -1,5 +1,5 @@
PORTNAME= freeciv21
-PORTVERSION= ${FC21_VERSION:S/^v//:S/-patch//:S/-rc./.r/}
+PORTVERSION= ${FC21_VERSION:S/^v//:S/-rc./.r/}
CATEGORIES= games
MASTER_SITES= https://github.com/longturn/${PORTNAME}/releases/download/${FC21_VERSION}/
DISTNAME= ${PORTNAME:S/^f/F/}-${FC21_VERSION}
@@ -15,14 +15,14 @@ LIB_DEPENDS= libdw.so:devel/elfutils \
libunwind.so:devel/libunwind
RUN_DEPENDS= ${LOCALBASE}/share/fonts/libertinus/LibertinusSans-Regular.otf:x11-fonts/libertinus
-USES= cmake desktop-file-utils kde:5 lua pkgconfig python:3.9+ qt:5 \
+USES= cmake desktop-file-utils kde:5 lua pkgconfig python qt:5 \
readline sdl sqlite
USE_KDE= archive
USE_QT= core gui network svg widgets buildtools:build qmake:build
-USE_SDL= mixer2
+USE_SDL= mixer2 sdl2
-FC21_VERSION= v3.1-rc.2
+FC21_VERSION= v3.1.0
CMAKE_ON= CMAKE_DISABLE_FIND_PACKAGE_Git
CMAKE_OFF= FREECIV_DOWNLOAD_FONTS
@@ -35,7 +35,7 @@ OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR}
MANPAGES_CMAKE_BOOL= FREECIV_ENABLE_MANPAGES
MANPAGES_CMAKE_BOOL_OFF= CMAKE_DISABLE_FIND_PACKAGE_Sphinx
-NLS_USES= gettext
+NLS_USES= gettext-runtime gettext-tools
NLS_CMAKE_BOOL= FREECIV_ENABLE_NLS
post-install-DOCS-off: