aboutsummaryrefslogtreecommitdiff
path: root/security/keybase
diff options
context:
space:
mode:
Diffstat (limited to 'security/keybase')
-rw-r--r--security/keybase/Makefile26
-rw-r--r--security/keybase/distinfo4
2 files changed, 13 insertions, 17 deletions
diff --git a/security/keybase/Makefile b/security/keybase/Makefile
index 889738e3c252..0da29dac1363 100644
--- a/security/keybase/Makefile
+++ b/security/keybase/Makefile
@@ -1,27 +1,27 @@
# $FreeBSD$
PORTNAME= keybase
-PORTVERSION= 0.7.2
+PORTVERSION= 0.7.3
CATEGORIES= security
MASTER_SITES= https://dist.keybase.io/pkg/files/ \
- LOCAL/bdrewery/${PORTNAME}/ \
- http://mirror.shatow.net/freebsd/${PORTNAME}/
-EXTRACT_SUFX= .tgz
+ LOCAL/sunpoet
-MAINTAINER= ports@freebsd.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Keybase.io client
LICENSE= BSD3CLAUSE
-RUN_DEPENDS= node>=0:${PORTSDIR}/www/node \
- gpg:${PORTSDIR}/security/gnupg
+RUN_DEPENDS= ${LOCALBASE}/bin/gpg:${PORTSDIR}/security/gnupg \
+ ${LOCALBASE}/bin/node:${PORTSDIR}/www/node
-WRKSRC= ${WRKDIR}/package
NO_ARCH= yes
NO_BUILD= yes
+USES= tar:tgz
+
SUB_FILES= pkg-message
+WRKSRC= ${WRKDIR}/package
-# Install it a private place instead of polluting lib/node_modules
+# Install it to a private place instead of polluting lib/node_modules
# which npm(1) owns and will upgrade beneath pkg(8) control.
KEYBASE_PREFIX= ${PREFIX}/libexec/${PORTNAME}
@@ -31,17 +31,13 @@ npm-auto-plist:
@{ \
${ECHO_CMD} "bin/${PORTNAME}"; \
${FIND} ${STAGEDIR}${KEYBASE_PREFIX} -type f -or -type l; \
- ${FIND} ${STAGEDIR}${KEYBASE_PREFIX} -type d -d | ${SED} -e 's,^,@dirrm ,'; \
} | ${SED} 's,${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
do-install:
@${MKDIR} ${WRKDIR}/tmp ${STAGEDIR}${KEYBASE_PREFIX}/lib
- (cd ${WRKSRC} && \
- ${COPYTREE_SHARE} \* \
- ${STAGEDIR}${KEYBASE_PREFIX}/lib/node_modules/${PORTNAME})
+ (cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${KEYBASE_PREFIX}/lib/node_modules/${PORTNAME})
${CHMOD} +x ${STAGEDIR}${KEYBASE_PREFIX}/lib/node_modules/${PORTNAME}/bin/main.js
- ${LN} -s ${KEYBASE_PREFIX}/lib/node_modules/${PORTNAME}/bin/main.js \
- ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+ ${LN} -s ${KEYBASE_PREFIX}/lib/node_modules/${PORTNAME}/bin/main.js ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
# Quiet stage-qa
post-install:
diff --git a/security/keybase/distinfo b/security/keybase/distinfo
index 20be9c458133..7c350f9382f4 100644
--- a/security/keybase/distinfo
+++ b/security/keybase/distinfo
@@ -1,2 +1,2 @@
-SHA256 (keybase-0.7.2.tgz) = 217e8e62f327ecc0729c17e1d76a8d16edded2f3a6128d19412151cf20b1abf6
-SIZE (keybase-0.7.2.tgz) = 3593323
+SHA256 (keybase-0.7.3.tgz) = 4601e371e036f80aafa3440d0c518795007747c51e9d02c2832c244062ed71ff
+SIZE (keybase-0.7.3.tgz) = 3594189