Hi Alvar,
I would like add harper-cli to the harper package, as that would be
my preferred way to interact with harper.
Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/harper/Makefile,v
diff -u -p -u -r1.1.1.1 Makefile
--- Makefile 13 Sep 2026 13:26:45 -0000 1.1.1.1
+++ Makefile 21 Sep 2026 09:34:39 -0000
@@ -3,6 +3,7 @@ COMMENT= offline, privacy-first grammar
GH_ACCOUNT= Automattic
GH_PROJECT= harper
GH_TAGNAME= v2.10.0
+REVISION= 0
CATEGORIES= textproc
@@ -22,9 +23,9 @@ CONFIGURE_STYLE= cargo
LIB_DEPENDS= archivers/zstd
-MODCARGO_CARGOTOML= ${WRKDIST}/harper-ls/Cargo.toml
MODCARGO_CRATES_KEEP= zstd-sys
-MODCARGO_INSTALL_TARGET_PATHS= harper-ls
+MODCARGO_BUILD_ARGS= -p harper-cli -p harper-ls
+MODCARGO_INSTALL_TARGET_PATHS= harper-cli harper-ls
.include "crates.inc"
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/textproc/harper/pkg/DESCR,v
diff -u -p -u -r1.1.1.1 DESCR
--- pkg/DESCR 13 Sep 2026 13:26:45 -0000 1.1.1.1
+++ pkg/DESCR 21 Sep 2026 09:34:39 -0000
@@ -1,3 +1,4 @@
Harper is an English grammar checker designed to be just right.
-At the moment, only the Language Server harper-ls is being built.
+This package provides both the Language Server (harper-ls) and the
+command-line tool (harper-cli).
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/harper/pkg/PLIST,v
diff -u -p -u -r1.1.1.1 PLIST
--- pkg/PLIST 13 Sep 2026 13:26:45 -0000 1.1.1.1
+++ pkg/PLIST 21 Sep 2026 09:34:39 -0000
@@ -1 +1,2 @@
+@bin bin/harper-cli
@bin bin/harper-ls
--
Regards,
Mikolaj