Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2026 00:30:19 +0000
From:      =?utf-8?Q?Jes=C3=BAs?= Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4521f52774d5 - main - sysutils/bin: New port: Effortless binary manager
Message-ID:  <69e2d09b.42e86.3ca4f602@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by dtxdf:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4521f52774d5423339c1a2ce9c5734c0f5a1e644

commit 4521f52774d5423339c1a2ce9c5734c0f5a1e644
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2026-04-18 00:29:04 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2026-04-18 00:30:11 +0000

    sysutils/bin: New port: Effortless binary manager
    
    bin is a lightweight, cross-platform binary manager designed to
    simplify the installation and management of single-binary applications,
    which are gaining popularity due to languages such as Go, Rust or Deno.
    
    Features:
    
    * Zero Configuration
    * No Root Required
    * Version Management
    * Lightweight
    * Multiple Sources
    
    WWW: https://github.com/marcosnils/bin/
---
 sysutils/Makefile      |  1 +
 sysutils/bin/Makefile  | 33 +++++++++++++++++++++++++++++++++
 sysutils/bin/distinfo  |  5 +++++
 sysutils/bin/pkg-descr | 11 +++++++++++
 4 files changed, 50 insertions(+)

diff --git a/sysutils/Makefile b/sysutils/Makefile
index 1238a20ffe8c..8232bf14f65e 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -123,6 +123,7 @@
     SUBDIR += bhyve-firmware
     SUBDIR += bhyve-rc
     SUBDIR += bhyvemgr
+    SUBDIR += bin
     SUBDIR += biosfont
     SUBDIR += bkpupsd
     SUBDIR += bksh
diff --git a/sysutils/bin/Makefile b/sysutils/bin/Makefile
new file mode 100644
index 000000000000..ab9232b4b622
--- /dev/null
+++ b/sysutils/bin/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	bin
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.24.3
+CATEGORIES=	sysutils
+
+MAINTAINER=	dtxdf@FreeBSD.org
+COMMENT=	Effortless binary manager
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+USE_GITHUB=	yes
+GH_ACCOUNT=	marcosnils
+
+GO_MOD_DIST=	github
+GO_MODULE=	github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_BUILDFLAGS=	-ldflags "\
+			-X 'main.version=${DISTVERSIONFULL}' \
+			-X 'main.commit=${GITID}' \
+			-X 'main.date=${BUILD_DATE}' \
+			-X 'main.BuiltBy=FreeBSD Ports'"
+CGO_ENABLED=	0
+
+PLIST_FILES=	bin/${PORTNAME}
+#
+# Run 'git checkout ${DISTVERSIONPREFIX}${DISTVERSION} && git rev-parse --short HEAD'
+# in the Bin repository to get the value of GITID.
+GITID=		cc30b9bd761c71afbdbc30ee9a768efc84b564be
+
+BUILD_DATE=	$$(date -u "+%Y-%m-%dT%H:%M:%SZ")
+
+.include <bsd.port.mk>
diff --git a/sysutils/bin/distinfo b/sysutils/bin/distinfo
new file mode 100644
index 000000000000..3665ccb879df
--- /dev/null
+++ b/sysutils/bin/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1776468509
+SHA256 (go/sysutils_bin/marcosnils-bin-v0.24.3_GH0/go.mod) = 12d6741a92493599395e40faf98ef37b00d34e9d262f6aa697310a534a948031
+SIZE (go/sysutils_bin/marcosnils-bin-v0.24.3_GH0/go.mod) = 3653
+SHA256 (go/sysutils_bin/marcosnils-bin-v0.24.3_GH0/marcosnils-bin-v0.24.3_GH0.tar.gz) = b108b87f59ed7c25c14bf34a7195d23c92443c5afd0cf1179020bf44c9052790
+SIZE (go/sysutils_bin/marcosnils-bin-v0.24.3_GH0/marcosnils-bin-v0.24.3_GH0.tar.gz) = 43387
diff --git a/sysutils/bin/pkg-descr b/sysutils/bin/pkg-descr
new file mode 100644
index 000000000000..4c851f5391d8
--- /dev/null
+++ b/sysutils/bin/pkg-descr
@@ -0,0 +1,11 @@
+bin is a lightweight, cross-platform binary manager designed to
+simplify the installation and management of single-binary applications,
+which are gaining popularity due to languages such as Go, Rust or Deno.
+
+Features:
+
+* Zero Configuration
+* No Root Required
+* Version Management
+* Lightweight
+* Multiple Sources


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e2d09b.42e86.3ca4f602>