Changeset 117743 for trunk/dports


Ignore:
Timestamp:
Mar 10, 2014, 6:58:48 PM (10 years ago)
Author:
snc@…
Message:

lua-luaexpat: update to 1.2.0, #41846

Location:
trunk/dports/devel/lua-luaexpat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/lua-luaexpat/Portfile

    r117742 r117743  
    55
    66name                lua-luaexpat
    7 version             1.1
    8 revision            0
     7version             1.2.0
     8set buildhash       30c2491fe44a
    99categories          devel
    1010license             MIT
     
    1515                    LuaExpat is free software and uses the same license as Lua 5.1.
    1616homepage            http://www.keplerproject.org/luaexpat/index.html
    17 master_sites        http://luaforge.net/frs/download.php/2469/
    18 distname            luaexpat-${version}
     17master_sites        http://code.matthewwild.co.uk/lua-expat/archive
     18distname            ${buildhash}
    1919use_configure       no
    20 checksums           md5  6ecb895ccf5cff1e7f2facd438b1f8d0 \
    21                     sha1  ea359bdbd346ee378c47179a17ac3ee410be5c9d \
    22                     rmd160  f661c0e7f22363f51862187e96306498addea9d9
     20checksums           sha1    c8de19c12f9d0899c3ecf5bf3c679910ea5d1c32 \
     21                    rmd160  d1b6c8de59cfe1de814fb28f753ff850298ac735
     22worksrcdir          lua-expat-${buildhash}
    2323patchfiles          config-patch.diff \
    2424                    makefile-patch.diff
    2525post-patch {
    2626   reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/config
     27    reinplace s|luaL_reg|luaL_Reg|g ${worksrcpath}/src/lxplib.c
    2728}
     29depends_build       port:lua
    2830depends_lib         port:expat
    2931build.target
  • trunk/dports/devel/lua-luaexpat/files/config-patch.diff

    r59191 r117743  
    55 # System's libraries directory (where binary libraries are installed)
    66-LUA_LIBDIR= /usr/local/lib/lua/5.0
    7 +LUA_LIBDIR= %PREFIX%/lib/lua/5.1
     7+LUA_LIBDIR= %PREFIX%/lib/lua/5.2
    88 # System's lua directory (where Lua libraries are installed)
    99-LUA_DIR= /usr/local/share/lua/5.0
    10 +LUA_DIR= %PREFIX%/share/lua/5.1
     10+LUA_DIR= %PREFIX%/share/lua/5.2
    1111 # Lua includes directory
    1212-LUA_INC= /usr/local/include
     
    2828 # e.g. Lua 5.0.2 => 500, Lua 5.1 => 501, Lua 5.1.1 => 501)
    2929-LUA_VERSION_NUM= 500
    30 +LUA_VERSION_NUM= 501
     30+LUA_VERSION_NUM= 502
    3131 COMPAT_DIR= ../compat/src
    3232 
Note: See TracChangeset for help on using the changeset viewer.