Ticket #39496: Portfile.2

File Portfile.2, 949 bytes (added by jwatzman@…, 11 years ago)

Portfile, with license line

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
17license          MIT
18
19checksums        rmd160 af49608d6af76c468fef0ab67f2a065ed8730152 \
20                 sha256 31f273e056959cea5a4e929b0e81b21e89c852d8a0e874bc6f78017c93d3a5a0
21
22depends_lib      port:lua \
23                 port:gobject-introspection
24use_configure    no
25patchfiles       patch-dylib-path.diff
26post-patch {
27  reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/lgi/core.c
28}
29
30destroot.post_args PREFIX=${destroot}${prefix} LUA_VERSION=5.2