Date: Sat, 22 Dec 2012 13:40:51 +0000 (UTC) From: Matthias Andree <mandree@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309392 - in head/devel: . lua-lgi lua-lgi/files Message-ID: <201212221340.qBMDepQs086480@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mandree Date: Sat Dec 22 13:40:50 2012 New Revision: 309392 URL: http://svnweb.freebsd.org/changeset/ports/309392 Log: Add new port devel/lua-lgi. LGI is a gobject-introspection based dynamic Lua binding to GObject-based libraries. It allows using GObject-based libraries directly from Lua. WWW: https://github.com/pavouk/lgi PR: ports/174597 Submitted by: Maxim Andreev <andreevmaxim@gmail.com> Added: head/devel/lua-lgi/ head/devel/lua-lgi/Makefile (contents, props changed) head/devel/lua-lgi/distinfo (contents, props changed) head/devel/lua-lgi/files/ head/devel/lua-lgi/files/patch-lgi_Makefile (contents, props changed) head/devel/lua-lgi/pkg-descr (contents, props changed) head/devel/lua-lgi/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Sat Dec 22 13:39:41 2012 (r309391) +++ head/devel/Makefile Sat Dec 22 13:40:50 2012 (r309392) @@ -1141,6 +1141,7 @@ SUBDIR += lua-cjson SUBDIR += lua-filename SUBDIR += lua-gettext + SUBDIR += lua-lgi SUBDIR += lua-posix SUBDIR += lua-pty SUBDIR += lua-rds-parser Added: head/devel/lua-lgi/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lgi/Makefile Sat Dec 22 13:40:50 2012 (r309392) @@ -0,0 +1,24 @@ +# $FreeBSD$ + +PORTNAME= lgi +PORTVERSION= 0.6.2 +CATEGORIES= devel +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} + +MAINTAINER= andreevmaxim@gmail.com +COMMENT= Lua bindings to libraries using GObject-Introspection + +BUILD_DEPENDS= g-ir-scanner:${PORTSDIR}/devel/gobject-introspection +RUN_DEPENDS:= ${BUILD_DEPENDS} + +WRKSRC= ${WRKDIR}/pavouk-lgi-a4ad06c + +USE_GITHUB= yes +GH_ACCOUNT= pavouk + +USE_LUA= 5.1+ +USE_GMAKE= yes + +CPPFLAGS+= -I${LOCALBASE}/include/${LUA_SUBDIR} + +.include <bsd.port.mk> Added: head/devel/lua-lgi/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lgi/distinfo Sat Dec 22 13:40:50 2012 (r309392) @@ -0,0 +1,2 @@ +SHA256 (lgi-0.6.2.tar.gz) = 662008e969f3ac8d28b2551549760969d86c86e140e841505a584af88c733909 +SIZE (lgi-0.6.2.tar.gz) = 253076 Added: head/devel/lua-lgi/files/patch-lgi_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lgi/files/patch-lgi_Makefile Sat Dec 22 13:40:50 2012 (r309392) @@ -0,0 +1,16 @@ +--- lgi/Makefile.orig 2012-12-15 21:18:35.000000000 +0400 ++++ lgi/Makefile 2012-12-15 21:20:31.000000000 +0400 +@@ -6,8 +6,11 @@ + # + + PREFIX = /usr/local +-LUA_LIBDIR = $(PREFIX)/lib/lua/5.1 +-LUA_SHAREDIR = $(PREFIX)/share/lua/5.1 ++LUA_LIBDIR ?= $(PREFIX)/lib/lua/5.1 ++LUA_SHAREDIR ?= $(PREFIX)/share/lua/5.1 ++LUA_CFLAGS ?= -I$(LUA_INCDIR) ++LUA_LIBDIR ?= $(LUA_MODLIBDIR) ++LUA_SHAREDIR ?= $(LUA_MODSHAREDIR) + + GINAME = gobject-introspection-1.0 + PKGS = $(GINAME) gmodule-2.0 libffi Added: head/devel/lua-lgi/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lgi/pkg-descr Sat Dec 22 13:40:50 2012 (r309392) @@ -0,0 +1,4 @@ +LGI is a gobject-introspection based dynamic Lua binding to GObject-based +libraries. It allows using GObject-based libraries directly from Lua. + +WWW: https://github.com/pavouk/lgi Added: head/devel/lua-lgi/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/lua-lgi/pkg-plist Sat Dec 22 13:40:50 2012 (r309392) @@ -0,0 +1,29 @@ +lib/lua51/lgi/corelgilua51.so +share/lua/5.1/lgi.lua +share/lua/5.1/lgi/class.lua +share/lua/5.1/lgi/component.lua +share/lua/5.1/lgi/core.lua +share/lua/5.1/lgi/enum.lua +share/lua/5.1/lgi/ffi.lua +share/lua/5.1/lgi/init.lua +share/lua/5.1/lgi/log.lua +share/lua/5.1/lgi/namespace.lua +share/lua/5.1/lgi/override/Clutter.lua +share/lua/5.1/lgi/override/GLib-Variant.lua +share/lua/5.1/lgi/override/GLib.lua +share/lua/5.1/lgi/override/GObject-Closure.lua +share/lua/5.1/lgi/override/GObject-Object.lua +share/lua/5.1/lgi/override/GObject-Type.lua +share/lua/5.1/lgi/override/GObject-Value.lua +share/lua/5.1/lgi/override/Gdk.lua +share/lua/5.1/lgi/override/Gio.lua +share/lua/5.1/lgi/override/Gst.lua +share/lua/5.1/lgi/override/Gtk.lua +share/lua/5.1/lgi/override/Pango.lua +share/lua/5.1/lgi/override/PangoCairo.lua +share/lua/5.1/lgi/override/cairo.lua +share/lua/5.1/lgi/record.lua +share/lua/5.1/lgi/version.lua +@dirrm share/lua/5.1/lgi/override +@dirrm share/lua/5.1/lgi +@dirrm lib/lua51/lgi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212221340.qBMDepQs086480>