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.
This commit is contained in:
Akinori MUSHA 2004-12-25 19:08:59 +00:00
parent 12abfcb4cc
commit 4b77210ea9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125148
5 changed files with 65 additions and 0 deletions

View File

@ -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

46
lang/ruby-lua4/Makefile Normal file
View File

@ -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>

1
lang/ruby-lua4/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (ruby/rubylua-20010921.zip) = 6dc7663781d4b1ecdd733669693775b3

7
lang/ruby-lua4/pkg-descr Normal file
View File

@ -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/

10
lang/ruby-lua4/pkg-plist Normal file
View File

@ -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%%