freebsd-ports/security/2fa/Makefile
Dmitri Goutnik 29d16a42da Go ports: cleanup, make use of the new GO_TARGET tuple syntax
- Remove custom build/install targets left in place after r505321
- Switch to the new GO_TARGET tuple syntax introduced in r512001

Approved by:	araujo (mentor)
Differential Revision:	https://reviews.freebsd.org/D21721
2019-09-20 11:31:49 +00:00

32 lines
624 B
Makefile

# $FreeBSD$
PORTNAME= 2fa
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0
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>