git: c2c8708906b8 - main - devel/air-go: Add port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 14 Mar 2025 17:49:13 UTC
The branch main has been updated by adamw:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c2c8708906b84ddc8d644df4b5dcb5bb1ef5fe70
commit c2c8708906b84ddc8d644df4b5dcb5bb1ef5fe70
Author: Adam Weinberger <adamw@FreeBSD.org>
AuthorDate: 2025-03-14 17:47:12 +0000
Commit: Adam Weinberger <adamw@FreeBSD.org>
CommitDate: 2025-03-14 17:47:12 +0000
devel/air-go: Add port
Add a port for the Go development tool air, a live reloader for Go
applications.
Register a conflict with misc/air, an LLM app.
---
devel/Makefile | 1 +
devel/air-go/Makefile | 21 +++++++++++++++++++++
devel/air-go/distinfo | 5 +++++
devel/air-go/pkg-descr | 9 +++++++++
misc/air/Makefile | 2 ++
5 files changed, 38 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index 424bf329ad6e..44fecc2ff4ad 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -176,6 +176,7 @@
SUBDIR += aegis
SUBDIR += agar
SUBDIR += aifad
+ SUBDIR += air-go
SUBDIR += aixlog
SUBDIR += ald
SUBDIR += alire
diff --git a/devel/air-go/Makefile b/devel/air-go/Makefile
new file mode 100644
index 000000000000..f60a02fbffb4
--- /dev/null
+++ b/devel/air-go/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= air
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.61.7
+CATEGORIES= devel
+PKGNAMESUFFIX= -go
+
+MAINTAINER= adamw@FreeBSD.org
+COMMENT= Live reload for Go apps
+WWW= https://github.com/air-verse/air
+
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+GO_MODULE= github.com/air-verse/air
+
+CONFLICTS_INSTALL= air
+
+PLIST_FILES= bin/air
+
+.include <bsd.port.mk>
diff --git a/devel/air-go/distinfo b/devel/air-go/distinfo
new file mode 100644
index 000000000000..94c446a769ad
--- /dev/null
+++ b/devel/air-go/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1741973046
+SHA256 (go/devel_air-go/air-v1.61.7/v1.61.7.mod) = 9e3f9d04380ff31e0b591d70d22ca81c952a1de2e15ed5cc1cf67ed3468b676a
+SIZE (go/devel_air-go/air-v1.61.7/v1.61.7.mod) = 1731
+SHA256 (go/devel_air-go/air-v1.61.7/v1.61.7.zip) = 46c9fb305cde2b34b5f14758e94c753f9bd85e3cd48896c90ab767bdfcfbce7a
+SIZE (go/devel_air-go/air-v1.61.7/v1.61.7.zip) = 1049464
diff --git a/devel/air-go/pkg-descr b/devel/air-go/pkg-descr
new file mode 100644
index 000000000000..292f4131e2ce
--- /dev/null
+++ b/devel/air-go/pkg-descr
@@ -0,0 +1,9 @@
+Air is yet another live reloader for Go development (it does not do hot
+reloading for production environments). It's extensively customizable
+with a simple interface.
+
+Air can also proxy the connection to web-serving apps to live-reload
+your browser.
+
+For many projects it is zero configuration and runs right out of the
+box. For the rest, `air init` generates a config file.
diff --git a/misc/air/Makefile b/misc/air/Makefile
index 03e81185c1e3..326ea780bb03 100644
--- a/misc/air/Makefile
+++ b/misc/air/Makefile
@@ -241,6 +241,8 @@ OPENSSLLIB= /usr/lib
PLIST_FILES= bin/${PORTNAME}
+CONFLICTS_INSTALL= air-go
+
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc64 && !defined(CPUTYPE)