aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-05-21 03:11:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-05-21 03:11:35 +0800
commit82c0fb3732d565f458cbc1a6dff15eb6867431cb (patch)
treeff4ed3c07ffe2ddc2715ce2a98891150b0975492 /devel
parent410c193a432421feb1df1ad330c9600d8899e3cb (diff)
downloadfreebsd-ports-gnome-82c0fb3732d565f458cbc1a6dff15eb6867431cb.tar.gz
freebsd-ports-gnome-82c0fb3732d565f458cbc1a6dff15eb6867431cb.tar.zst
freebsd-ports-gnome-82c0fb3732d565f458cbc1a6dff15eb6867431cb.zip
- Update to 0.9.0
PR: 200298 Submitted by: tkato432@yahoo.com
Diffstat (limited to 'devel')
-rw-r--r--devel/lua-lgi/Makefile17
-rw-r--r--devel/lua-lgi/distinfo4
-rw-r--r--devel/lua-lgi/pkg-descr5
-rw-r--r--devel/lua-lgi/pkg-plist4
4 files changed, 20 insertions, 10 deletions
diff --git a/devel/lua-lgi/Makefile b/devel/lua-lgi/Makefile
index 3f48531a9c47..edcb01f08965 100644
--- a/devel/lua-lgi/Makefile
+++ b/devel/lua-lgi/Makefile
@@ -1,27 +1,32 @@
# $FreeBSD$
PORTNAME= lgi
-PORTVERSION= 0.7.2
-PORTREVISION= 1
+PORTVERSION= 0.9.0
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Lua bindings to libraries using GObject-Introspection
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
USE_GITHUB= yes
GH_ACCOUNT= pavouk
USES= gmake lua pkgconfig
USE_GNOME= introspection:build,run
-MAKE_ARGS+= PREFIX=${PREFIX} LUA_LIBDIR=${LUA_MODLIBDIR} \
- LUA_INCDIR=${LUA_INCDIR} LUA_VERSION=${LUA_VER} \
- CORE=corelgilua${LUA_VER_STR}.so
-MAKE_ENV+= LUA_CFLAGS=-I${LUA_INCDIR}
+MAKE_ENV= LUA_CFLAGS="-I${LUA_INCDIR}"
+MAKE_ARGS= PREFIX="${PREFIX}" LUA_LIBDIR="${LUA_MODLIBDIR}" \
+ LUA_INCDIR="${LUA_INCDIR}" LUA_VERSION="${LUA_VER}" \
+ CORE="corelgilua${LUA_VER_STR}.so"
post-patch:
@${REINPLACE_CMD} -e 's/51/${LUA_VER_STR}/g' \
${WRKSRC}/lgi/core.c \
${WRKSRC}/lgi/core.lua
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/lgi/*.so
+
.include <bsd.port.mk>
diff --git a/devel/lua-lgi/distinfo b/devel/lua-lgi/distinfo
index c7b106d31496..4dd15c4e99cb 100644
--- a/devel/lua-lgi/distinfo
+++ b/devel/lua-lgi/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pavouk-lgi-0.7.2_GH0.tar.gz) = 76a590f36fe1389d69d116e15ceb6983eab346a16702e8f41604ac73de3b1446
-SIZE (pavouk-lgi-0.7.2_GH0.tar.gz) = 270767
+SHA256 (pavouk-lgi-0.9.0_GH0.tar.gz) = 87c7870f8a1c60b48c4d5587b7fab46863e1cb9e76a68520f47e9ef2764cfe24
+SIZE (pavouk-lgi-0.9.0_GH0.tar.gz) = 285248
diff --git a/devel/lua-lgi/pkg-descr b/devel/lua-lgi/pkg-descr
index 3b7bc032366d..01bbc7fc1b9c 100644
--- a/devel/lua-lgi/pkg-descr
+++ b/devel/lua-lgi/pkg-descr
@@ -1,4 +1,5 @@
-LGI is a gobject-introspection based dynamic Lua binding to GObject-based
-libraries. It allows using GObject-based libraries directly from Lua.
+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
diff --git a/devel/lua-lgi/pkg-plist b/devel/lua-lgi/pkg-plist
index 3b61b4b513bd..5e22dd17fda0 100644
--- a/devel/lua-lgi/pkg-plist
+++ b/devel/lua-lgi/pkg-plist
@@ -9,6 +9,9 @@
%%LUA_MODSHAREDIR%%/lgi/log.lua
%%LUA_MODSHAREDIR%%/lgi/namespace.lua
%%LUA_MODSHAREDIR%%/lgi/override/Clutter.lua
+%%LUA_MODSHAREDIR%%/lgi/override/GLib-Bytes.lua
+%%LUA_MODSHAREDIR%%/lgi/override/GLib-Error.lua
+%%LUA_MODSHAREDIR%%/lgi/override/GLib-Markup.lua
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Timer.lua
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Variant.lua
%%LUA_MODSHAREDIR%%/lgi/override/GLib.lua
@@ -17,6 +20,7 @@
%%LUA_MODSHAREDIR%%/lgi/override/GObject-Type.lua
%%LUA_MODSHAREDIR%%/lgi/override/GObject-Value.lua
%%LUA_MODSHAREDIR%%/lgi/override/Gdk.lua
+%%LUA_MODSHAREDIR%%/lgi/override/Gio-DBus.lua
%%LUA_MODSHAREDIR%%/lgi/override/Gio.lua
%%LUA_MODSHAREDIR%%/lgi/override/Gst.lua
%%LUA_MODSHAREDIR%%/lgi/override/Gtk.lua