aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2025-03-14 17:47:12 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2025-03-14 17:47:12 +0000
commitc2c8708906b84ddc8d644df4b5dcb5bb1ef5fe70 (patch)
tree18a2eb9d0dd80750c859da3d25cf4ec9e6e44f13
parent8735b54cc2ca750ea5549c077ad89741f28c2374 (diff)
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.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/air-go/Makefile21
-rw-r--r--devel/air-go/distinfo5
-rw-r--r--devel/air-go/pkg-descr9
-rw-r--r--misc/air/Makefile2
5 files changed, 38 insertions, 0 deletions
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)