1 | # $Id$ |
---|
2 | PortSystem 1.0 |
---|
3 | PortGroup github 1.0 |
---|
4 | |
---|
5 | github.setup pavouk lgi 0.7.1 |
---|
6 | name lua-lgi |
---|
7 | |
---|
8 | maintainers nomaintainer |
---|
9 | description Dynamic Lua binding to GObject libraries using \ |
---|
10 | GObject-Introspection |
---|
11 | long_description LGI is gobject-introspection based dynamic Lua binding to \ |
---|
12 | GObject based libraries. It allows using GObject-based \ |
---|
13 | libraries directly from Lua. |
---|
14 | |
---|
15 | categories devel |
---|
16 | platforms darwin |
---|
17 | |
---|
18 | checksums rmd160 af49608d6af76c468fef0ab67f2a065ed8730152 \ |
---|
19 | sha256 31f273e056959cea5a4e929b0e81b21e89c852d8a0e874bc6f78017c93d3a5a0 |
---|
20 | |
---|
21 | depends_lib port:lua \ |
---|
22 | port:gobject-introspection |
---|
23 | use_configure no |
---|
24 | patchfiles patch-dylib-path.diff |
---|
25 | post-patch { |
---|
26 | reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/lgi/core.c |
---|
27 | } |
---|
28 | |
---|
29 | destroot.post_args PREFIX=${destroot}${prefix} LUA_VERSION=5.2 |
---|