aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2023-01-25 16:22:10 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2023-01-25 16:25:04 +0000
commit68c686460bb1377c66bf6d5ab4f691babfdb4475 (patch)
tree647fdb9ba08b11f91da21d703919a8d6cca301e3
parentd966de5a7dd68918795218e7ee75da149fb17e06 (diff)
downloadports-68c686460bb1377c66bf6d5ab4f691babfdb4475.tar.gz
ports-68c686460bb1377c66bf6d5ab4f691babfdb4475.zip
games/freedroidrpg: update 0.16.1 → 1.0
-rw-r--r--games/freedroidrpg/Makefile40
-rw-r--r--games/freedroidrpg/distinfo5
-rw-r--r--games/freedroidrpg/pkg-plist14
3 files changed, 33 insertions, 26 deletions
diff --git a/games/freedroidrpg/Makefile b/games/freedroidrpg/Makefile
index decfd9f9d88c..6b7cc0aff21e 100644
--- a/games/freedroidrpg/Makefile
+++ b/games/freedroidrpg/Makefile
@@ -1,22 +1,21 @@
PORTNAME= freedroidrpg
-PORTVERSION= 0.16.1
-PORTREVISION= 3
+PORTVERSION= 1.0
CATEGORIES= games
-MASTER_SITES= https://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PORTVERSION:R}/ \
- https://mirror.amdmi3.ru/distfiles/
+MASTER_SITES= https://ftp.osuosl.org/pub/freedroid/freedroidRPG-${PORTVERSION}/
DISTNAME= freedroidRPG-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Modification of the classical Freedroid engine into an RPG
-WWW= https://www.freedroid.org/
+WWW= https://www.freedroid.org/ \
+ https://codeberg.org/freedroid/freedroid-src
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
+USES= cpe jpeg gmake localbase lua:53 pkgconfig python sdl xorg
GNU_CONFIGURE= yes
-USES= cpe jpeg gmake localbase lua:-53 python sdl xorg
CPE_VENDOR= freedroid
USE_XORG= x11
USE_SDL= sdl image gfx
@@ -24,8 +23,6 @@ CONFIGURE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LU
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-CFLAGS+= -fcommon
-
PORTDATA= *
PORTDOCS= *
@@ -33,20 +30,23 @@ OPTIONS_DEFINE= NLS BACKTRACE OPENGL SOUND DOCS
OPTIONS_DEFAULT=BACKTRACE OPENGL SOUND
OPTIONS_SUB= yes
-BACKTRACE_DESC= Use backtrace() to generate nice bug reports
-BACKTRACE_CONFIGURE_ENABLE= backtrace
-BACKTRACE_VARS= STRIP= # empty
+BACKTRACE_DESC= Use backtrace() to generate nice bug reports
+BACKTRACE_CONFIGURE_ENABLE=backtrace
+BACKTRACE_VARS= STRIP= # empty
-OPENGL_USES= gl
-OPENGL_USE= GL=gl
-OPENGL_CONFIGURE_ENABLE= opengl
+OPENGL_USES= gl
+OPENGL_USE= GL=gl,glu,glew
+OPENGL_CONFIGURE_ENABLE=opengl
-SOUND_LIB_DEPENDS= libvorbis.so:audio/libvorbis \
- libogg.so:audio/libogg
-SOUND_CONFIGURE_ENABLE= sound
-SOUND_USE= SDL=mixer
+SOUND_LIB_DEPENDS= libvorbis.so:audio/libvorbis \
+ libogg.so:audio/libogg
+SOUND_CONFIGURE_ENABLE= sound
+SOUND_USE= SDL=mixer
-NLS_USES= gettext
-NLS_CONFIGURE_ENABLE= nls
+NLS_USES= gettext
+NLS_CONFIGURE_ENABLE= nls
+# does not build with disabled NLS, following 2 lines to hack this
+NLS_CONFIGURE_ENABLE= # empty
+NLS_USES_OFF= gettext
.include <bsd.port.mk>
diff --git a/games/freedroidrpg/distinfo b/games/freedroidrpg/distinfo
index 36b2c5b22c8f..3b58fa18299d 100644
--- a/games/freedroidrpg/distinfo
+++ b/games/freedroidrpg/distinfo
@@ -1,2 +1,3 @@
-SHA256 (freedroidRPG-0.16.1.tar.gz) = 426df175034b12095e7498fd80c907e507667c960ee1da331d9e5566d1b09358
-SIZE (freedroidRPG-0.16.1.tar.gz) = 226744359
+TIMESTAMP = 1674657214
+SHA256 (freedroidRPG-1.0.tar.gz) = 7995b70b594248ea14d1b4ef595397a60183031c99163b01c1a8a70ccef3bbcf
+SIZE (freedroidRPG-1.0.tar.gz) = 237703530
diff --git a/games/freedroidrpg/pkg-plist b/games/freedroidrpg/pkg-plist
index 6e7a8e4c5a92..1f404e8b6f8a 100644
--- a/games/freedroidrpg/pkg-plist
+++ b/games/freedroidrpg/pkg-plist
@@ -1,17 +1,16 @@
bin/freedroidRPG
man/man6/freedroidRPG.6.gz
-share/appdata/freedroidrpg.appdata.xml
-share/applications/freedroidrpg.desktop
+share/applications/org.freedroid.freedroidRPG.desktop
share/icons/HighContrast/128x128/apps/freedroidrpg.png
share/icons/HighContrast/48x48/apps/freedroidrpg.png
share/icons/HighContrast/64x64/apps/freedroidrpg.png
share/icons/HighContrast/96x96/apps/freedroidrpg.png
-share/icons/HighContrast/scalable/apps/freedroidRPG.svg
+share/icons/HighContrast/scalable/apps/freedroidrpg.svg
share/icons/hicolor/128x128/apps/freedroidrpg.png
share/icons/hicolor/48x48/apps/freedroidrpg.png
share/icons/hicolor/64x64/apps/freedroidrpg.png
share/icons/hicolor/96x96/apps/freedroidrpg.png
-share/icons/hicolor/scalable/apps/freedroidRPG.svg
+share/icons/hicolor/scalable/apps/freedroidrpg.svg
%%NLS%%share/locale/cs/LC_MESSAGES/freedroidrpg-data.mo
%%NLS%%share/locale/cs/LC_MESSAGES/freedroidrpg-dialogs.mo
%%NLS%%share/locale/cs/LC_MESSAGES/freedroidrpg.mo
@@ -24,12 +23,19 @@ share/icons/hicolor/scalable/apps/freedroidRPG.svg
%%NLS%%share/locale/fr/LC_MESSAGES/freedroidrpg-data.mo
%%NLS%%share/locale/fr/LC_MESSAGES/freedroidrpg-dialogs.mo
%%NLS%%share/locale/fr/LC_MESSAGES/freedroidrpg.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/freedroidrpg-data.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/freedroidrpg-dialogs.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/freedroidrpg.mo
%%NLS%%share/locale/it/LC_MESSAGES/freedroidrpg-data.mo
%%NLS%%share/locale/it/LC_MESSAGES/freedroidrpg-dialogs.mo
%%NLS%%share/locale/it/LC_MESSAGES/freedroidrpg.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/freedroidrpg-data.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/freedroidrpg-dialogs.mo
%%NLS%%share/locale/pt_BR/LC_MESSAGES/freedroidrpg.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/freedroidrpg-data.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/freedroidrpg-dialogs.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/freedroidrpg.mo
%%NLS%%share/locale/sv/LC_MESSAGES/freedroidrpg-data.mo
%%NLS%%share/locale/sv/LC_MESSAGES/freedroidrpg-dialogs.mo
%%NLS%%share/locale/sv/LC_MESSAGES/freedroidrpg.mo
+share/metainfo/org.freedroid.freedroidRPG.appdata.xml