diff options
-rw-r--r-- | lang/Makefile | 1 | ||||
-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 |
5 files changed, 50 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index f4c47fe2164d..7d7cc301668b 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -171,6 +171,7 @@ SUBDIR += rscheme SUBDIR += ruby SUBDIR += ruby-devel + SUBDIR += ruby-js SUBDIR += ruby-lua SUBDIR += ruby-man SUBDIR += ruby-mode.el diff --git a/lang/ruby-js/Makefile b/lang/ruby-js/Makefile new file mode 100644 index 000000000000..73b4c5124793 --- /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 000000000000..2d9facace746 --- /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 000000000000..eebc2d36914d --- /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 000000000000..354bc12082ec --- /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%% |