23 lines
537 B
Makefile
23 lines
537 B
Makefile
PORTNAME= vouch-proxy
|
|
DISTVERSIONPREFIX=v
|
|
DISTVERSION= 0.32.0
|
|
CATEGORIES= security
|
|
|
|
MAINTAINER= decke@FreeBSD.org
|
|
COMMENT= SSO solution for Nginx using the auth_request module
|
|
|
|
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>
|