summaryrefslogtreecommitdiff
path: root/net/go-pkgsite/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/go-pkgsite/Makefile')
-rw-r--r--net/go-pkgsite/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/go-pkgsite/Makefile b/net/go-pkgsite/Makefile
new file mode 100644
index 000000000000..b2b61f26b478
--- /dev/null
+++ b/net/go-pkgsite/Makefile
@@ -0,0 +1,20 @@
+PORTNAME= go-pkgsite
+PORTVERSION= ${MODVERSION:S/-/./g:R}
+DISTVERSIONPREFIX= v
+CATEGORIES= net devel
+
+MAINTAINER= fuz@FreeBSD.org
+COMMENT= Go documentation server
+WWW= https://pkg.go.dev/golang.org/x/pkgsite/cmd/pkgsite
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+MODVERSION= 0.0.0-20250911091732-133263251ca1
+GO_MODULE= golang.org/x/pkgsite@v${MODVERSION}
+
+GO_TARGET= ./cmd/pkgsite
+PLIST_FILES= ${GO_TARGET:T:S,^,bin/,}
+
+.include <bsd.port.mk>