create bsd12 branch

This commit is contained in:
ziggi
2019-12-26 07:26:06 +00:00
commit 5cfdab6bfe
14432 changed files with 2272620 additions and 0 deletions

37
devel/yarn/Makefile Normal file
View File

@@ -0,0 +1,37 @@
# $FreeBSD: head/www/yarn/Makefile 478946 2018-09-04 09:56:04Z pizzamig $
PORTNAME= yarn
DISTVERSIONPREFIX= v
DISTVERSION= 1.19.1
CATEGORIES= www
MASTER_SITES= https://yarnpkg.com/downloads/${PORTVERSION}/
MAINTAINER= pizzamig@FreeBSD.org
COMMENT= Package manager for node, alternative to npm
RUN_DEPENDS= node>=10.0:lang/node13
NO_ARCH= yes
NO_BUILD= yes
RLN?= ${INSTALL} -l rs
post-patch:
${RM} ${WRKSRC}/bin/*.cmd
${REINPLACE_CMD} -i '' \
-e 's|"installationMethod": "tar"|"installationMethod": "pkg"|g' \
${WRKSRC}/package.json
${REINPLACE_CMD} -i '' -e 's%Linux)%Linux|FreeBSD)%g' \
${WRKSRC}/bin/yarn
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/yarn
cd ${WRKSRC}/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib/node_modules/yarn
${RLN} ${STAGEDIR}${PREFIX}/lib/node_modules/yarn/bin/yarn.js \
${STAGEDIR}${PREFIX}/bin/yarn
${RLN} ${STAGEDIR}${PREFIX}/lib/node_modules/yarn/bin/yarnpkg \
${STAGEDIR}${PREFIX}/bin/yarnpkg
${CHMOD} a+x ${STAGEDIR}${PREFIX}/lib/node_modules/yarn/bin/*
.include <bsd.port.mk>

3
devel/yarn/distinfo Normal file
View File

@@ -0,0 +1,3 @@
TIMESTAMP = 1573658684
SHA256 (yarn-v1.19.1.tar.gz) = 34293da6266f2aae9690d59c2d764056053ff7eebc56b80b8df05010c3da9343
SIZE (yarn-v1.19.1.tar.gz) = 1243585

6
devel/yarn/pkg-descr Normal file
View File

@@ -0,0 +1,6 @@
Yarn is a new node package manager that replaces the existing workflow for the
npm client or other package managers while remaining compatible with the npm
registry. It has the same feature set as existing workflows while operating
faster, more securely, and more reliably.
WWW: https://yarnpkg.com/blog/

14
devel/yarn/pkg-plist Normal file
View File

@@ -0,0 +1,14 @@
bin/yarn
bin/yarnpkg
lib/node_modules/yarn/bin/yarn
lib/node_modules/yarn/bin/yarn.js
lib/node_modules/yarn/bin/yarnpkg
lib/node_modules/yarn/lib/cli.js
lib/node_modules/yarn/lib/v8-compile-cache.js
lib/node_modules/yarn/LICENSE
lib/node_modules/yarn/package.json
lib/node_modules/yarn/README.md
@dir lib/node_modules/yarn/bin
@dir lib/node_modules/yarn/lib
@dir lib/node_modules/yarn
@dir lib/node_modules