Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2013 00:17:45 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336683 - in head/lang: . spidermonkey24 spidermonkey24/files
Message-ID:  <201312170017.rBH0Hjqh090278@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Tue Dec 17 00:17:45 2013
New Revision: 336683
URL: http://svnweb.freebsd.org/changeset/ports/336683

Log:
  Add spidermonkey 24.2.0.
  
  Stand-only javascript engine from Mozilla 24-esr series.

Added:
  head/lang/spidermonkey24/
     - copied from r336682, head/lang/spidermonkey170/
Deleted:
  head/lang/spidermonkey24/files/
Modified:
  head/lang/Makefile
  head/lang/spidermonkey24/Makefile
  head/lang/spidermonkey24/distinfo
  head/lang/spidermonkey24/pkg-plist

Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile	Mon Dec 16 23:54:57 2013	(r336682)
+++ head/lang/Makefile	Tue Dec 17 00:17:45 2013	(r336683)
@@ -334,6 +334,7 @@
     SUBDIR += spidermonkey17
     SUBDIR += spidermonkey170
     SUBDIR += spidermonkey185
+    SUBDIR += spidermonkey24
     SUBDIR += spl
     SUBDIR += squeak
     SUBDIR += squirrel

Modified: head/lang/spidermonkey24/Makefile
==============================================================================
--- head/lang/spidermonkey170/Makefile	Mon Dec 16 23:54:57 2013	(r336682)
+++ head/lang/spidermonkey24/Makefile	Tue Dec 17 00:17:45 2013	(r336683)
@@ -1,29 +1,30 @@
 # Created by: Kubilay Kocak <koobs@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=		spidermonkey170
-PORTVERSION=		17.0.0
+PORTNAME=		spidermonkey24
+PORTVERSION=		24.2.0
 CATEGORIES=		lang
 MASTER_SITES=		${MASTER_SITE_MOZILLA}
+#http://people.mozilla.org/~sstangl/
 MASTER_SITE_SUBDIR=	js
-DISTNAME=		mozjs${PORTVERSION}
+DISTNAME=		mozjs-${PORTVERSION}
 
 MAINTAINER=		kwm@FreeBSD.org
-COMMENT=		Standalone JavaScript based from Mozilla 17-esr
+COMMENT=		Standalone JavaScript based from Mozilla 24-esr
 
 BUILD_DEPENDS=		zip:${PORTSDIR}/archivers/zip
 LIB_DEPENDS=		libnspr4.so:${PORTSDIR}/devel/nspr
 
 CONFLICTS=		njs-[0-9]*
 
+USE_BZIP2=		yes
 GNU_CONFIGURE=		yes
-USE_GMAKE=		yes
-USES=			pathfix perl5
+USES=			gmake pathfix perl5
 USE_PERL5=		build
 USE_LDCONFIG=		yes
-USE_PYTHON_BUILD=	2.5-2.7
+USE_PYTHON_BUILD=	-2.7
 
-WRKSRC=			${WRKDIR}/mozjs${PORTVERSION}/js/src
+WRKSRC=			${WRKDIR}/mozjs-${PORTVERSION}/js/src
 
 CONFIGURE_ARGS=		--with-pthreads \
 			--with-system-nspr
@@ -43,7 +44,6 @@ THREADSAFE_DESC=	Enable multiple thread 
 TRACEJIT_DESC=		Enable tracing JIT support
 UTF8_DESC=		Treat strings as UTF8 instead of ISO-8859-1
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDEBUG}
@@ -108,14 +108,16 @@ CONFIGURE_TARGET=	x86_64-portbld-freebsd
 regression-test: build
 	@${ECHO_MSG} -n "===> Running jstests.py: "
 	@cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} tests/jstests.py \
-	--no-progress ./js17
+	--no-progress ./js24
 .if ${PORT_OPTIONS:MMETHODJIT} || ${PORT_OPTIONS:MTRACEJIT}
 	@${ECHO_MSG} -n "===> Running jit_test.py: "
 	@cd ${WRKSRC} && ${SETENV} TZ=PST8PDT ${PYTHON_CMD} jit-test/jit_test.py \
-	--no-progress --jitflags=,m,j,mj,mjp,am,amj,amjp,amd ./js17
+	--no-progress --jitflags=,m,j,mj,mjp,am,amj,amjp,amd ./js24
 .endif
 
 post-install:
-	${LN} -s libmozjs-17.0.so ${PREFIX}/lib/libmozjs-17.0.so.1
+	${LN} -s libmozjs-24.so ${STAGEDIR}${PREFIX}/lib/libmozjs-24.so.1
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/js24
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmozjs-24.*
 
 .include <bsd.port.post.mk>

