aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/ruby-lua/Makefile30
-rw-r--r--lang/ruby-lua/distinfo2
-rw-r--r--lang/ruby-lua/pkg-descr4
-rw-r--r--lang/ruby-lua/pkg-plist9
4 files changed, 15 insertions, 30 deletions
diff --git a/lang/ruby-lua/Makefile b/lang/ruby-lua/Makefile
index b5574fb5f530..b3ca65d9c833 100644
--- a/lang/ruby-lua/Makefile
+++ b/lang/ruby-lua/Makefile
@@ -5,39 +5,29 @@
# $FreeBSD$
#
-PORTNAME= lua
-PORTVERSION= 20010921
+PORTNAME= lua5
+PORTVERSION= 0.2.2
+PORTEPOCH= 1
CATEGORIES= lang ruby
-MASTER_SITES= ${MASTER_SITE_LOCAL}
-MASTER_SITE_SUBDIR= knu
+MASTER_SITES= http://www.moonwolf.com/ruby/archive/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ruby${PORTNAME}-${PORTVERSION}
+DISTNAME= rub-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby extension to make Lua script language as a class
-BUILD_DEPENDS= ${LOCALBASE}/lib/liblua.a:${PORTSDIR}/lang/lua4
-
-USE_ZIP= yes
+BUILD_DEPENDS= ${LOCALBASE}/lib/liblua.a:${PORTSDIR}/lang/lua
USE_RUBY= yes
-USE_RUBY_EXTCONF= yes
-RUBY_EXTCONF= luaconf.rb
-
-NO_WRKSUBDIR= yes
-INSTALL_TARGET= site-install
-
-EXAMPLES= html_ssi_lua.rb test_*
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+CONFIGURE_ARGS= -- --with-lua-dir=${LOCALBASE}
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}/
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_MODDOCDIR}/
.endif
.include <bsd.port.mk>
diff --git a/lang/ruby-lua/distinfo b/lang/ruby-lua/distinfo
index 0e534ea05108..5d5cfcb356dc 100644
--- a/lang/ruby-lua/distinfo
+++ b/lang/ruby-lua/distinfo
@@ -1 +1 @@
-MD5 (ruby/rubylua-20010921.zip) = 6dc7663781d4b1ecdd733669693775b3
+MD5 (ruby/rub-lua5-0.2.2.tar.gz) = 580692fec1b3fd3fef6def27f35f4ac0
diff --git a/lang/ruby-lua/pkg-descr b/lang/ruby-lua/pkg-descr
index 9b3cfe6bba1d..0a2ef5feb5c0 100644
--- a/lang/ruby-lua/pkg-descr
+++ b/lang/ruby-lua/pkg-descr
@@ -3,5 +3,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>
+Author: Domingo Alvarez <domingo@dad-it.com>,
+ MoonWolf <moonwolf@moonwolf.com>
WWW: http://ruby-lua.unolotiene.com/
+ http://raa.ruby-lang.org/list.rhtml?name=rub-lua5
diff --git a/lang/ruby-lua/pkg-plist b/lang/ruby-lua/pkg-plist
index dff815fb1d93..0acec37b549b 100644
--- a/lang/ruby-lua/pkg-plist
+++ b/lang/ruby-lua/pkg-plist
@@ -1,10 +1,3 @@
%%RUBY_SITEARCHLIBDIR%%/lua.so
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rubylua.txt
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%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%%