Hi all, attached is a quick bump update to moor 2.15.0, also added a
PORTHOME for a test that needs an XDG data dir
Index: Makefile
===================================================================
RCS file: /cvs/ports/sysutils/moor/Makefile,v
diff -u -p -r1.8 Makefile
--- Makefile 7 Jun 2026 15:30:15 -0000 1.8
+++ Makefile 13 Jun 2026 16:50:34 -0000
@@ -1,7 +1,7 @@
COMMENT = pager with incremental search and transparent decompression
MODGO_MODNAME = github.com/walles/moor/v2
-MODGO_VERSION = v2.14.0
+MODGO_VERSION = v2.15.0
DISTNAME = moor-${MODGO_VERSION}
WRKDIST = ${WRKDIR}/${MODGO_MODNAME}@${MODGO_VERSION}
@@ -20,6 +20,7 @@ SUBST_VARS += WRKSRC
MODGO_LDFLAGS += -X main.versionString=${MODGO_VERSION}
+PORTHOME = ${WRKSRC}/porthome
TEST_TARGET = ${MODGO_MODNAME}/cmd/moor
post-patch:
@@ -27,6 +28,9 @@ post-patch:
post-install:
${INSTALL_MAN} ${WRKSRC}/moor.1 ${PREFIX}/man/man1
+
+pre-test:
+ mkdir -p ${PORTHOME}/.local/share/moor
.include "modules.inc"
.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/sysutils/moor/distinfo,v
diff -u -p -r1.8 distinfo
--- distinfo 7 Jun 2026 15:30:15 -0000 1.8
+++ distinfo 13 Jun 2026 16:50:34 -0000
@@ -97,7 +97,7 @@ SHA256 (go_modules/gopkg.in/yaml.v3/@v/v
SHA256 (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.zip) = qrj7xOYwDqCOav4crqGKIckMefSJ9SxT4vIEMfGpoBU=
SHA256 (go_modules/gotest.tools/v3/@v/v3.3.0.mod) = IUtog2bXo+3KQa37T1dFP5Alf+Ln/9IxqzAYZgvpGWw=
SHA256 (go_modules/gotest.tools/v3/@v/v3.3.0.zip) = nNxAr7Wv4kvn7FxuxbNpaSxv0IFxPcGOZ0ApGwCDhD0=
-SHA256 (moor-v2.14.0.zip) = CjQ2ymrImuFOPFtbseSkwxJzUKrVLATr090lrNT8ngc=
+SHA256 (moor-v2.15.0.zip) = yQqppjA9S4byKotuT6nzJ8qgulLp/RCkSCws9i5KAvQ=
SIZE (go_modules/github.com/adrg/xdg/@v/v0.5.3.mod) = 258
SIZE (go_modules/github.com/adrg/xdg/@v/v0.5.3.zip) = 37913
SIZE (go_modules/github.com/alecthomas/assert/v2/@v/v2.11.0.mod) = 133
@@ -197,4 +197,4 @@ SIZE (go_modules/gopkg.in/yaml.v3/@v/v3.
SIZE (go_modules/gopkg.in/yaml.v3/@v/v3.0.1.zip) = 104623
SIZE (go_modules/gotest.tools/v3/@v/v3.3.0.mod) = 189
SIZE (go_modules/gotest.tools/v3/@v/v3.3.0.zip) = 98546
-SIZE (moor-v2.14.0.zip) = 5485399
+SIZE (moor-v2.15.0.zip) = 5486520