summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-12-25 19:08:59 +0000
committerknu <knu@FreeBSD.org>2004-12-25 19:08:59 +0000
commit6948f34b21e79645592e167ae6812e3280db7821 (patch)
tree9aef04989e14f4da4f225c5f6f7b972066b9629a /lang
parent74c647847ac3e2654a61c5a3e9fecd895470f28c (diff)
downloadFreeBSD-ports-6948f34b21e79645592e167ae6812e3280db7821.zip
FreeBSD-ports-6948f34b21e79645592e167ae6812e3280db7821.tar.gz
Re-add ruby-lua4, which was updated with ruby-lua to support lua 5.x.
Repocopy is not necessary here since lang/ruby-lua is and will be the mainstream.
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/ruby-lua4/Makefile46
-rw-r--r--lang/ruby-lua4/distinfo1
-rw-r--r--lang/ruby-lua4/pkg-descr7
-rw-r--r--lang/ruby-lua4/pkg-plist10
5 files changed, 65 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index 54070fc..042d031 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -223,6 +223,7 @@
SUBDIR += rscheme
SUBDIR += ruby-js
SUBDIR += ruby-lua
+ SUBDIR += ruby-lua4
SUBDIR += ruby-man
SUBDIR += ruby-mode.el
SUBDIR += ruby-perl
diff --git a/lang/ruby-lua4/Makefile b/lang/ruby-lua4/Makefile
new file mode 100644
index 0000000..edac49d
--- /dev/null
+++ b/lang/ruby-lua4/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: Ruby/Lua
+# Date created: 30 August 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= lua
+PORTVERSION= 20010921
+CATEGORIES= lang ruby
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= knu
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 4
+DISTNAME= ruby${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= A Ruby extension to make Lua script language as a class
+
+LIB_DEPENDS= lua.4:${PORTSDIR}/lang/lua4
+
+CONFLICTS= ${RUBY_PKGNAMEPREFIX}lua5-[0-9]*
+
+USE_ZIP= yes
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+RUBY_EXTCONF= luaconf.rb
+
+NO_WRKSUBDIR= 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-lua4/distinfo b/lang/ruby-lua4/distinfo
new file mode 100644
index 0000000..0e534ea
--- /dev/null
+++ b/lang/ruby-lua4/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/rubylua-20010921.zip) = 6dc7663781d4b1ecdd733669693775b3
diff --git a/lang/ruby-lua4/pkg-descr b/lang/ruby-lua4/pkg-descr
new file mode 100644
index 0000000..9b3cfe6
--- /dev/null
+++ b/lang/ruby-lua4/pkg-descr
@@ -0,0 +1,7 @@
+Ruby-Lua -- an embebed scripting language for ruby programs
+
+This is a first attempt to make Lua script language as a class for
+ruby, it's very basic right now.
+
+Author: Domingo Alvarez <domingo@dad-it.com>
+WWW: http://ruby-lua.unolotiene.com/
diff --git a/lang/ruby-lua4/pkg-plist b/lang/ruby-lua4/pkg-plist
new file mode 100644
index 0000000..dff815f
--- /dev/null
+++ b/lang/ruby-lua4/pkg-plist
@@ -0,0 +1,10 @@
+%%RUBY_SITEARCHLIBDIR%%/lua.so
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rubylua.txt
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/html_ssi_lua.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_lua.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_ssi_lua2_2.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_ssi_lua3_2.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_ssi_lua_2.html
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test_ssi_lua_2.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
OpenPOWER on IntegriCloud