[140255] trunk/dports/devel/lua-luaexpat/Portfile
devans at macports.org
devans at macports.org
Mon Sep 14 10:08:43 PDT 2015
Revision: 140255
https://trac.macports.org/changeset/140255
Author: devans at macports.org
Date: 2015-09-14 10:08:43 -0700 (Mon, 14 Sep 2015)
Log Message:
-----------
lua-luaexpat: switch to github repository and configure for lua 5.3, update dependencies, description, replace unresponsive homepage with github default, increment revision to correct install paths.
Modified Paths:
--------------
trunk/dports/devel/lua-luaexpat/Portfile
Modified: trunk/dports/devel/lua-luaexpat/Portfile
===================================================================
--- trunk/dports/devel/lua-luaexpat/Portfile 2015-09-14 16:47:56 UTC (rev 140254)
+++ trunk/dports/devel/lua-luaexpat/Portfile 2015-09-14 17:08:43 UTC (rev 140255)
@@ -2,38 +2,28 @@
# $Id$
PortSystem 1.0
+PortGroup github 1.0
+github.setup LuaDist luaexpat 1.3.0
name lua-luaexpat
-version 1.3.0
+revision 1
categories devel
license MIT
platforms darwin
maintainers nomaintainer
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.
+long_description LuaExpat is a SAX XML parser based on the Expat library.
-depends_build port:lua
-depends_lib port:expat
+checksums rmd160 0e03db5f71862cf3ebe06b211c5f11341553b3ec \
+ sha256 948b9b87d432cfc980fae4f1a135b16230bec5dbab99ec16503aca20e4e4e4bd
-# 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
+depends_lib port:lua \
+ port:expat
-homepage http://www.keplerproject.org/luaexpat/index.html
-
-master_sites http://code.matthewwild.co.uk/lua-expat/archive
-
-distname ${hash}
-
-checksums sha1 794426889ddfdfe08d552495012b1d6a05826c6b \
- rmd160 113e88216cfd9d379ba76c11fb6fc6902478d888
-
-worksrcdir lua-expat-${hash}
-
use_configure no
+set lua_version 5.3
+
build.target
build.args CC=${configure.cc} \
CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags cc]" \
@@ -60,4 +50,3 @@
xinstall -d -m 0755 ${destroot}${prefix}/share/examples
copy ${worksrcpath}/tests ${destroot}${prefix}/share/examples/${name}
}
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150914/d8fe5871/attachment.html>
More information about the macports-changes
mailing list