# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup github 1.0 github.setup harningt luajson 1.3.3 name lua-luajson revision 1 license MIT categories devel platforms darwin maintainers nomaintainer description JSON Parser/Constructor for Lua long_description JSON Parser/Constructor for Lua homepage https://github.com/harningt/luajson supported_archs noarch checksums rmd160 b8567ce0cc93bc58651e1bd23a26f4419e729dc7 \ sha256 4e382e137d629eace24febb7e2871df777ab32f020a5fbc7303e9c5de954d67d depends_build port:pkgconfig depends_lib port:lua port:lua-lpeg use_configure no build {} variant universal {} destroot { set lua_lmod [exec ${prefix}/bin/pkg-config lua --variable INSTALL_LMOD] set lua_docdir ${prefix}/share/doc/${name} xinstall -m 755 -d \ ${destroot}${lua_lmod} \ ${destroot}${lua_docdir} \ ${destroot}${lua_lmod}/json \ ${destroot}${lua_lmod}/json/decode \ ${destroot}${lua_lmod}/json/encode eval xinstall -m 644 [glob ${worksrcpath}/lua/*.lua] ${destroot}${lua_lmod} eval xinstall -m 644 [glob ${worksrcpath}/lua/json/*.lua] ${destroot}${lua_lmod}/json eval xinstall -m 644 [glob ${worksrcpath}/lua/json/encode/*.lua] ${destroot}${lua_lmod}/json/encode eval xinstall -m 644 [glob ${worksrcpath}/lua/json/decode/*.lua] ${destroot}${lua_lmod}/json/decode }