1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Update to 1.5-rc6

PR:		ports/66208
Submitted by:	Dan Rench <citric@cubicone.tmetic.com> (maintainer)
This commit is contained in:
Pav Lucistnik 2004-05-04 19:14:05 +00:00
parent 76aff84cb5
commit 012dbaaa79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=108394
3 changed files with 26 additions and 8 deletions

View File

@ -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>

View File

@ -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

View File

@ -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