aboutsummaryrefslogtreecommitdiffstats
path: root/lang/ruby-lua4
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2004-12-26 03:08:59 +0800
committerknu <knu@FreeBSD.org>2004-12-26 03:08:59 +0800
commit6948f34b21e79645592e167ae6812e3280db7821 (patch)
tree9aef04989e14f4da4f225c5f6f7b972066b9629a /lang/ruby-lua4
parent74c647847ac3e2654a61c5a3e9fecd895470f28c (diff)
downloadfreebsd-ports-gnome-6948f34b21e79645592e167ae6812e3280db7821.tar.gz
freebsd-ports-gnome-6948f34b21e79645592e167ae6812e3280db7821.tar.zst
freebsd-ports-gnome-6948f34b21e79645592e167ae6812e3280db7821.zip
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/ruby-lua4')
-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
4 files changed, 64 insertions, 0 deletions
diff --git a/lang/ruby-lua4/Makefile b/lang/ruby-lua4/Makefile
new file mode 100644
index 000000000000..edac49df5cba
--- /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 000000000000..0e534ea05108
--- /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 000000000000..9b3cfe6bba1d
--- /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 000000000000..dff815fb1d93
--- /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%%