aboutsummaryrefslogtreecommitdiffstats
path: root/lang/spidermonkey
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-05-05 03:14:05 +0800
committerpav <pav@FreeBSD.org>2004-05-05 03:14:05 +0800
commit37471eed9e6989f668a045555e6388f286524efb (patch)
tree97b0907f92bb7f6e021be15fc26233cf3195ecca /lang/spidermonkey
parente59de85cb8b146eba0e2a1a91d135d33241b286c (diff)
downloadfreebsd-ports-graphics-37471eed9e6989f668a045555e6388f286524efb.tar.gz
freebsd-ports-graphics-37471eed9e6989f668a045555e6388f286524efb.tar.zst
freebsd-ports-graphics-37471eed9e6989f668a045555e6388f286524efb.zip
- Update to 1.5-rc6
PR: ports/66208 Submitted by: Dan Rench <citric@cubicone.tmetic.com> (maintainer)
Diffstat (limited to 'lang/spidermonkey')
-rw-r--r--lang/spidermonkey/Makefile20
-rw-r--r--lang/spidermonkey/distinfo4
-rw-r--r--lang/spidermonkey/pkg-plist10
3 files changed, 26 insertions, 8 deletions
diff --git a/lang/spidermonkey/Makefile b/lang/spidermonkey/Makefile
index d6936ddc335..ff67227dd55 100644
--- a/lang/spidermonkey/Makefile
+++ b/lang/spidermonkey/Makefile
@@ -5,20 +5,19 @@
# $FreeBSD$
PORTNAME= js
-PORTVERSION= 1.5.p5
-PORTREVISION= 2
+PORTVERSION= 1.5.p6
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= js
-DISTNAME= js-1.5-rc5a
+DISTNAME= js-1.5-rc6
MAINTAINER= citric@cubicone.tmetic.com
COMMENT= A standalone JavaScript interpreter from the Mozilla project
CONFLICTS= njs-*
-PLIST_FILES= bin/js
USE_GMAKE= YES
+INSTALLS_SHLIB= YES
.include <bsd.port.pre.mk>
@@ -26,15 +25,24 @@ USE_GMAKE= YES
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 --git a/lang/spidermonkey/distinfo b/lang/spidermonkey/distinfo
index 84989643a8a..df06a5487f6 100644
--- a/lang/spidermonkey/distinfo
+++ b/lang/spidermonkey/distinfo
@@ -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 --git a/lang/spidermonkey/pkg-plist b/lang/spidermonkey/pkg-plist
new file mode 100644
index 00000000000..20ab0fd5e12
--- /dev/null
+++ b/lang/spidermonkey/pkg-plist
@@ -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