PSARC 2017/017 raphael - version 2.2.7
authorRich Burridge <rich.burridge@oracle.com>
Tue, 14 Mar 2017 15:01:07 -0700
changeset 7752 a1b5c046f5f3
parent 7751 bca17dc2b15e
child 7753 6a89cfcaaa50
PSARC 2017/017 raphael - version 2.2.7 25461996 Add Raphael version 2.2.7 to Userland
components/javascript/raphael/Makefile
components/javascript/raphael/raphael.p5m
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/javascript/raphael/Makefile	Tue Mar 14 15:01:07 2017 -0700
@@ -0,0 +1,48 @@
+#
+# 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=		raphael
+COMPONENT_VERSION=	2.2.7
+COMPONENT_PROJECT_URL=	http://dmitrybaranovskiy.github.io/raphael/
+COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE=	v$(COMPONENT_VERSION).tar.gz
+COMPONENT_ARCHIVE_HASH=	\
+    sha256:3ea7f37675e28269a7a401d88c626cf387b2b2295bcce46286b17a4dfefe6bf5
+COMPONENT_ARCHIVE_URL=	https://github.com/DmitryBaranovskiy/$(COMPONENT_NAME)/archive/$(COMPONENT_ARCHIVE)
+COMPONENT_BUGDB= 	javascript/raphael
+COMPONENT_ANITYA_ID=	13485
+
+TPNO=			33645
+
+include $(WS_MAKE_RULES)/prep.mk
+include $(WS_MAKE_RULES)/ips.mk
+
+publish: download prep
+
+test:		$(NO_TESTS)
+
+system-test:    $(NO_TESTS)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/javascript/raphael/raphael.p5m	Tue Mar 14 15:01:07 2017 -0700
@@ -0,0 +1,44 @@
+#
+# 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/raphael@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.summary value="A Javascript vector library"
+set name=pkg.description \
+    value="Raphael is a small JavaScript library that should simplify your work with vector graphics on the web. It uses the SVG W3C Recommendation and VML as a base for creating graphics."
+set name=com.oracle.info.description \
+    value="Raphael, a Javascript vector library"
+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="Dmitry Baranovskiy <[email protected]>"
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2017/017
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+file raphael.js \
+    path=usr/share/lib/javascript/raphael/$(COMPONENT_VERSION)/raphael.js
+link path=usr/share/lib/javascript/raphael/latest target=$(COMPONENT_VERSION)
+license license.txt license=MIT