diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-30 08:13:20 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-08-30 08:13:20 +0000 |
commit | 4089cfeb11aa84b646159a4518f2f4dcb429473d (patch) | |
tree | d6efecbee45d34cd0c34e262e7aa60ddb0bf7fd3 /lang/ruby-lua | |
parent | f32198ac1b633e3751b7c54ccb3e9c6643b1f6f9 (diff) | |
download | ports-4089cfeb11aa84b646159a4518f2f4dcb429473d.tar.gz ports-4089cfeb11aa84b646159a4518f2f4dcb429473d.zip |
Add ruby-lua, a Ruby extension to make Lua script language as a class.
Notes
Notes:
svn path=/head/; revision=47149
Diffstat (limited to 'lang/ruby-lua')
-rw-r--r-- | lang/ruby-lua/Makefile | 40 | ||||
-rw-r--r-- | lang/ruby-lua/distinfo | 1 | ||||
-rw-r--r-- | lang/ruby-lua/pkg-comment | 1 | ||||
-rw-r--r-- | lang/ruby-lua/pkg-descr | 7 | ||||
-rw-r--r-- | lang/ruby-lua/pkg-plist | 3 |
5 files changed, 52 insertions, 0 deletions
diff --git a/lang/ruby-lua/Makefile b/lang/ruby-lua/Makefile new file mode 100644 index 000000000000..02354e0ba4c3 --- /dev/null +++ b/lang/ruby-lua/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: Ruby/Lua +# Date created: 30 August 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= lua +PORTVERSION= 0.0.1 +CATEGORIES= lang ruby +MASTER_SITES= http://ruby-lua.unolotiene.com/img/18/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ruby${PORTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ${LOCALBASE}/lib/liblua.a:${PORTSDIR}/lang/lua + +USE_ZIP= yes + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +NO_WRKSUBDIR= yes +INSTALL_TARGET= site-install + +post-extract: + ${ECHO} 'require "mkmf"' > ${WRKSRC}/extconf.rb + ${ECHO} 'have_library("lua") &&' >> ${WRKSRC}/extconf.rb + ${ECHO} ' have_library("lualib") &&' >> ${WRKSRC}/extconf.rb + ${ECHO} ' create_makefile("lua")' >> ${WRKSRC}/extconf.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/rubylua.txt ${RUBY_DOCDIR}/${PORTNAME}/ +.endif + +.include <bsd.port.mk> diff --git a/lang/ruby-lua/distinfo b/lang/ruby-lua/distinfo new file mode 100644 index 000000000000..dccfc98cda2d --- /dev/null +++ b/lang/ruby-lua/distinfo @@ -0,0 +1 @@ +MD5 (ruby/rubylua.zip) = b2b9c7e61081ecdc2a4e5e9beb5c3000 diff --git a/lang/ruby-lua/pkg-comment b/lang/ruby-lua/pkg-comment new file mode 100644 index 000000000000..4de068195073 --- /dev/null +++ b/lang/ruby-lua/pkg-comment @@ -0,0 +1 @@ +A Ruby extension to make Lua script language as a class diff --git a/lang/ruby-lua/pkg-descr b/lang/ruby-lua/pkg-descr new file mode 100644 index 000000000000..9b3cfe6bba1d --- /dev/null +++ b/lang/ruby-lua/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-lua/pkg-plist b/lang/ruby-lua/pkg-plist new file mode 100644 index 000000000000..a4137f757a0b --- /dev/null +++ b/lang/ruby-lua/pkg-plist @@ -0,0 +1,3 @@ +%%RUBY_SITEARCHLIBDIR%%/lua.so +%%PORTDOCS%%%%RUBY_DOCDIR%%/lua/rubylua.txt +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/lua |