Modified: trunk/dports/lang/lua51/Portfile (118489 => 118490)
--- trunk/dports/lang/lua51/Portfile 2014-04-03 09:49:39 UTC (rev 118489)
+++ trunk/dports/lang/lua51/Portfile 2014-04-03 09:57:03 UTC (rev 118490)
@@ -4,6 +4,7 @@
name lua51
version 5.1.5
+revision 1
set abi [join [lrange [split $version "."] 0 end-1] "."]
categories lang
license MIT
@@ -63,9 +64,10 @@
xinstall -m 0644 $f ${destroot}${prefix}/share/doc/${name}
}
- # install test and etc stuff in shared/${name}
- xinstall -d -m 0755 ${destroot}${prefix}/share/examples
- copy ${worksrcpath}/test ${destroot}${prefix}/share/examples/${name}
+ # install test and etc stuff
+ xinstall -d -m 0755 ${destroot}${prefix}/share/examples/${name}
+ copy ${worksrcpath}/test ${destroot}${prefix}/share/examples/${name}/test
+ copy ${worksrcpath}/etc ${destroot}${prefix}/share/examples/${name}/etc
# version executable and man pages files
foreach f [glob ${destroot}${prefix}/bin/*] {