Revision: 118489 https://trac.macports.org/changeset/118489 Author: and.damore@macports.org Date: 2014-04-03 02:49:39 -0700 (Thu, 03 Apr 2014) Log Message: ----------- port lua-expat: make portfile more readable, nomaintainer Modified Paths: -------------- trunk/dports/devel/lua-luaexpat/Portfile Modified: trunk/dports/devel/lua-luaexpat/Portfile =================================================================== --- trunk/dports/devel/lua-luaexpat/Portfile 2014-04-03 09:42:52 UTC (rev 118488) +++ trunk/dports/devel/lua-luaexpat/Portfile 2014-04-03 09:49:39 UTC (rev 118489) @@ -5,9 +5,6 @@ name lua-luaexpat version 1.3.0 -set hash 1adb0c435b54 -# this binds lua-expat to 5.2 since this is the current port:lua version in dports tree -set lua_version 5.2 categories devel license MIT platforms darwin @@ -15,15 +12,28 @@ description SAX XML parser long_description LuaExpat is a SAX XML parser based on the Expat library. \ LuaExpat is free software and uses the same license as Lua 5.1. + +depends_build port:lua +depends_lib port:expat + +# bind lua-expat to current port:lua version in dports tree +# set commit hash for tag 1.3.0 on remote mercurial repository +set lua_version 5.2 +set hash 1adb0c435b54 + homepage http://www.keplerproject.org/luaexpat/index.html + master_sites http://code.matthewwild.co.uk/lua-expat/archive + distname ${hash} -use_configure no + checksums sha1 794426889ddfdfe08d552495012b1d6a05826c6b \ rmd160 113e88216cfd9d379ba76c11fb6fc6902478d888 + worksrcdir lua-expat-${hash} -depends_build port:lua -depends_lib port:expat + +use_configure no + build.target build.args CC=${configure.cc} \ CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \