git: 55de6ed3ca13 - 2021Q3 - devel/esbuild: new port - extremely fast JavaScript & assets bundler for web dev

Kai Knoblich kai at FreeBSD.org
Tue Aug 17 09:00:12 UTC 2021


The branch 2021Q3 has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=55de6ed3ca13249c101325b97b3d0dd98bc64a19

commit 55de6ed3ca13249c101325b97b3d0dd98bc64a19
Author:     Dave Cottlehuber <dch at FreeBSD.org>
AuthorDate: 2021-07-28 10:22:51 +0000
Commit:     Kai Knoblich <kai at FreeBSD.org>
CommitDate: 2021-08-17 08:49:17 +0000

    devel/esbuild: new port - extremely fast JavaScript & assets bundler for web dev
    
    (cherry picked from commit f0a03627e333060ff0b187121e3a615e2f0c1894)
---
 devel/Makefile          |  1 +
 devel/esbuild/Makefile  | 21 +++++++++++++++++++++
 devel/esbuild/distinfo  |  5 +++++
 devel/esbuild/pkg-descr | 14 ++++++++++++++
 4 files changed, 41 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index a18bcd5bf9e3..7f089aae2779 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -630,6 +630,7 @@
     SUBDIR += erlang-syslog
     SUBDIR += erlang-unicode_util_compat
     SUBDIR += es-eric6
+    SUBDIR += esbuild
     SUBDIR += estd
     SUBDIR += etcd
     SUBDIR += etcd31
diff --git a/devel/esbuild/Makefile b/devel/esbuild/Makefile
new file mode 100644
index 000000000000..16aff0b79aca
--- /dev/null
+++ b/devel/esbuild/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	esbuild
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.12.16
+CATEGORIES=	devel www
+
+MAINTAINER=	dch at FreeBSD.org
+COMMENT=	Extremely fast JavaScript bundler and minifier
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.md
+
+USES=		go:modules
+USE_GITHUB=	yes
+GH_ACCOUNT=	evanw
+GH_TUPLE=	golang:sys:bc7a7d42d5c3:golang_sys/vendor/golang.org/x/sys
+
+GO_TARGET=	./cmd/esbuild:esbuild
+
+PLIST_FILES=	bin/${PORTNAME}
+
+.include <bsd.port.mk>
diff --git a/devel/esbuild/distinfo b/devel/esbuild/distinfo
new file mode 100644
index 000000000000..6233b3572c8c
--- /dev/null
+++ b/devel/esbuild/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1627468015
+SHA256 (evanw-esbuild-v0.12.16_GH0.tar.gz) = e805a5e1aa3ba6b38ad8cfedeedb52ac669e17efb39c7ae4a718be035e426c2e
+SIZE (evanw-esbuild-v0.12.16_GH0.tar.gz) = 1543643
+SHA256 (golang-sys-bc7a7d42d5c3_GH0.tar.gz) = 1afc5531fd57571cf230abd4d69b76b7ce3ec223f84e926e25cc20a8281bc984
+SIZE (golang-sys-bc7a7d42d5c3_GH0.tar.gz) = 1053418
diff --git a/devel/esbuild/pkg-descr b/devel/esbuild/pkg-descr
new file mode 100644
index 000000000000..3eed84eb20aa
--- /dev/null
+++ b/devel/esbuild/pkg-descr
@@ -0,0 +1,14 @@
+esbuild is an extremely fast JavaScript bundler.
+
+Major features:
+
+- Extreme speed without needing a cache
+- ES6 and CommonJS modules
+- Tree shaking of ES6 modules
+- An API for JavaScript and Go
+- TypeScript and JSX syntax
+- Source maps
+- Minification
+- Plugins
+
+WWW: https://esbuild.github.io/


More information about the dev-commits-ports-branches mailing list