summaryrefslogtreecommitdiff
path: root/games/exult
diff options
context:
space:
mode:
Diffstat (limited to 'games/exult')
-rw-r--r--games/exult/Makefile16
-rw-r--r--games/exult/distinfo6
-rw-r--r--games/exult/files/patch-mapedit_Makefile.am13
-rw-r--r--games/exult/files/patch-tools_Makefile.am24
-rw-r--r--games/exult/files/patch-tools_gimp__plugin_Makefile.am20
-rw-r--r--games/exult/pkg-plist26
6 files changed, 46 insertions, 59 deletions
diff --git a/games/exult/Makefile b/games/exult/Makefile
index 7b22fd303f14..b17b0b26ad31 100644
--- a/games/exult/Makefile
+++ b/games/exult/Makefile
@@ -1,8 +1,8 @@
PORTNAME= exult
-DISTVERSION?= 1.10.1
-PORTREVISION?= 1
+DISTVERSION= 1.12.0
PORTEPOCH= 1
CATEGORIES= games
+MASTER_SITES= SF/exult/exult-all-versions/${DISTVERSION:R}/
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Engine for Ultima VII (BG, FOV, SI, SS)
@@ -11,10 +11,10 @@ WWW= http://exult.info
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
+BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive
LIB_DEPENDS= libogg.so:audio/libogg \
libpng16.so:graphics/png \
libvorbis.so:audio/libvorbis
-BUILD_DEPENDS= autoconf-archive>=0:devel/autoconf-archive
USES= autoreconf compiler:c++17-lang gmake libtool localbase \
pkgconfig sdl xorg
@@ -27,17 +27,9 @@ CONFIGURE_ARGS= --disable-static \
--enable-shared \
--with-icondir=${PREFIX}/share/pixmaps
-CONFLICTS_INSTALL= exult-devel
-SUB_FILES= pkg-message
-PLIST?= ${.CURDIR}/pkg-plist
+SUB_FILES= pkg-message
PORTDOCS= *
-.if !defined(MASTERDIR)
-MASTER_SITES= http://prdownloads.sourceforge.net/exult/
-.else
-USE_GITHUB= yes
-.endif
-
OPTIONS_DEFINE= ALSA DEBUG DOCS FLUIDSYNTH GIMP STUDIO
OPTIONS_DEFAULT= STUDIO
OPTIONS_SUB= yes
diff --git a/games/exult/distinfo b/games/exult/distinfo
index 6e6292130023..2d4cf4158cf5 100644
--- a/games/exult/distinfo
+++ b/games/exult/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1727303221
-SHA256 (exult-1.10.1.tar.gz) = f55f682a47009fdc5138571f80ac42eb1fe5c07c8d9ccacaa9de66caed039fd3
-SIZE (exult-1.10.1.tar.gz) = 19688644
+TIMESTAMP = 1747001625
+SHA256 (exult-1.12.0.tar.gz) = 1734fb8fc76696c7697f00d53e1c5c04b889ab4cabd95e4a3e0380bc35ee5392
+SIZE (exult-1.12.0.tar.gz) = 18707764
diff --git a/games/exult/files/patch-mapedit_Makefile.am b/games/exult/files/patch-mapedit_Makefile.am
deleted file mode 100644
index a05690e7520e..000000000000
--- a/games/exult/files/patch-mapedit_Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
---- mapedit/Makefile.am.orig 2024-05-30 10:27:11 UTC
-+++ mapedit/Makefile.am
-@@ -103,8 +103,8 @@ install-exec-local:
-
- if GIMP_PLUGIN
- install-exec-local:
-- install -d $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
-- install -c $(GIMP_PLUGINS) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
-+ $(MKDIR_P) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
-+ $(INSTALL_PROGRAM) $(GIMP_PLUGINS) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
- else
- install-exec-local:
- endif
diff --git a/games/exult/files/patch-tools_Makefile.am b/games/exult/files/patch-tools_Makefile.am
index 5c4f64ac46d2..03ea0474f439 100644
--- a/games/exult/files/patch-tools_Makefile.am
+++ b/games/exult/files/patch-tools_Makefile.am
@@ -1,28 +1,14 @@
---- tools/Makefile.am.orig 2024-05-30 10:27:11 UTC
+--- tools/Makefile.am.orig 2025-05-11 22:29:23 UTC
+++ tools/Makefile.am
-@@ -68,11 +68,11 @@ if BUILD_GTHUMB
- ## Does not work:
- #thumbnailerdir=$(datadir)/thumbnailers
- ## Needs to be in /usr/share/thumbnailers
--thumbnailerdir=/usr/share/thumbnailers
-+thumbnailerdir=$(datadir)/thumbnailers
- thumbnailer_in_files=$(top_srcdir)/tools/gnome_u7shapes.thumbnailer.in
- thumbnailer_DATA=$(thumbnailer_in_files:.thumbnailer.in=.thumbnailer)
- gnome_shp_thumbnailer_DATA=x-shapefile.xml
--gnome_shp_thumbnailerdir=$(DESTDIR)$(datadir)/mime/packages
-+gnome_shp_thumbnailerdir=$(datadir)/mime/packages
+@@ -155,10 +155,10 @@ install-data-hook:
- # Rule to make the service file with bindir expanded
- $(thumbnailer_DATA): $(thumbnailer_in_files)
-@@ -117,10 +117,10 @@ install-data-hook:
-
- if BUILD_GTHUMB
+ if BUILD_EXULT_THUMB
install-data-hook:
-- update-mime-database $(DESTDIR)$(datadir)/mime || :
+- update-mime-database $(DESTDIR)$(EXULT_THUMB_PREFIX)/mime || :
+ :
uninstall-hook:
-- update-mime-database $(DESTDIR)$(datadir)/mime || :
+- update-mime-database $(DESTDIR)$(EXULT_THUMB_PREFIX)/mime || :
+ :
else
install-data-hook:
diff --git a/games/exult/files/patch-tools_gimp__plugin_Makefile.am b/games/exult/files/patch-tools_gimp__plugin_Makefile.am
new file mode 100644
index 000000000000..791dd33ebc58
--- /dev/null
+++ b/games/exult/files/patch-tools_gimp__plugin_Makefile.am
@@ -0,0 +1,20 @@
+--- tools/gimp_plugin/Makefile.am.orig 2025-05-11 22:33:59 UTC
++++ tools/gimp_plugin/Makefile.am
+@@ -27,13 +27,13 @@ install-exec-local:
+
+ if GIMP3_PLUGIN
+ install-exec-local:
+- install -d $(DESTDIR)$(GIMP_PLUGIN_PREFIX)/u7shp
+- install -c $(GIMP_PLUGINS) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)/u7shp
++ $(MKDIR_P) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
++ $(INSTALL_PROGRAM) $(GIMP_PLUGINS) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
+ else
+ if GIMP2_PLUGIN
+ install-exec-local:
+- install -d $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
+- install -c $(GIMP_PLUGINS) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
++ $(MKDIR_P) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
++ $(INSTALL_PROGRAM) $(GIMP_PLUGINS) $(DESTDIR)$(GIMP_PLUGIN_PREFIX)
+ else
+ install-exec-local:
+ endif
diff --git a/games/exult/pkg-plist b/games/exult/pkg-plist
index cd23cd2ced82..b6567cacff47 100644
--- a/games/exult/pkg-plist
+++ b/games/exult/pkg-plist
@@ -12,16 +12,8 @@ bin/u7voice2syx
bin/ucxt
bin/wuc
%%GIMP%%libexec/gimp/2.2/plug-ins/u7shp
-share/man/man1/expack.1.gz
-share/man/man1/exult_studio.1.gz
-share/man/man1/ipack.1.gz
-share/man/man1/shp2pcx.1.gz
-share/man/man1/splitshp.1.gz
-share/man/man1/textpack.1.gz
-share/man/man1/ucc.1.gz
-share/man/man6/exult.6.gz
share/applications/info.exult.exult.desktop
-%%STUDIO%%share/applications/info.exult.studio.desktop
+%%STUDIO%%share/applications/info.exult.exult.studio.desktop
%%STUDIO%%%%DATADIR%%/estudio/new/avatar_data.txt
%%STUDIO%%%%DATADIR%%/estudio/new/blends.dat
%%STUDIO%%%%DATADIR%%/estudio/new/combos.flx
@@ -44,7 +36,17 @@ share/applications/info.exult.exult.desktop
%%DATADIR%%/u7opcodes.data
%%DATADIR%%/u7sibetaintrinsics.data
%%DATADIR%%/u7siintrinsics.data
+%%STUDIO%%share/icons/hicolor/scalable/apps/info.exult.exult.studio.svg
+share/icons/hicolor/scalable/apps/info.exult.exult.svg
+share/man/man1/expack.1.gz
+share/man/man1/exult_studio.1.gz
+share/man/man1/ipack.1.gz
+share/man/man1/shp2pcx.1.gz
+share/man/man1/splitshp.1.gz
+share/man/man1/textpack.1.gz
+share/man/man1/ucc.1.gz
+share/man/man6/exult.6.gz
+share/metainfo/info.exult.exult.metainfo.xml
+%%STUDIO%%share/metainfo/info.exult.exult.studio.metainfo.xml
share/pixmaps/info.exult.exult.png
-share/pixmaps/info.exult.exult.svg
-%%STUDIO%%share/pixmaps/info.exult.studio.png
-%%STUDIO%%share/pixmaps/info.exult.studio.svg
+%%STUDIO%%share/pixmaps/info.exult.exult.studio.png