mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
d84aa50743
Approved by: araujo (mentor) Differential Revision: https://reviews.freebsd.org/D21854
34 lines
640 B
Makefile
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>
|