aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-01-22 11:52:52 +0000
committerOKAZAKI Tetsurou <okazaki@FreeBSD.org>2002-01-22 11:52:52 +0000
commit5548b02b621ce9111eecba35ed3583d37887bf87 (patch)
treee583159c5f8915cb63fafc25ac2949f9e8dc9265 /lang
parent710acb8c44e8f3499e7821091d866e4d0e1a90d4 (diff)
downloadports-5548b02b621ce9111eecba35ed3583d37887bf87.tar.gz
ports-5548b02b621ce9111eecba35ed3583d37887bf87.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/njs/Makefile45
-rw-r--r--lang/njs/distinfo1
-rw-r--r--lang/njs/files/patch-docs_Makefile.in14
-rw-r--r--lang/njs/pkg-comment1
-rw-r--r--lang/njs/pkg-descr7
-rw-r--r--lang/njs/pkg-message5
-rw-r--r--lang/njs/pkg-plist11
8 files changed, 85 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 3e260c184e6b..7b3394288eb0 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -100,6 +100,7 @@
SUBDIR += nawk
SUBDIR += nhc98
SUBDIR += nickle
+ SUBDIR += njs
SUBDIR += nml
SUBDIR += nqc
SUBDIR += o2c
diff --git a/lang/njs/Makefile b/lang/njs/Makefile
new file mode 100644
index 000000000000..b323ef0ad592
--- /dev/null
+++ b/lang/njs/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: njs
+# Date created: Fri Jan 11 20:45:26 GMT 2002
+# Whom: thierry@pompo.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= njs
+PORTVERSION= 0.2.5
+CATEGORIES= lang
+MASTER_SITES= ftp://ftp.bbassett.net/pub/njs/ \
+ http://www.bbassett.net/njs/ \
+ http://www.iki.fi/mtr/js/
+DISTNAME= js-${PORTVERSION}
+
+MAINTAINER= thierry@pompo.net
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+MAKE_ARG= MAKEINFO="makeinfo --no-split"
+
+MAN1= js.1 jsdas.1
+
+post-extract:
+ ${RM} ${WRKSRC}/docs/js.info*
+
+post-patch:
+ ${PERL} -pi -e 's:=makeinfo:="makeinfo --no-split":g' ${WRKSRC}/configure
+
+pre-install:
+.if defined(NOPORTDOCS)
+ ${PERL} -pi -e "s:docs micros examples:micros:g" ${WRKSRC}/Makefile
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+.for info in js.info
+ install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
+.endfor
+.endif
+ @${ECHO_MSG}
+ @${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g"
+ @${ECHO_MSG}
+
+.include <bsd.port.mk>
diff --git a/lang/njs/distinfo b/lang/njs/distinfo
new file mode 100644
index 000000000000..07952ce7e84f
--- /dev/null
+++ b/lang/njs/distinfo
@@ -0,0 +1 @@
+MD5 (js-0.2.5.tar.gz) = b299c678e388a170eea09b6e12375152
diff --git a/lang/njs/files/patch-docs_Makefile.in b/lang/njs/files/patch-docs_Makefile.in
new file mode 100644
index 000000000000..bb3425ed5d2f
--- /dev/null
+++ b/lang/njs/files/patch-docs_Makefile.in
@@ -0,0 +1,14 @@
+--- docs/Makefile.in.orig Fri Jan 15 08:40:27 1999
++++ docs/Makefile.in Sun Jan 13 16:07:07 2002
+@@ -219,10 +219,7 @@
+ done
+ @$(POST_INSTALL)
+ @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+- for file in $(INFO_DEPS); do \
+- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+- done; \
++ echo " install-info will be done in POST-INSTALL."; \
+ else : ; fi
+
+ uninstall-info:
diff --git a/lang/njs/pkg-comment b/lang/njs/pkg-comment
new file mode 100644
index 000000000000..d97f1818ddad
--- /dev/null
+++ b/lang/njs/pkg-comment
@@ -0,0 +1 @@
+NJS (NGS) is a standalone JavaScript/ECMAScript interpreter
diff --git a/lang/njs/pkg-descr b/lang/njs/pkg-descr
new file mode 100644
index 000000000000..cac3ee9f7c5d
--- /dev/null
+++ b/lang/njs/pkg-descr
@@ -0,0 +1,7 @@
+NJS is an independent implementation of the JavaScript language developed
+by Netscape and standardized by ECMA. It is designed to be re-entrant,
+extendible, fast, and programmable.
+
+Warning: it is still under development.
+
+WWW: http://www.bbassett.net/njs/
diff --git a/lang/njs/pkg-message b/lang/njs/pkg-message
new file mode 100644
index 000000000000..25b08b319886
--- /dev/null
+++ b/lang/njs/pkg-message
@@ -0,0 +1,5 @@
+*****************************************************************************
+
+ js & jsdas have been installed in %%PREFIX%%/bin.
+
+*****************************************************************************
diff --git a/lang/njs/pkg-plist b/lang/njs/pkg-plist
new file mode 100644
index 000000000000..3657b984fbbd
--- /dev/null
+++ b/lang/njs/pkg-plist
@@ -0,0 +1,11 @@
+bin/js
+bin/jsas
+bin/jsdas
+bin/jswrap
+include/js.h
+include/jsint.h
+include/jsconfig.h
+%%PORTDOCS%%@unexec install-info --delete %D/info/js.info %D/info/dir
+%%PORTDOCS%%info/js.info
+%%PORTDOCS%%@exec install-info %D/info/js.info %D/info/dir
+lib/libjs.a