summaryrefslogtreecommitdiff
path: root/security/vouch-proxy/Makefile
blob: 6973d1a3f7c17a3f03a464dc40ff3230527c4cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
PORTNAME=	vouch-proxy
DISTVERSIONPREFIX=v
DISTVERSION=	0.39.0
PORTREVISION=	12
CATEGORIES=	security

MAINTAINER=	decke@FreeBSD.org
COMMENT=	SSO solution for Nginx using the auth_request module
WWW=		https://github.com/vouch/vouch-proxy

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		go:modules

USE_RC_SUBR=	${PORTNAME}

GO_MODULE=	github.com/vouch/vouch-proxy
GO_BUILDFLAGS=	-ldflags "-X main.version=${PORTVERSION} -X main.uname=FreeBSD"

post-install:
	@${MKDIR} ${STAGEDIR}${ETCDIR}
	(cd ${WRKSRC}/config && ${COPYTREE_SHARE} "config.yml*" ${STAGEDIR}${ETCDIR})

.include <bsd.port.mk>