diff options
Diffstat (limited to 'security/keybase/Makefile')
-rw-r--r-- | security/keybase/Makefile | 26 |
1 files changed, 11 insertions, 15 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: |