diff options
author | knu <knu@FreeBSD.org> | 2003-02-25 06:21:09 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-02-25 06:21:09 +0000 |
commit | 028b07ce46dcccdc35d40d32fb7a5fbce4100cd9 (patch) | |
tree | 93361d1e3944f08cb5e4098e53672365468ffe56 /lang/ruby-js | |
parent | b50d94345d73f73bc24c78c95e0740e5c23a5a86 (diff) | |
download | FreeBSD-ports-028b07ce46dcccdc35d40d32fb7a5fbce4100cd9.zip FreeBSD-ports-028b07ce46dcccdc35d40d32fb7a5fbce4100cd9.tar.gz |
Add ruby-js, a Ruby binding to NJS JavaScript Interpreter.
Diffstat (limited to 'lang/ruby-js')
-rw-r--r-- | lang/ruby-js/Makefile | 38 | ||||
-rw-r--r-- | lang/ruby-js/distinfo | 1 | ||||
-rw-r--r-- | lang/ruby-js/pkg-descr | 4 | ||||
-rw-r--r-- | lang/ruby-js/pkg-plist | 6 |
4 files changed, 49 insertions, 0 deletions
diff --git a/lang/ruby-js/Makefile b/lang/ruby-js/Makefile new file mode 100644 index 0000000..73b4c51 --- /dev/null +++ b/lang/ruby-js/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: Ruby/JS +# Date created: 25 February 2003 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= js +PORTVERSION= 0.0.2 +CATEGORIES= lang ruby +MASTER_SITES= http://www.ruby-lang.org/~tamura/ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby${PORTNAME}-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org +COMMENT= A Ruby binding to NJS JavaScript Interpreter + +LIB_DEPENDS= js.0:${PORTSDIR}/lang/njs + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +INSTALL_TARGET= site-install + +EXAMPLES= html_ssi_lua.rb test_* + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_MODEXAMPLESDIR} +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/ +.endfor + ${MKDIR} ${RUBY_MODDOCDIR} + ${INSTALL_DATA} ${WRKSRC}/rubylua.txt ${RUBY_MODDOCDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/lang/ruby-js/distinfo b/lang/ruby-js/distinfo new file mode 100644 index 0000000..2d9faca --- /dev/null +++ b/lang/ruby-js/distinfo @@ -0,0 +1 @@ +MD5 (ruby/rubyjs-0.0.2.tar.gz) = 29bdac303309ab5c85892da8e6b65a29 diff --git a/lang/ruby-js/pkg-descr b/lang/ruby-js/pkg-descr new file mode 100644 index 0000000..eebc2d3 --- /dev/null +++ b/lang/ruby-js/pkg-descr @@ -0,0 +1,4 @@ +Ruby/JS -- A Ruby binding to NJS JavaScript Interpreter + +Author: TAMURA. Kenichi <tamura@ruby-lang.org> +WWW: http://raa.ruby-lang.org/list.rhtml?name=ruby-js diff --git a/lang/ruby-js/pkg-plist b/lang/ruby-js/pkg-plist new file mode 100644 index 0000000..354bc12 --- /dev/null +++ b/lang/ruby-js/pkg-plist @@ -0,0 +1,6 @@ +%%RUBY_SITEARCHLIBDIR%%/js.so +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.rd.ja +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/classtest.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% |