freebsd-ports/sysutils/docker-credential-pass/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

31 lines
731 B
Makefile

# $FreeBSD$
PORTNAME= docker-credential-pass
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.3
CATEGORIES= sysutils
MAINTAINER= dmgk@FreeBSD.org
COMMENT= Helper to use sysutils/password-store as Docker credentials store
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${LOCALBASE}/bin/pass:sysutils/password-store
USES= go
GO_PKGNAME= github.com/docker/docker-credential-helpers
GO_TARGET= ./pass/cmd:${PORTNAME}
USE_GITHUB= yes
GH_ACCOUNT= docker
GH_PROJECT= docker-credential-helpers
PLIST_FILES= bin/docker-credential-pass
pre-build:
${LN} -s ${GO_WRKSRC}/pass/cmd/main_linux.go ${GO_WRKSRC}/pass/cmd/main_freebsd.go
${LN} -s ${GO_WRKSRC}/pass/pass_linux.go ${GO_WRKSRC}/pass/pass_freebsd.go
.include <bsd.port.mk>