Modified: head/lang/spidermonkey24/distinfo
==============================================================================
--- head/lang/spidermonkey170/distinfo	Mon Dec 16 23:54:57 2013	(r336682)
+++ head/lang/spidermonkey24/distinfo	Tue Dec 17 00:17:45 2013	(r336683)
@@ -1,2 +1,2 @@
-SHA256 (mozjs17.0.0.tar.gz) = 321e964fe9386785d3bf80870640f2fa1c683e32fe988eeb201b04471c172fba
-SIZE (mozjs17.0.0.tar.gz) = 6778934
+SHA256 (mozjs-24.2.0.tar.bz2) = e62f3f331ddd90df1e238c09d61a505c516fe9fd8c5c95336611d191d18437d8
+SIZE (mozjs-24.2.0.tar.bz2) = 15624530

Modified: head/lang/spidermonkey24/pkg-plist
==============================================================================
--- head/lang/spidermonkey170/pkg-plist	Mon Dec 16 23:54:57 2013	(r336682)
+++ head/lang/spidermonkey24/pkg-plist	Tue Dec 17 00:17:45 2013	(r336683)
@@ -1,73 +1,81 @@
-bin/js17
-bin/js17-config
-include/js-17.0/ds/BitArray.h
-include/js-17.0/gc/Barrier.h
-include/js-17.0/gc/Heap.h
-include/js-17.0/gc/Root.h
-include/js-17.0/gc/Statistics.h
-include/js-17.0/gc/StoreBuffer.h
-include/js-17.0/js-config.h
-include/js-17.0/js.msg
-include/js-17.0/js/HashTable.h
-include/js-17.0/js/LegacyIntTypes.h
-include/js-17.0/js/MemoryMetrics.h
-include/js-17.0/js/RequiredDefines.h
-include/js-17.0/js/TemplateLib.h
-include/js-17.0/js/Utility.h
-include/js-17.0/js/Vector.h
-include/js-17.0/jsalloc.h
-include/js-17.0/jsapi.h
-include/js-17.0/jsatom.h
-include/js-17.0/jsatom.tbl
-include/js-17.0/jsclass.h
-include/js-17.0/jsclist.h
-include/js-17.0/jscpucfg.h
-include/js-17.0/jsdbgapi.h
-include/js-17.0/jsdhash.h
-include/js-17.0/jsfriendapi.h
-include/js-17.0/jsgc.h
-include/js-17.0/jslock.h
-include/js-17.0/json.h
-include/js-17.0/jsperf.h
-include/js-17.0/jsprf.h
-include/js-17.0/jsproto.tbl
-include/js-17.0/jsproxy.h
-include/js-17.0/jsprvtd.h
-include/js-17.0/jspubtd.h
-include/js-17.0/jstypes.h
-include/js-17.0/jsutil.h
-include/js-17.0/jsval.h
-include/js-17.0/jsversion.h
-include/js-17.0/jswrapper.h
-include/js-17.0/mozilla/Assertions.h
-include/js-17.0/mozilla/Attributes.h
-include/js-17.0/mozilla/BloomFilter.h
-include/js-17.0/mozilla/CheckedInt.h
-include/js-17.0/mozilla/Constants.h
-include/js-17.0/mozilla/FloatingPoint.h
-include/js-17.0/mozilla/GuardObjects.h
-include/js-17.0/mozilla/HashFunctions.h
-include/js-17.0/mozilla/Likely.h
-include/js-17.0/mozilla/LinkedList.h
-include/js-17.0/mozilla/MSStdInt.h
-include/js-17.0/mozilla/MathAlgorithms.h
-include/js-17.0/mozilla/NullPtr.h
-include/js-17.0/mozilla/RangedPtr.h
-include/js-17.0/mozilla/RefPtr.h
-include/js-17.0/mozilla/SHA1.h
-include/js-17.0/mozilla/Scoped.h
-include/js-17.0/mozilla/StandardInteger.h
-include/js-17.0/mozilla/ThreadLocal.h
-include/js-17.0/mozilla/TypeTraits.h
-include/js-17.0/mozilla/Types.h
-include/js-17.0/mozilla/Util.h
-include/js-17.0/mozilla/WeakPtr.h
-lib/libmozjs-17.0.a
-lib/libmozjs-17.0.so
-lib/libmozjs-17.0.so.1
-libdata/pkgconfig/mozjs-17.0.pc
-@dirrm include/js-17.0/mozilla
-@dirrm include/js-17.0/js
-@dirrm include/js-17.0/gc
-@dirrm include/js-17.0/ds
-@dirrm include/js-17.0
+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.so
+lib/libmozjs-24.so.1
+libdata/pkgconfig/mozjs-24.pc
+@dirrm include/mozjs-24/mozilla
+@dirrm include/mozjs-24/js
+@dirrm include/mozjs-24



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312170017.rBH0Hjqh090278>