aboutsummaryrefslogblamecommitdiff
path: root/textproc/vale/Makefile
blob: 9674a9f5355edc110266a6207cdbdb38a1f66463 (plain) (tree)
1
2
3
4
5
6
7
8
9
                    
                         
                      
                 



                                                                           
                                




                                 
 

                                                               




                          
PORTNAME=	vale
DISTVERSIONPREFIX=	v
DISTVERSION=	2.30.0
PORTREVISION=	5
CATEGORIES=	textproc

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Command-line tool that brings editorial style guide to life
WWW=		https://vale.sh/

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules

GO_BUILDFLAGS+=	-ldflags="-s -w -X main.Version=${DISTVERSION}"
GO_MODULE=	github.com/errata-ai/${PORTNAME}/v2
GO_TARGET=	./cmd/vale

PLIST_FILES=	bin/vale

.include <bsd.port.mk>