1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/sysutils/docker-credential-pass/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

33 lines
747 B
Makefile

# $FreeBSD$
PORTNAME= docker-credential-pass
DISTVERSIONPREFIX= v
DISTVERSION= 0.6.3
PORTREVISION= 1
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>