freebsd-ports/security/2fa/Makefile
Dmitri Goutnik d84aa50743 Bump PORTREVISION after r517743 to force relinking.
Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D21854
2019-11-16 12:52:39 +00:00

34 lines
640 B
Makefile

# $FreeBSD$
PORTNAME= 2fa
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Two-factor authentication on the command line
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= go
USE_GITHUB= yes
GH_ACCOUNT= rsc
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${PORTNAME}
OPTIONS_DEFINE= DOCS
PLIST_FILES= bin/2fa
PORTDOCS= README.md
do-test:
@cd ${GO_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} test ${GO_BUILDFLAGS}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>