Hi,

   Here's a diff to upgrade Wesnoth to 1.16.1. I replaced a hardcoded
   /var in the Makefile with ${VARBASE}. Only one line changed in
   PLIST. Compiles, installs and runs great on my machine.

   OK?

   Thanks,
   Tom


Index: Makefile
===================================================================
RCS file: /cvs/ports/games/wesnoth/Makefile,v
retrieving revision 1.92
diff -u -p -r1.92 Makefile
--- Makefile    1 Nov 2021 20:39:39 -0000       1.92
+++ Makefile    14 Nov 2021 11:21:11 -0000
@@ -5,7 +5,7 @@ PORTROACH =     limitw:1,even
 BROKEN-hppa =  missing atomic ops
 COMMENT=       fantasy turn-based strategy game
 
-DISTNAME=      wesnoth-1.16.0
+DISTNAME=      wesnoth-1.16.1
 
 CATEGORIES=    games x11
 
@@ -44,7 +44,7 @@ RUN_DEPENDS=  devel/desktop-file-utils \
                textproc/libxslt \
                x11/gtk+3,-guic
 
-CONFIGURE_ARGS+=-DFIFO_DIR=/var/wesnothd \
+CONFIGURE_ARGS+=-DFIFO_DIR=${VARBASE}/wesnothd \
                -DSERVER_UID=708 \
                -DSERVER_GID=708 \
                -DENABLE_CAMPAIGN_SERVER=ON \
Index: distinfo
===================================================================
RCS file: /cvs/ports/games/wesnoth/distinfo,v
retrieving revision 1.44
diff -u -p -r1.44 distinfo
--- distinfo    1 Nov 2021 20:39:39 -0000       1.44
+++ distinfo    14 Nov 2021 11:21:11 -0000
@@ -1,2 +1,2 @@
-SHA256 (wesnoth-1.16.0.tar.bz2) = H25DDkNNph7KqnfixRTlmvtFWGhd1TE9ZuAborkAQWM=
-SIZE (wesnoth-1.16.0.tar.bz2) = 473896834
+SHA256 (wesnoth-1.16.1.tar.bz2) = jjO6I0uTVIWqT7GUoVpOfir7JSAFDHBqu/iO9Frl2TM=
+SIZE (wesnoth-1.16.1.tar.bz2) = 473960291
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/games/wesnoth/pkg/PLIST,v
retrieving revision 1.50
diff -u -p -r1.50 PLIST
--- pkg/PLIST   1 Nov 2021 20:39:39 -0000       1.50
+++ pkg/PLIST   14 Nov 2021 11:21:12 -0000
@@ -3235,6 +3235,7 @@ share/wesnoth/data/campaigns/tutorial/_m
 share/wesnoth/data/campaigns/tutorial/gui/
 share/wesnoth/data/campaigns/tutorial/gui/character_selection.cfg
 share/wesnoth/data/campaigns/tutorial/images/
+share/wesnoth/data/campaigns/tutorial/images/campaign_image.png
 share/wesnoth/data/campaigns/tutorial/images/misc/
 share/wesnoth/data/campaigns/tutorial/images/misc/highlight-hex.png
 share/wesnoth/data/campaigns/tutorial/images/portraits/

Reply via email to