blob: a77bb09cd482b7b9e2a9bf9b0bd64bae0088a922 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= 1password-client
PORTVERSION= 0.3
CATEGORIES= security
MASTER_SITES= https://cache.agilebits.com/dist/1P/op/pkg/v${PORTVERSION}/
MAINTAINER= adamw@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${PORTVERSION}
.elif ${ARCH} == armv6 || ${ARCH} == armv7
DISTNAME= op_freebsd_arm_v${PORTVERSION}
.elif ${ARCH} == i386
DISTNAME= op_freebsd_386_v${PORTVERSION}
.endif
.if ${.TARGETS} == "makesum"
DISTFILES= op_freebsd_amd64_v${PORTVERSION}${EXTRACT_SUFX} \
op_freebsd_arm_v${PORTVERSION}${EXTRACT_SUFX} \
op_freebsd_386_v${PORTVERSION}${EXTRACT_SUFX}
.endif
.include <bsd.port.post.mk>
|