aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormandree <mandree@FreeBSD.org>2013-03-27 06:16:03 +0800
committermandree <mandree@FreeBSD.org>2013-03-27 06:16:03 +0800
commitc630329d6e02f383e53023d059ca68c10a8a1fe1 (patch)
tree299bbbd51c9177bee5ae0b9a823c3aa001a526df /devel
parentc72847abcfc4a3de508712f738f4cdaa0e4b1f79 (diff)
downloadfreebsd-ports-gnome-c630329d6e02f383e53023d059ca68c10a8a1fe1.tar.gz
freebsd-ports-gnome-c630329d6e02f383e53023d059ca68c10a8a1fe1.tar.zst
freebsd-ports-gnome-c630329d6e02f383e53023d059ca68c10a8a1fe1.zip
* Update devel/lua-lgi to version 0.7.1
* Install corelgilua51.so to proper directory (otherwise x11-wm/awesome cannot load it) Note that due to the commit r315210 (ports/176834), major merging of the two PRs' patches were necessary. PR: ports/176896 Submitted by: Herbert J. Skuhra <h.skuhra@gmail.com> Approved by: maintainer timeout (andreevmaxim@gmail.com, 14 days)
Diffstat (limited to 'devel')
-rw-r--r--devel/lua-lgi/Makefile6
-rw-r--r--devel/lua-lgi/distinfo4
-rw-r--r--devel/lua-lgi/files/patch-lgi_Makefile18
-rw-r--r--devel/lua-lgi/pkg-plist2
4 files changed, 18 insertions, 12 deletions
diff --git a/devel/lua-lgi/Makefile b/devel/lua-lgi/Makefile
index b8889d36201a..264b506653fc 100644
--- a/devel/lua-lgi/Makefile
+++ b/devel/lua-lgi/Makefile
@@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= lgi
-PORTVERSION= 0.6.2
-PORTREVISION= 1
+PORTVERSION= 0.7.1
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
@@ -12,10 +11,9 @@ 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
+GH_COMMIT= 1bbf1bc
USE_LUA= 5.1+
USE_GMAKE= yes
diff --git a/devel/lua-lgi/distinfo b/devel/lua-lgi/distinfo
index 9a458962055c..8bb208b81130 100644
--- a/devel/lua-lgi/distinfo
+++ b/devel/lua-lgi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (lgi-0.6.2.tar.gz) = 662008e969f3ac8d28b2551549760969d86c86e140e841505a584af88c733909
-SIZE (lgi-0.6.2.tar.gz) = 253076
+SHA256 (lgi-0.7.1.tar.gz) = 31f273e056959cea5a4e929b0e81b21e89c852d8a0e874bc6f78017c93d3a5a0
+SIZE (lgi-0.7.1.tar.gz) = 268357
diff --git a/devel/lua-lgi/files/patch-lgi_Makefile b/devel/lua-lgi/files/patch-lgi_Makefile
index 68947ac714ed..0ed85647047e 100644
--- a/devel/lua-lgi/files/patch-lgi_Makefile
+++ b/devel/lua-lgi/files/patch-lgi_Makefile
@@ -1,17 +1,23 @@
---- lgi/Makefile.orig 2013-03-11 08:48:54.000000000 -0300
-+++ lgi/Makefile 2013-03-11 08:50:03.000000000 -0300
-@@ -5,9 +5,7 @@
+--- ./lgi/Makefile.orig 2013-03-04 22:10:19.000000000 +0100
++++ ./lgi/Makefile 2013-03-26 23:07:31.000000000 +0100
+@@ -5,10 +5,13 @@
# License: MIT
#
-PREFIX = /usr/local
--LUA_LIBDIR = $(PREFIX)/lib/lua/5.1
--LUA_SHAREDIR = $(PREFIX)/share/lua/5.1
+PREFIX ?= /usr/local
+ LUA_VERSION=5.1
+-LUA_LIBDIR = $(PREFIX)/lib/lua/$(LUA_VERSION)
+-LUA_SHAREDIR = $(PREFIX)/share/lua/$(LUA_VERSION)
++LUA_LIBDIR ?= $(PREFIX)/lib/lua/$(LUA_VERSION)
++LUA_SHAREDIR ?= $(PREFIX)/share/lua/$(LUA_VERSION)
++LUA_CFLAGS ?= -I$(LUA_INCDIR) $(CPPFLAGS)
++LUA_LIBDIR ?= $(LUA_MODLIBDIR)
++LUA_SHAREDIR ?= $(LUA_MODSHAREDIR)
GINAME = gobject-introspection-1.0
PKGS = $(GINAME) gmodule-2.0 libffi
-@@ -60,11 +58,11 @@
+@@ -74,11 +77,11 @@
CORESOURCES = $(wildcard *.lua)
install : $(CORE) $(VERSION_FILE)
diff --git a/devel/lua-lgi/pkg-plist b/devel/lua-lgi/pkg-plist
index 6a2f127d2233..69225a237e15 100644
--- a/devel/lua-lgi/pkg-plist
+++ b/devel/lua-lgi/pkg-plist
@@ -9,6 +9,7 @@
%%LUA_MODSHAREDIR%%/lgi/log.lua
%%LUA_MODSHAREDIR%%/lgi/namespace.lua
%%LUA_MODSHAREDIR%%/lgi/override/Clutter.lua
+%%LUA_MODSHAREDIR%%/lgi/override/GLib-Timer.lua
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Variant.lua
%%LUA_MODSHAREDIR%%/lgi/override/GLib.lua
%%LUA_MODSHAREDIR%%/lgi/override/GObject-Closure.lua
@@ -22,6 +23,7 @@
%%LUA_MODSHAREDIR%%/lgi/override/Pango.lua
%%LUA_MODSHAREDIR%%/lgi/override/PangoCairo.lua
%%LUA_MODSHAREDIR%%/lgi/override/cairo.lua
+%%LUA_MODSHAREDIR%%/lgi/package.lua
%%LUA_MODSHAREDIR%%/lgi/record.lua
%%LUA_MODSHAREDIR%%/lgi/version.lua
@dirrm %%LUA_MODSHAREDIR%%/lgi/override