diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-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 |
6 files changed, 53 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 094f0caa1093..6528175979d2 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -129,6 +129,7 @@ SUBDIR += rscheme SUBDIR += ruby SUBDIR += ruby-devel + SUBDIR += ruby-lua SUBDIR += ruby-man SUBDIR += ruby-mode.el SUBDIR += ruby-perl 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 |