Import js-0.2.5

The NGS JavaScript interpreter is an independent implementation of the
JavaScript language, developed by Netscape et al. This implementation
is designed to be re-entrant, extendible, fast, and programmable.

Maintainer Jose Nazario <jose@crimelabs.net>
This commit is contained in:
pvalchev 2002-10-22 22:17:02 +00:00
parent e8d66836ee
commit b4261b617b
7 changed files with 91 additions and 0 deletions

26
lang/js/Makefile Normal file
View File

@ -0,0 +1,26 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/10/22 22:17:02 pvalchev Exp $
COMMENT= "command line JavaScript interpreter"
DISTNAME= js-0.2.5
CATEGORIES= lang
HOMEPAGE= http://people.ssh.fi/mtr/js/
MAINTAINER= Jose Nazario <jose@crimelabs.net>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --prefix="${PREFIX}"
REGRESS_TARGET= check
.include <bsd.port.mk>

3
lang/js/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (js-0.2.5.tar.gz) = b299c678e388a170eea09b6e12375152
RMD160 (js-0.2.5.tar.gz) = a8d681a2c405a0410cdcf0166ab3e040d2ae65cd
SHA1 (js-0.2.5.tar.gz) = a1a3a33cc350d7f432edc07fc0334ab0cc729247

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-examples_simple_c,v 1.1.1.1 2002/10/22 22:17:02 pvalchev Exp $
--- examples/simple.c.orig Tue Oct 22 15:43:22 2002
+++ examples/simple.c Tue Oct 22 15:43:31 2002
@@ -29,6 +29,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <js.h>

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_getopt_c,v 1.1.1.1 2002/10/22 22:17:02 pvalchev Exp $
--- src/getopt.c.orig Tue Oct 22 15:42:40 2002
+++ src/getopt.c Tue Oct 22 15:42:54 2002
@@ -43,6 +43,7 @@
#endif
#include <stdio.h>
+#include <string.h>
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_mrgsort_c,v 1.1.1.1 2002/10/22 22:17:02 pvalchev Exp $
--- src/mrgsort.c.orig Tue Oct 22 15:42:17 2002
+++ src/mrgsort.c Tue Oct 22 15:42:26 2002
@@ -29,6 +29,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <assert.h>
#include "mrgsort.h"

10
lang/js/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
The NGS JavaScript interpreter is an independent implementation of the
JavaScript language, developed by Netscape et al. This implementation
is designed to be re-entrant, extendible, fast, and programmable.
This implementation is not 100% compatible with the JavaScript
language, found from the Netscape's WWW browsers and servers. To
achieve the design goals, some shortcuts have been taken in the
implementation, as compared to the Netscape's implementation.
WWW: ${HOMEPAGE}

19
lang/js/pkg/PLIST Normal file
View File

@ -0,0 +1,19 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/10/22 22:17:02 pvalchev Exp $
@unexec install-info --delete --info-dir=%D/info %D/info/js.info
bin/js
bin/jsas
bin/jsdas
bin/jswrap
include/js.h
include/jsconfig.h
include/jsint.h
info/js.info
info/js.info-1
info/js.info-2
info/js.info-3
info/js.info-4
lib/libjs.a
lib/libjs.la
man/man1/js.1
man/man1/jsdas.1
@exec install-info --info-dir=%D/info %D/info/js.info