ports/66208: Update port: lang/spidermonkey
Dan Rench
citric at cubicone.tmetic.com
Mon May 3 16:10:09 UTC 2004
>Number: 66208
>Category: ports
>Synopsis: Update port: lang/spidermonkey
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon May 03 09:10:08 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator: Dan Rench
>Release: FreeBSD 5.2.1-RELEASE-p1 i386
>Organization:
none
>Environment:
System: FreeBSD laptop.i.dren.ch 5.2.1-RELEASE-p1 FreeBSD 5.2.1-RELEASE-p1 #0: Thu Mar 11 17:04:41 CST 2004 root at laptop.i.dren.ch:/usr/obj/usr/src/sys/ACER734TL i386
>Description:
Spidermonkey version update to 1.5-rc6.
Port now installs shared library and associated header files for
interpreter embedding.
Still presumed broken on amd64/ia64.
>How-To-Repeat:
n/a
>Fix:
diff -u -r -N spidermonkey-old/Makefile spidermonkey/Makefile
--- spidermonkey-old/Makefile Fri Mar 12 15:59:52 2004
+++ spidermonkey/Makefile Mon May 3 09:52:41 2004
@@ -5,19 +5,18 @@
# $FreeBSD: ports/lang/spidermonkey/Makefile,v 1.6 2004/03/07 13:00:02 kris Exp $
PORTNAME= js
-PORTVERSION= 1.5.p5
-PORTREVISION= 2
+PORTVERSION= 1.5.p6
+PORTREVISION= 3
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= js
-DISTNAME= js-1.5-rc5a
+DISTNAME= js-1.5-rc6
MAINTAINER= citric at cubicone.tmetic.com
COMMENT= A standalone JavaScript interpreter from the Mozilla project
CONFLICTS= njs-*
-PLIST_FILES= bin/js
USE_GMAKE= YES
.include <bsd.port.pre.mk>
@@ -26,15 +25,24 @@
BROKEN= "Does not compile on amd64 or ia64 (missing -fPIC)"
.endif
+JS_ARCH:= `uname -s``uname -r`
+JS_HEADERS!= ${GREP} '\.h$$' ${MASTERDIR}/pkg-plist | ${SED} 'sX^include/XX'
+
post-extract:
${MV} ${WRKDIR}/js/src ${WRKSRC} && \
${RM} -rf js && \
${CP} ${WRKSRC}/config/Linux_All.mk \
- ${WRKSRC}/config/`uname -s``uname -r`.mk && \
+ ${WRKSRC}/config/${JS_ARCH}.mk && \
${CP} ${WRKSRC}/Makefile.ref ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/`uname -s``uname -r`_DBG.OBJ/js \
+ ${INSTALL_PROGRAM} ${WRKSRC}/${JS_ARCH}_DBG.OBJ/js \
${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${JS_ARCH}_DBG.OBJ/libjs.so \
+ ${PREFIX}/lib
+ ${CP} ${WRKSRC}/${JS_ARCH}_DBG.OBJ/jsautocfg.h ${WRKSRC}
+.for jsh in ${JS_HEADERS}
+ @${INSTALL_DATA} ${WRKSRC}/${jsh} ${PREFIX}/include/
+.endfor
.include <bsd.port.post.mk>
diff -u -r -N spidermonkey-old/distinfo spidermonkey/distinfo
--- spidermonkey-old/distinfo Sat Apr 10 21:38:46 2004
+++ spidermonkey/distinfo Mon May 3 08:36:31 2004
@@ -1,2 +1,2 @@
-MD5 (js-1.5-rc5a.tar.gz) = 001fae2f953c2bbc0b495ee0823a3539
-SIZE (js-1.5-rc5a.tar.gz) = 1122135
+MD5 (js-1.5-rc6.tar.gz) = ffb1c63d5c828a7e3251356e7df3c807
+SIZE (js-1.5-rc6.tar.gz) = 1038863
diff -u -r -N spidermonkey-old/pkg-plist spidermonkey/pkg-plist
--- spidermonkey-old/pkg-plist Wed Dec 31 18:00:00 1969
+++ spidermonkey/pkg-plist Mon May 3 08:35:28 2004
@@ -0,0 +1,10 @@
+bin/js
+lib/libjs.so
+include/jsapi.h
+include/jsautocfg.h
+include/jscompat.h
+include/jslong.h
+include/jsosdep.h
+include/jsotypes.h
+include/jspubtd.h
+include/jstypes.h
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list