[57944] trunk/dports/shells
and.damore at macports.org
and.damore at macports.org
Sat Sep 19 08:04:27 PDT 2009
Revision: 57944
http://trac.macports.org/changeset/57944
Author: and.damore at macports.org
Date: 2009-09-19 08:04:24 -0700 (Sat, 19 Sep 2009)
Log Message:
-----------
luash, a shell with Lua support. new port
Added Paths:
-----------
trunk/dports/shells/luash/
trunk/dports/shells/luash/Portfile
trunk/dports/shells/luash/files/
trunk/dports/shells/luash/files/patch-makefile.diff
Added: trunk/dports/shells/luash/Portfile
===================================================================
--- trunk/dports/shells/luash/Portfile (rev 0)
+++ trunk/dports/shells/luash/Portfile 2009-09-19 15:04:24 UTC (rev 57944)
@@ -0,0 +1,22 @@
+# $Id$
+PortSystem 1.0
+
+name luash
+version 0.9
+categories shells lua
+maintainers and.damore openmaintainer
+description shell written in Lua/C++
+long_description luash is a shell written in Lua/C++ that allow you to run command using Lua syntax
+homepage http://luaforge.net/projects/luash/
+platforms darwin
+master_sites http://luaforge.net/frs/download.php/4238
+#this is a hack, distfile has name ending in .tar.gz but is actually a bzip2 file
+use_bzip2 yes
+extract.suffix .tar.gz
+checksums md5 67bbb8985166579686361fe840e016c0 \
+ sha1 ef1d56843f19a29b96f6d5ce8f983b54074b955f \
+ rmd160 165d88850e8d068d7586f1785b36dd20c9c8ce37
+patchfiles patch-makefile.diff
+worksrcdir ${name}
+use_configure no
+destroot.env-append PREFIX=${destroot}${prefix}
\ No newline at end of file
Property changes on: trunk/dports/shells/luash/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/shells/luash/files/patch-makefile.diff
===================================================================
--- trunk/dports/shells/luash/files/patch-makefile.diff (rev 0)
+++ trunk/dports/shells/luash/files/patch-makefile.diff 2009-09-19 15:04:24 UTC (rev 57944)
@@ -0,0 +1,10 @@
+--- makefile.orig 2009-09-19 16:51:32.000000000 +0200
++++ makefile 2009-09-19 16:57:40.000000000 +0200
+@@ -1,6 +1,6 @@
+ CXX_FLAGS=-O3
+ all:
+- echo -n const char *lua_code = \" > lua_code.h
++ /bin/echo -n const char *lua_code = \" > lua_code.h
+ cat luash.lua | sed 's/\\/\\\\/g' | sed 's/\"/\\\"/g' | gawk '{ print $$0"\\n" }' | tr -d '\n' >> lua_code.h
+ echo "\";" >> lua_code.h
+ g++ -o luash luash.cpp ${CXX_FLAGS} -llua -lreadline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090919/9cc5a910/attachment.html>
More information about the macports-changes
mailing list