diff options
| author | Nicola Vitale <nivit@FreeBSD.org> | 2026-03-02 09:38:28 +0000 |
|---|---|---|
| committer | Nicola Vitale <nivit@FreeBSD.org> | 2026-03-02 09:38:28 +0000 |
| commit | 213599560d834953c3e62bf9ab7b7a0c5787a0de (patch) | |
| tree | 88391bdd4b28a4a10f33b3c65a0fd35adf45362e | |
| parent | d2b60fb13ff8c7d90782fa2ff26756378e63633e (diff) | |
devel/hut: Add new port
Hut is a CLI companion utility to interact with sr.ht.
https://git.sr.ht/~xenrox/hut
| -rw-r--r-- | devel/Makefile | 1 | ||||
| -rw-r--r-- | devel/hut/Makefile | 30 | ||||
| -rw-r--r-- | devel/hut/distinfo | 5 | ||||
| -rw-r--r-- | devel/hut/pkg-descr | 1 |
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 55dcdcc35b4d..9ab5791d17e8 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1012,6 +1012,7 @@ SUBDIR += hs-threadscope SUBDIR += htable SUBDIR += hub + SUBDIR += hut SUBDIR += hvm SUBDIR += hwloc SUBDIR += hwloc2 diff --git a/devel/hut/Makefile b/devel/hut/Makefile new file mode 100644 index 000000000000..1c8e4862342e --- /dev/null +++ b/devel/hut/Makefile @@ -0,0 +1,30 @@ +PORTNAME= hut +DISTVERSIONPREFIX= v +DISTVERSION= 0.7.0 +CATEGORIES= devel + +MAINTAINER= nivit@FreeBSD.org +COMMENT= CLI tool for sr.ht +WWW= https://git.sr.ht/~xenrox/hut + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= scdoc:textproc/scdoc + +USES= go:modules + +GO_MODULE= git.sr.ht/~xenrox/hut +GO_BUILDFLAGS= -ldflags "-X 'main.version=${DISTVERSIONPREFIX}${PORTVERSION}'" + +PLIST_FILES= bin/hut \ + share/man/man1/${PORTNAME}.1.gz + +post-build: + @(cd ${WRKSRC}/doc && \ + ${PREFIX}/bin/scdoc < ${PORTNAME}.1.scd > ${PORTNAME}.1) + +post-install: + ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 + +.include <bsd.port.mk> diff --git a/devel/hut/distinfo b/devel/hut/distinfo new file mode 100644 index 000000000000..ceff5c46a24b --- /dev/null +++ b/devel/hut/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1772443065 +SHA256 (go/devel_hut/hut-v0.7.0/v0.7.0.mod) = 28d85354037354ffb4525bf3d1204dcc58164b1c922ae01cd4254264af7bc914 +SIZE (go/devel_hut/hut-v0.7.0/v0.7.0.mod) = 741 +SHA256 (go/devel_hut/hut-v0.7.0/v0.7.0.zip) = b37468967ff7901f27a405ffff18dcfe6a05f8f2108818c712fd03ce3c44beb4 +SIZE (go/devel_hut/hut-v0.7.0/v0.7.0.zip) = 192876 diff --git a/devel/hut/pkg-descr b/devel/hut/pkg-descr new file mode 100644 index 000000000000..d223834fe35e --- /dev/null +++ b/devel/hut/pkg-descr @@ -0,0 +1 @@ +Hut is a CLI companion utility to interact with sr.ht. |
