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

Last change on this file was 140602, checked in by ryandesign@…, 22 months ago

lua-lgi: update to 0.9.0 (#48930)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 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 140602 2015-09-27 02:30:57Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           gobject_introspection 1.0
7
8github.setup        pavouk lgi 0.9.0
9name                lua-lgi
10
11maintainers         nomaintainer
12categories          devel
13platforms           darwin
14license             MIT
15
16description         Dynamic Lua binding to GObject libraries using \
17                    GObject-Introspection
18long_description    LGI is gobject-introspection based dynamic Lua binding to \
19                    GObject based libraries. It allows using GObject-based \
20                    libraries directly from Lua.
21
22checksums           rmd160  44f9157cc16bcad65233e62f9896c337336e5696 \
23                    sha256  68927380f6ed5b7d00284d9b9dc269704ee5d11c40ec76b6bd6056eb595c1578
24
25depends_build-append \
26                    port:pkgconfig
27
28depends_lib-append  port:lua
29
30patchfiles          patch-dylib-path.diff
31
32post-patch {
33    reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/lgi/core.c
34}
35
36gobject_introspection yes
37
38use_configure       no
39
40destroot.post_args PREFIX=${destroot}${prefix} LUA_VERSION=5.3
Note: See TracBrowser for help on using the repository browser.