Ticket #39496: Portfile

File Portfile, 928 bytes (added by jwatzman@…, 11 years ago)
Line 
1# $Id$
2PortSystem       1.0
3PortGroup        github 1.0
4
5github.setup     pavouk lgi 0.7.1
6name             lua-lgi
7
8maintainers      nomaintainer
9description      Dynamic Lua binding to GObject libraries using \
10                 GObject-Introspection
11long_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
15categories       devel
16platforms        darwin
17
18checksums        rmd160 af49608d6af76c468fef0ab67f2a065ed8730152 \
19                 sha256 31f273e056959cea5a4e929b0e81b21e89c852d8a0e874bc6f78017c93d3a5a0
20
21depends_lib      port:lua \
22                 port:gobject-introspection
23use_configure    no
24patchfiles       patch-dylib-path.diff
25post-patch {
26  reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/lgi/core.c
27}
28
29destroot.post_args PREFIX=${destroot}${prefix} LUA_VERSION=5.2