diff --git a/textproc/moor/Makefile b/textproc/moor/Makefile index abe7eda9974f..9e0c39bee847 100644 --- a/textproc/moor/Makefile +++ b/textproc/moor/Makefile @@ -1,34 +1,42 @@ PORTNAME= moor DISTVERSIONPREFIX= v -DISTVERSION= 2.5.0 +DISTVERSION= 2.5.1 CATEGORIES= textproc MAINTAINER= nxjoseph@protonmail.com COMMENT= Pager designed to do the right thing without any configuration WWW= https://github.com/walles/moor LICENSE= BSD2CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules GO_MODULE= github.com/walles/${PORTNAME}/v2 GO_TARGET= ./cmd/${PORTNAME} GO_BUILDFLAGS= -ldflags="-s -w -X main.versionString=${DISTVERSIONFULL}" PLIST_FILES= bin/${PORTNAME} \ share/man/man1/${PORTNAME}.1.gz PORTEXAMPLES= * OPTIONS_DEFINE= EXAMPLES OPTIONS_SUB= yes +post-extract: + @cd ${WRKSRC}/sample-files && \ + ${LN} -s compressed.txt.zst compressed.txt.zstd + +post-patch: + @${REINPLACE_CMD} -e '22s,".*","${WRKSRC}/sample-files",g' \ + ${WRKSRC}/internal/reader/reader_test.go + post-install: ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 \ ${STAGEDIR}${MANDIRS}/man1 post-install-EXAMPLES-on: @cd ${WRKSRC}/sample-files && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/textproc/moor/distinfo b/textproc/moor/distinfo index 56004feccf05..d12f75d32edc 100644 --- a/textproc/moor/distinfo +++ b/textproc/moor/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1760098062 -SHA256 (go/textproc_moor/moor-v2.5.0/v2.5.0.mod) = 157a9f9076751751b42b48c8ea9d05f985c0b14ce11316ed20856fd9a382b731 -SIZE (go/textproc_moor/moor-v2.5.0/v2.5.0.mod) = 585 -SHA256 (go/textproc_moor/moor-v2.5.0/v2.5.0.zip) = 12532f2e56d7b7f8807b382ab1e1de3a9935f7384399954e1d7fcb859675897c -SIZE (go/textproc_moor/moor-v2.5.0/v2.5.0.zip) = 3120590 +TIMESTAMP = 1760300260 +SHA256 (go/textproc_moor/moor-v2.5.1/v2.5.1.mod) = 157a9f9076751751b42b48c8ea9d05f985c0b14ce11316ed20856fd9a382b731 +SIZE (go/textproc_moor/moor-v2.5.1/v2.5.1.mod) = 585 +SHA256 (go/textproc_moor/moor-v2.5.1/v2.5.1.zip) = cbbe4c8f2142c49f6a435361611c156bb8fc21857048025c244a815827e72f20 +SIZE (go/textproc_moor/moor-v2.5.1/v2.5.1.zip) = 3122467