Add ruby-js, a Ruby binding to NJS JavaScript Interpreter.
This commit is contained in:
parent
18227238ff
commit
5ef7f5c294
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76447
5 changed files with 50 additions and 0 deletions
|
@ -171,6 +171,7 @@
|
|||
SUBDIR += rscheme
|
||||
SUBDIR += ruby
|
||||
SUBDIR += ruby-devel
|
||||
SUBDIR += ruby-js
|
||||
SUBDIR += ruby-lua
|
||||
SUBDIR += ruby-man
|
||||
SUBDIR += ruby-mode.el
|
||||
|
|
38
lang/ruby-js/Makefile
Normal file
38
lang/ruby-js/Makefile
Normal file
|
@ -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>
|
1
lang/ruby-js/distinfo
Normal file
1
lang/ruby-js/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (ruby/rubyjs-0.0.2.tar.gz) = 29bdac303309ab5c85892da8e6b65a29
|
4
lang/ruby-js/pkg-descr
Normal file
4
lang/ruby-js/pkg-descr
Normal file
|
@ -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
|
6
lang/ruby-js/pkg-plist
Normal file
6
lang/ruby-js/pkg-plist
Normal file
|
@ -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%%
|
Loading…
Reference in a new issue