aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-12-28 21:19:28 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-12-28 21:19:28 +0800
commit7c473ff443c0f0ec864be0983944ad0d8d6d81b1 (patch)
tree3946a5ea5f04d706a170134eb23b63712fc17ca1
parente93dbab254315d9d0e405ae23fc213656986896a (diff)
downloadfreebsd-ports-gnome-7c473ff443c0f0ec864be0983944ad0d8d6d81b1.tar.gz
freebsd-ports-gnome-7c473ff443c0f0ec864be0983944ad0d8d6d81b1.tar.zst
freebsd-ports-gnome-7c473ff443c0f0ec864be0983944ad0d8d6d81b1.zip
- Update to 0.7.3
- Use USES=tar:tgz - Cleanup PLIST Changes: https://github.com/keybase/node-client/blob/master/CHANGELOG.md
-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