pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import spidermonkey31-31.2.0.rc0 as wip/spidermonkey31.



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Fri Jul 29 22:15:47 2016 +0200
Changeset:	48df83ea96e60f7e194c6d3f1e68dafd05acb327

Added Files:
	spidermonkey31/DESCR
	spidermonkey31/Makefile
	spidermonkey31/PLIST
	spidermonkey31/buildlink3.mk
	spidermonkey31/distinfo

Log Message:
Import spidermonkey31-31.2.0.rc0 as wip/spidermonkey31.

SpiderMonkey is the code-name for the Mozilla's C implementation of
JavaScript.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=48df83ea96e60f7e194c6d3f1e68dafd05acb327

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 spidermonkey31/DESCR         |  2 ++
 spidermonkey31/Makefile      | 60 +++++++++++++++++++++++++++++++++
 spidermonkey31/PLIST         | 79 ++++++++++++++++++++++++++++++++++++++++++++
 spidermonkey31/buildlink3.mk | 14 ++++++++
 spidermonkey31/distinfo      |  6 ++++
 5 files changed, 161 insertions(+)

diffs:
diff --git a/spidermonkey31/DESCR b/spidermonkey31/DESCR
new file mode 100644
index 0000000..eb1cb80
--- /dev/null
+++ b/spidermonkey31/DESCR
@@ -0,0 +1,2 @@
+SpiderMonkey is the code-name for the Mozilla's C implementation of
+JavaScript.
diff --git a/spidermonkey31/Makefile b/spidermonkey31/Makefile
new file mode 100644
index 0000000..e8e7ad3
--- /dev/null
+++ b/spidermonkey31/Makefile
@@ -0,0 +1,60 @@
+# $NetBSD: Makefile,v 1.1 2014/02/06 15:12:24 fhajny Exp $
+
+DISTNAME=	mozjs-31.2.0.rc0
+PKGNAME=	${DISTNAME:S/mozjs/spidermonkey31/}
+CATEGORIES=	lang
+#MASTER_SITES=	${MASTER_SITE_MOZILLA_ALL:=js/}
+MASTER_SITES=	https://people.mozilla.org/~sstangl/
+EXTRACT_SUFX=	.tar.bz2
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://developer.mozilla.org/en/SpiderMonkey
+COMMENT=	Standalone JavaScript implementation in C
+LICENSE=	mpl-2.0
+
+WRKSRC=		${WRKDIR}/${DISTNAME:R}/js/src
+
+USE_TOOLS+=		pkg-config perl:build gmake
+USE_LIBTOOL=		yes
+USE_LANGUAGES=		c c++
+
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS+=	--enable-strip
+CONFIGURE_ARGS+=	--enable-readline
+CONFIGURE_ARGS+=	--enable-system-ffi
+CONFIGURE_ARGS+=	--enable-threadsafe
+CONFIGURE_ARGS+=	--with-system-nspr
+
+PKGCONFIG_OVERRIDE+=	ctypes/libffi/libffi.pc.in
+PKGCONFIG_OVERRIDE+=	js.pc.in
+
+CHECK_PORTABILITY_SKIP+=	tests/update-test262.sh
+
+PYTHON_VERSIONS_ACCEPTED=	27
+PYTHON_FOR_BUILD_ONLY=		yes
+.include "../../lang/python/application.mk"
+CONFIGURE_ENV+=			PYTHON=${PYTHONBIN:Q}
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${MACHINE_ARCH} == "x86_64"
+PLIST_SUBST+=	ARCH=X64
+.else
+PLIST_SUBST+=	ARCH=${MACHINE_ARCH}
+.endif
+
+post-install:
+.if ${OPSYS} == "Darwin"
+	install_name_tool -id ${PREFIX}/lib/libmozjs-24.dylib \
+		${DESTDIR}${PREFIX}/lib/libmozjs-24.dylib
+.endif
+	${CHMOD} -x ${DESTDIR}${PREFIX}/include/mozjs-24/*.*
+	${CHMOD} -x ${DESTDIR}${PREFIX}/include/mozjs-24/*/*.*
+	${CHMOD} -x ${DESTDIR}${PREFIX}/lib/libmozjs-24.a
+	${CHMOD} -x ${DESTDIR}${PREFIX}/lib/pkgconfig/mozjs-24.pc
+
+.include "../../devel/libffi/buildlink3.mk"
+.include "../../devel/nspr/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/spidermonkey31/PLIST b/spidermonkey31/PLIST
new file mode 100644
index 0000000..5d4ff68
--- /dev/null
+++ b/spidermonkey31/PLIST
@@ -0,0 +1,79 @@
+@comment $NetBSD: PLIST,v 1.1 2014/02/06 15:12:17 fhajny Exp $
+bin/js24
+bin/js24-config
+include/mozjs-24/js-config.h
+include/mozjs-24/js.msg
+include/mozjs-24/js/Anchor.h
+include/mozjs-24/js/CallArgs.h
+include/mozjs-24/js/CharacterEncoding.h
+include/mozjs-24/js/Date.h
+include/mozjs-24/js/GCAPI.h
+include/mozjs-24/js/HashTable.h
+include/mozjs-24/js/HeapAPI.h
+include/mozjs-24/js/LegacyIntTypes.h
+include/mozjs-24/js/MemoryMetrics.h
+include/mozjs-24/js/PropertyKey.h
+include/mozjs-24/js/RequiredDefines.h
+include/mozjs-24/js/RootingAPI.h
+include/mozjs-24/js/TemplateLib.h
+include/mozjs-24/js/Utility.h
+include/mozjs-24/js/Value.h
+include/mozjs-24/js/Vector.h
+include/mozjs-24/jsalloc.h
+include/mozjs-24/jsapi.h
+include/mozjs-24/jsclass.h
+include/mozjs-24/jsclist.h
+include/mozjs-24/jscpucfg.h
+include/mozjs-24/jsdbgapi.h
+include/mozjs-24/jsfriendapi.h
+include/mozjs-24/jslock.h
+include/mozjs-24/jsperf.h
+include/mozjs-24/jsprf.h
+include/mozjs-24/jsprototypes.h
+include/mozjs-24/jsproxy.h
+include/mozjs-24/jsprvtd.h
+include/mozjs-24/jspubtd.h
+include/mozjs-24/jstypes.h
+include/mozjs-24/jsutil.h
+include/mozjs-24/jsversion.h
+include/mozjs-24/jswrapper.h
+include/mozjs-24/mozilla/Assertions.h
+include/mozjs-24/mozilla/Atomics.h
+include/mozjs-24/mozilla/Attributes.h
+include/mozjs-24/mozilla/BloomFilter.h
+include/mozjs-24/mozilla/Casting.h
+include/mozjs-24/mozilla/Char16.h
+include/mozjs-24/mozilla/CheckedInt.h
+include/mozjs-24/mozilla/Compiler.h
+include/mozjs-24/mozilla/Constants.h
+include/mozjs-24/mozilla/DebugOnly.h
+include/mozjs-24/mozilla/Decimal.h
+include/mozjs-24/mozilla/Endian.h
+include/mozjs-24/mozilla/EnumSet.h
+include/mozjs-24/mozilla/FloatingPoint.h
+include/mozjs-24/mozilla/GuardObjects.h
+include/mozjs-24/mozilla/HashFunctions.h
+include/mozjs-24/mozilla/Likely.h
+include/mozjs-24/mozilla/LinkedList.h
+include/mozjs-24/mozilla/MSStdInt.h
+include/mozjs-24/mozilla/MathAlgorithms.h
+include/mozjs-24/mozilla/MemoryChecking.h
+include/mozjs-24/mozilla/NullPtr.h
+include/mozjs-24/mozilla/PodOperations.h
+include/mozjs-24/mozilla/Poison.h
+include/mozjs-24/mozilla/Range.h
+include/mozjs-24/mozilla/RangedPtr.h
+include/mozjs-24/mozilla/RefPtr.h
+include/mozjs-24/mozilla/SHA1.h
+include/mozjs-24/mozilla/Scoped.h
+include/mozjs-24/mozilla/SplayTree.h
+include/mozjs-24/mozilla/StandardInteger.h
+include/mozjs-24/mozilla/ThreadLocal.h
+include/mozjs-24/mozilla/TypeTraits.h
+include/mozjs-24/mozilla/TypedEnum.h
+include/mozjs-24/mozilla/Types.h
+include/mozjs-24/mozilla/Util.h
+include/mozjs-24/mozilla/WeakPtr.h
+lib/libmozjs-24.a
+lib/libmozjs-24.so
+lib/pkgconfig/mozjs-24.pc
diff --git a/spidermonkey31/buildlink3.mk b/spidermonkey31/buildlink3.mk
new file mode 100644
index 0000000..4d0a89c
--- /dev/null
+++ b/spidermonkey31/buildlink3.mk
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/02/06 15:12:17 fhajny Exp $
+
+BUILDLINK_TREE+=	spidermonkey31
+
+.if !defined(SPIDERMONKEY31_BUILDLINK3_MK)
+SPIDERMONKEY31_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.spidermonkey31+=	spidermonkey31>=31.2.0
+BUILDLINK_PKGSRCDIR.spidermonkey31?=	../../wip/spidermonkey31
+
+.include "../../devel/nspr/buildlink3.mk"
+.endif	# SPIDERMONKEY31_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-spidermonkey31
diff --git a/spidermonkey31/distinfo b/spidermonkey31/distinfo
new file mode 100644
index 0000000..581e54a
--- /dev/null
+++ b/spidermonkey31/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2014/02/06 15:12:17 fhajny Exp $
+
+SHA1 (mozjs-31.2.0.rc0.tar.bz2) = db818cfc36382253301d0f0f14495fd186d5d28a
+RMD160 (mozjs-31.2.0.rc0.tar.bz2) = b62057d85933362f4e431180424a39c2d3231386
+SHA512 (mozjs-31.2.0.rc0.tar.bz2) = 6a2025f0c419e56b89876a3543aabc459cdcf915a4cf4aedc55d89fc59d469d23aee2d505a930442e887705f0d62762e2218b312c5d56741cdb5aa54433cb71b
+Size (mozjs-31.2.0.rc0.tar.bz2) = 21410352 bytes


Home | Main Index | Thread Index | Old Index