summaryrefslogtreecommitdiff
path: root/textproc/moor/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/moor/Makefile')
-rw-r--r--textproc/moor/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/textproc/moor/Makefile b/textproc/moor/Makefile
index abe7eda9974f..ad9560168c00 100644
--- a/textproc/moor/Makefile
+++ b/textproc/moor/Makefile
@@ -1,6 +1,7 @@
PORTNAME= moor
DISTVERSIONPREFIX= v
-DISTVERSION= 2.5.0
+DISTVERSION= 2.5.1
+PORTREVISION= 1
CATEGORIES= textproc
MAINTAINER= nxjoseph@protonmail.com
@@ -23,6 +24,14 @@ 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