21 lines
478 B
Makefile
21 lines
478 B
Makefile
PORTNAME= go-pkgsite
|
|
PORTVERSION= ${MODVERSION:S/-/./g:R}
|
|
PORTREVISION= 5
|
|
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,1.25+
|
|
MODVERSION= 0.0.0-20260325152954-c57126f9757f
|
|
GO_MODULE= golang.org/x/pkgsite@v${MODVERSION}
|
|
|
|
GO_TARGET= ./cmd/pkgsite
|
|
PLIST_FILES= ${GO_TARGET:T:S,^,bin/,}
|
|
|
|
.include <bsd.port.mk>
|