Received: by mail.netbsd.org (Postfix, from userid 605) id 615D884D62; Wed, 24 Jan 2018 12:40:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E121184D3F for ; Wed, 24 Jan 2018 12:40:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id tDaCe_uQSiz1 for ; Wed, 24 Jan 2018 12:40:07 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 525D184CED for ; Wed, 24 Jan 2018 12:40:07 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 48BC8FBDE; Wed, 24 Jan 2018 12:40:07 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_151679760792680" MIME-Version: 1.0 Date: Wed, 24 Jan 2018 12:40:07 +0000 From: "Jonathan Perkin" Subject: CVS commit: pkgsrc/devel/yarn To: pkgsrc-changes@NetBSD.org Reply-To: jperkin@netbsd.org X-Mailer: log_accum Message-Id: <20180124124007.48BC8FBDE@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_151679760792680 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: jperkin Date: Wed Jan 24 12:40:07 UTC 2018 Added Files: pkgsrc/devel/yarn: DESCR Makefile PLIST distinfo pkgsrc/devel/yarn/files: yarn.sh Log Message: yarn: Import version 1.3.2 into pkgsrc. Yarn is a package manager for your code. It allows you to use and share code with other developers from around the world. Yarn does this quickly, securely, and reliably so you don't ever have to worry. Yarn allows you to use other developers' solutions to different problems, making it easier for you to develop your software. If you have problems, you can report issues or contribute back, and when the problem is fixed, you can use Yarn to keep it all up to date. Code is shared through something called a package (sometimes referred to as a module). A package contains all the code being shared as well as a package.json file which describes the package. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/yarn/DESCR pkgsrc/devel/yarn/Makefile \ pkgsrc/devel/yarn/PLIST pkgsrc/devel/yarn/distinfo cvs rdiff -u -r0 -r1.1 pkgsrc/devel/yarn/files/yarn.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_151679760792680 Content-Disposition: inline Content-Length: 3363 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/yarn/DESCR diff -u /dev/null pkgsrc/devel/yarn/DESCR:1.1 --- /dev/null Wed Jan 24 12:40:07 2018 +++ pkgsrc/devel/yarn/DESCR Wed Jan 24 12:40:07 2018 @@ -0,0 +1,12 @@ +Yarn is a package manager for your code. It allows you to use and share +code with other developers from around the world. Yarn does this quickly, +securely, and reliably so you don't ever have to worry. + +Yarn allows you to use other developers' solutions to different problems, +making it easier for you to develop your software. If you have problems, +you can report issues or contribute back, and when the problem is fixed, +you can use Yarn to keep it all up to date. + +Code is shared through something called a package (sometimes referred to +as a module). A package contains all the code being shared as well as a +package.json file which describes the package. Index: pkgsrc/devel/yarn/Makefile diff -u /dev/null pkgsrc/devel/yarn/Makefile:1.1 --- /dev/null Wed Jan 24 12:40:07 2018 +++ pkgsrc/devel/yarn/Makefile Wed Jan 24 12:40:07 2018 @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1 2018/01/24 12:40:07 jperkin Exp $ + +DISTNAME= yarn-v1.3.2 +PKGNAME= ${DISTNAME:S/-v/-/} +CATEGORIES= devel +MASTER_SITES= https://yarnpkg.com/downloads/${PKGVERSION_NOREV}/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://yarnpkg.com/ +COMMENT= JavaScript package manager +LICENSE= 2-clause-bsd + +DEPENDS+= nodejs-[0-9]*:../../lang/nodejs + +USE_LANGUAGES= # none + +INSTALLATION_DIRS= bin libexec/yarn/bin libexec/yarn/lib + +REPLACE_INTERPRETER+= nodejs +REPLACE.nodejs.old= .*node +REPLACE.nodejs.new= ${PREFIX}/bin/node +REPLACE_FILES.nodejs= bin/yarn.js + +do-build: + ${SED} ${FILES_SUBST_SED} ${FILESDIR}/yarn.sh >${WRKSRC}/yarn.sh + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/bin/yarn.js \ + ${DESTDIR}${PREFIX}/libexec/yarn/bin/yarn.js + ${INSTALL_DATA} ${WRKSRC}/lib/*.js \ + ${DESTDIR}${PREFIX}/libexec/yarn/lib/ + ${INSTALL_SCRIPT} ${WRKSRC}/yarn.sh \ + ${DESTDIR}${PREFIX}/bin/yarn + ${INSTALL_SCRIPT} ${WRKSRC}/yarn.sh \ + ${DESTDIR}${PREFIX}/bin/yarnpkg + +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/yarn/PLIST diff -u /dev/null pkgsrc/devel/yarn/PLIST:1.1 --- /dev/null Wed Jan 24 12:40:07 2018 +++ pkgsrc/devel/yarn/PLIST Wed Jan 24 12:40:07 2018 @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2018/01/24 12:40:07 jperkin Exp $ +bin/yarn +bin/yarnpkg +libexec/yarn/bin/yarn.js +libexec/yarn/lib/cli.js +libexec/yarn/lib/v8-compile-cache.js Index: pkgsrc/devel/yarn/distinfo diff -u /dev/null pkgsrc/devel/yarn/distinfo:1.1 --- /dev/null Wed Jan 24 12:40:07 2018 +++ pkgsrc/devel/yarn/distinfo Wed Jan 24 12:40:07 2018 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/01/24 12:40:07 jperkin Exp $ + +SHA1 (yarn-v1.3.2.tar.gz) = 5939762581b5b4ddcd3418c0f6be42df3aee195f +RMD160 (yarn-v1.3.2.tar.gz) = b2e2cb3ad6979ab1e3fa9713f4269f7dfe9ce10f +SHA512 (yarn-v1.3.2.tar.gz) = d488ae56b60884bb42e5e2ac8a0359c6947e234ed8b5bba12a93f24abb4419b4a6fef708c35df8caa9e68edca3fe570d1dcda9295d29438e45a32ef5d029aedf +Size (yarn-v1.3.2.tar.gz) = 886500 bytes Index: pkgsrc/devel/yarn/files/yarn.sh diff -u /dev/null pkgsrc/devel/yarn/files/yarn.sh:1.1 --- /dev/null Wed Jan 24 12:40:07 2018 +++ pkgsrc/devel/yarn/files/yarn.sh Wed Jan 24 12:40:07 2018 @@ -0,0 +1,2 @@ +#!@SH@ +exec "@PREFIX@/libexec/yarn/bin/yarn.js" "$@" --_----------=_151679760792680--