freebsd-ports/security/crowdsec/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

27 lines
540 B
Makefile

PORTNAME= crowdsec
PORTVERSION= 1.0.9
DISTVERSIONPREFIX= v
CATEGORIES= security
MAINTAINER= sbz@FreeBSD.org
COMMENT= Crowdsec lightweight and collaborative security engine
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go:modules
GO_MODULE= github.com/crowdsecurity/crowdsec
GO_BUILDFLAGS= -ldflags "-s -w \
-X github.com/crowdsecurity/crowdsec/pkg/cwversion.Version=${PORTVERSION}"
GO_TARGET= ./cmd/crowdsec \
./cmd/crowdsec-cli
USE_RC_SUBR= crowdsec
PLIST_FILES= bin/crowdsec \
bin/crowdsec-cli
.include <bsd.port.mk>