# $NetBSD: Makefile,v 1.62 2023/10/15 12:04:28 bsiegert Exp $
DISTNAME= 2fa-1.2.0
PKGREVISION= 29
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=rsc/}
GITHUB_TAG= v1.2.0
GITHUB_PROJECT= 2fa
MAINTAINER= bsiegert@NetBSD.org
HOMEPAGE= ${MASTER_SITE_GITHUB:=rsc/2fa/}
COMMENT= Command-line client for two-factor authentication
LICENSE= modified-bsd
pre-configure:
# Fix build error, invalid vendor/modules.txt.
${RM} -rf ${WRKSRC}/vendor
do-install:
# gocopy and gopaste are not required to use 2fa.
${INSTALL_PROGRAM} ${WRKDIR}/.gopath/bin/2fa ${DESTDIR}${PREFIX}/bin
.include "go-modules.mk"
.include "../../lang/go/go-module.mk"
.include "../../mk/bsd.pkg.mk"
CVSweb <webmaster@jp.NetBSD.org>