aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-23 14:44:01 +0800
committerknu <knu@FreeBSD.org>2001-09-23 14:44:01 +0800
commit7cff3834ed2ec3f54ff7afcea4bdabd71be9d7ae (patch)
tree6300bdf9e73a8b09e928a525405938f437027457 /lang
parente97c7b09560d04e9faef5ad351810292263ff0b9 (diff)
downloadfreebsd-ports-gnome-7cff3834ed2ec3f54ff7afcea4bdabd71be9d7ae.tar.gz
freebsd-ports-gnome-7cff3834ed2ec3f54ff7afcea4bdabd71be9d7ae.tar.zst
freebsd-ports-gnome-7cff3834ed2ec3f54ff7afcea4bdabd71be9d7ae.zip
Update to 20010921.
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 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