PSARC 2017/018 d3.js - version 4.4.4
authorRich Burridge <rich.burridge@oracle.com>
Tue, 14 Mar 2017 14:59:46 -0700
changeset 7751 bca17dc2b15e
parent 7750 dd29141c63d5
child 7752 a1b5c046f5f3
PSARC 2017/018 d3.js - version 4.4.4 25462032 Add d3.js version 4.4.4 to Userland
components/javascript/d3/Makefile
components/javascript/d3/d3.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/javascript/d3/Makefile	Tue Mar 14 14:59:46 2017 -0700
@@ -0,0 +1,53 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+#
+
+include ../../../make-rules/shared-macros.mk
+
+COMPONENT_NAME=		d3
+COMPONENT_VERSION=	4.4.4
+COMPONENT_PROJECT_URL=	https://d3js.org/
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	$(COMPONENT_NAME).zip
+COMPONENT_ARCHIVE_HASH=	\
+    sha256:b53bd6835c4ac35c245397004e3613a6c649ced019637a4414d762b20cf2a977
+COMPONENT_ARCHIVE_URL=	https://github.com/d3/d3/releases/download/v$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
+COMPONENT_BUGDB= 	javascript/d3
+COMPONENT_ANITYA_ID=	13484
+
+TPNO=			33646
+
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+
+# By default, the pre-built d3 zip file will just unpack its files into
+# the component directory. Change this so that the various other "gmake ..."
+# targets work nicely.
+UNPACK_ARGS =	-r $(COMPONENT_SRC)
+
+publish:	download prep
+
+test:		$(NO_TESTS)
+
+system-test:    $(NO_TESTS)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/javascript/d3/d3.p5m	Tue Mar 14 14:59:46 2017 -0700
@@ -0,0 +1,43 @@
+#
+# CDDL HEADER START
+#
+# The contents of this file are subject to the terms of the
+# Common Development and Distribution License (the "License").
+# You may not use this file except in compliance with the License.
+#
+# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+# or http://www.opensolaris.org/os/licensing.
+# See the License for the specific language governing permissions
+# and limitations under the License.
+#
+# When distributing Covered Code, include this CDDL HEADER in each
+# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
+# If applicable, add the following below this CDDL HEADER, with the
+# fields enclosed by brackets "[]" replaced with your own identifying
+# information: Portions Copyright [yyyy] [name of copyright owner]
+#
+# CDDL HEADER END
+#
+
+#
+# Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+#
+
+set name=pkg.fmri \
+    value=pkg:/library/javascript/d3@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="A Javascript visualization library for HTML and SVG"
+set name=pkg.description \
+    value="D3.js is a JavaScript library for manipulating documents based on data. D3 helps you bring data to life using HTML, SVG, and CSS. D3's emphasis on web standards gives you the full capabilities of modern browsers without tying yourself to a proprietary framework, combining powerful visualization components and a data-driven approach to DOM manipulation."
+set name=com.oracle.info.description \
+    value="D3, a Javascript visualization library for HTML and SVG"
+set name=com.oracle.info.tpno value=$(TPNO)
+set name=info.classification \
+    value="org.opensolaris.category.2008:Development/Other Languages"
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream value="Mike Bostock <[email protected]>"
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2017/018
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file d3.js path=usr/share/lib/javascript/d3/$(COMPONENT_VERSION)/d3.js
+link path=usr/share/lib/javascript/d3/latest target=$(COMPONENT_VERSION)
+license LICENSE license=MIT