source: trunk/dports/devel/lua-MessagePack/Portfile

Last change on this file was 154233, checked in by raimue@…, 14 months ago

lua-MessagePack: update to version 0.3.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# -*- 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
2# $Id: Portfile 154233 2016-10-24 22:11:15Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup github 1.0
6
7github.setup        fperrad lua-MessagePack 0.3.5
8categories          devel lua
9platforms           darwin
10maintainers         raimue \
11                    openmaintainer
12license             MIT
13
14description         MessagePack for Lua
15long_description    A Lua implementation of MessagePack, a binary-based efficient data interchange format.
16
17checksums           rmd160  9cd33db57194370014b4d0f50e80e5ecb9d80dbe \
18                    sha256  dde22fa722ca10e550e1552aace6fc7e4f60c92c0697be4d76e7a9052f33e2b0
19
20depends_build       port:pkgconfig
21depends_lib         port:lua
22
23use_configure       no
24
25destroot {
26    set luaver 5.3
27    xinstall -m 755 -d ${destroot}${prefix}/share/lua/${luaver}
28    xinstall -m 644 ${worksrcpath}/src${luaver}/MessagePack.lua ${destroot}${prefix}/share/lua/${luaver}/
29
30    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
31    xinstall -m 644 ${worksrcpath}/README.md ${worksrcpath}/COPYRIGHT ${destroot}${prefix}/share/doc/${name}/
32}
Note: See TracBrowser for help on using the repository browser.