summaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-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 6ed855f..4a19e23 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 f113a57..0e534ea 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 a4137f7..08665fb 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
OpenPOWER on IntegriCloud