mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
e31314f48d
Changelog: - 1.9.0: https://app-updates.agilebits.com/product_history/CLI#v1090002 - 1.9.1: https://app-updates.agilebits.com/product_history/CLI#v1090102 - 1.9.2: https://app-updates.agilebits.com/product_history/CLI#v1090201 - 1.10.0: https://app-updates.agilebits.com/product_history/CLI#v1100001 - 1.10.1: https://app-updates.agilebits.com/product_history/CLI#v1100101 - 1.10.2: https://app-updates.agilebits.com/product_history/CLI#v1100201 PR: 256585 Reported by: gogolok@gmail.com
42 lines
949 B
Makefile
42 lines
949 B
Makefile
# Created by: Adam Weinberger <adamw@FreeBSD.org>
|
|
|
|
PORTNAME= 1password-client
|
|
DISTVERSION= 1.10.2
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://cache.agilebits.com/dist/1P/op/pkg/v${DISTVERSION}/ \
|
|
LOCAL/ler/op
|
|
|
|
MAINTAINER= ler@FreeBSD.org
|
|
COMMENT= 1Password CLI client
|
|
|
|
ONLY_FOR_ARCHS= amd64 armv6 armv7 i386
|
|
|
|
USES= zip
|
|
|
|
NO_WRKSUBDIR= yes
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/op
|
|
CONFLICTS_INSTALL= security/op
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/op ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == amd64
|
|
DISTNAME= op_freebsd_amd64_v${DISTVERSION}
|
|
.elif ${ARCH} == armv6 || ${ARCH} == armv7
|
|
DISTNAME= op_freebsd_arm_v${DISTVERSION}
|
|
.elif ${ARCH} == i386
|
|
DISTNAME= op_freebsd_386_v${DISTVERSION}
|
|
.endif
|
|
|
|
.if ${.TARGETS} == "makesum"
|
|
DISTFILES= op_freebsd_amd64_v${DISTVERSION}${EXTRACT_SUFX} \
|
|
op_freebsd_arm_v${DISTVERSION}${EXTRACT_SUFX} \
|
|
op_freebsd_386_v${DISTVERSION}${EXTRACT_SUFX}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|