summaryrefslogtreecommitdiff
path: root/lang/ruby-lua
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-23 06:44:01 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-23 06:44:01 +0000
commitb8b595632ec93f1f23924f8d4a8abd6f89694c3f (patch)
treee72854bf70e8d7f6121be1e08c6387d2b4a351a2 /lang/ruby-lua
parentunify info files (no revision bump needed). (diff)
Update to 20010921.
Notes
Notes: svn path=/head/; revision=48113
Diffstat (limited to 'lang/ruby-lua')
-rw-r--r--lang/ruby-lua/Makefile14
-rw-r--r--lang/ruby-lua/distinfo2
-rw-r--r--lang/ruby-lua/pkg-plist6
3 files changed, 14 insertions, 8 deletions
diff --git a/lang/ruby-lua/Makefile b/lang/ruby-lua/Makefile
index 6ed855f8a13c..4a19e23065db 100644
--- a/lang/ruby-lua/Makefile
+++ b/lang/ruby-lua/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= lua
-PORTVERSION= 20010831
-PORTREVISION= 1
+PORTVERSION= 20010921
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
@@ -23,18 +22,19 @@ USE_ZIP= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
+RUBY_EXTCONF= luaconf.rb
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
+EXAMPLES= html_ssi_lua.rb test_*
post-install:
.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endfor
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/rubylua.txt ${RUBY_DOCDIR}/${PORTNAME}/
.endif
diff --git a/lang/ruby-lua/distinfo b/lang/ruby-lua/distinfo
index f113a5723086..0e534ea05108 100644
--- a/lang/ruby-lua/distinfo
+++ b/lang/ruby-lua/distinfo
@@ -1 +1 @@
-MD5 (ruby/rubylua-20010831.zip) = d1a7f664e38d82751810281813e75d7f
+MD5 (ruby/rubylua-20010921.zip) = 6dc7663781d4b1ecdd733669693775b3
diff --git a/lang/ruby-lua/pkg-plist b/lang/ruby-lua/pkg-plist
index a4137f757a0b..08665fb9644b 100644
--- a/lang/ruby-lua/pkg-plist
+++ b/lang/ruby-lua/pkg-plist
@@ -1,3 +1,9 @@
%%RUBY_SITEARCHLIBDIR%%/lua.so
%%PORTDOCS%%%%RUBY_DOCDIR%%/lua/rubylua.txt
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/lua
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/lua/html_ssi_lua.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/lua/test_lua.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/lua/test_ssi_lua2_2.html
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/lua/test_ssi_lua3_2.html
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/lua/test_ssi_lua_2.html
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/lua/test_ssi_lua_2.rb