View | Details | Raw Unified | Return to bug 200298
Collapse All | Expand All

(-)devel/lua-lgi/Makefile (-6 / +11 lines)
Lines 1-27 Link Here
1
# $FreeBSD: head/devel/lua-lgi/Makefile 385521 2015-05-06 15:16:53Z mat $
1
# $FreeBSD: head/devel/lua-lgi/Makefile 385521 2015-05-06 15:16:53Z mat $
2
2
3
PORTNAME=	lgi
3
PORTNAME=	lgi
4
PORTVERSION=	0.7.2
4
PORTVERSION=	0.9.0
5
PORTREVISION=	1
6
CATEGORIES=	devel
5
CATEGORIES=	devel
6
MASTER_SITES=	GH
7
PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
7
PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
8
8
9
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
10
COMMENT=	Lua bindings to libraries using GObject-Introspection
10
COMMENT=	Lua bindings to libraries using GObject-Introspection
11
11
12
LICENSE=	MIT
13
12
USE_GITHUB=	yes
14
USE_GITHUB=	yes
13
GH_ACCOUNT=	pavouk
15
GH_ACCOUNT=	pavouk
14
16
15
USES=		gmake lua pkgconfig
17
USES=		gmake lua pkgconfig
16
USE_GNOME=	introspection:build,run
18
USE_GNOME=	introspection:build,run
17
MAKE_ARGS+=	PREFIX=${PREFIX} LUA_LIBDIR=${LUA_MODLIBDIR} \
19
MAKE_ENV=	LUA_CFLAGS="-I${LUA_INCDIR}"
18
		LUA_INCDIR=${LUA_INCDIR} LUA_VERSION=${LUA_VER} \
20
MAKE_ARGS=	PREFIX="${PREFIX}" LUA_LIBDIR="${LUA_MODLIBDIR}" \
19
		CORE=corelgilua${LUA_VER_STR}.so
21
		LUA_INCDIR="${LUA_INCDIR}" LUA_VERSION="${LUA_VER}" \
20
MAKE_ENV+=	LUA_CFLAGS=-I${LUA_INCDIR}
22
		CORE="corelgilua${LUA_VER_STR}.so"
21
23
22
post-patch:
24
post-patch:
23
	@${REINPLACE_CMD} -e 's/51/${LUA_VER_STR}/g' \
25
	@${REINPLACE_CMD} -e 's/51/${LUA_VER_STR}/g' \
24
		${WRKSRC}/lgi/core.c \
26
		${WRKSRC}/lgi/core.c \
25
		${WRKSRC}/lgi/core.lua
27
		${WRKSRC}/lgi/core.lua
26
28
29
post-install:
30
	@${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/lgi/*.so
31
27
.include <bsd.port.mk>
32
.include <bsd.port.mk>
(-)devel/lua-lgi/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pavouk-lgi-0.7.2_GH0.tar.gz) = 76a590f36fe1389d69d116e15ceb6983eab346a16702e8f41604ac73de3b1446
1
SHA256 (pavouk-lgi-0.9.0_GH0.tar.gz) = 87c7870f8a1c60b48c4d5587b7fab46863e1cb9e76a68520f47e9ef2764cfe24
2
SIZE (pavouk-lgi-0.7.2_GH0.tar.gz) = 270767
2
SIZE (pavouk-lgi-0.9.0_GH0.tar.gz) = 285248
(-)devel/lua-lgi/pkg-descr (-2 / +3 lines)
Lines 1-4 Link Here
1
LGI is a gobject-introspection based dynamic Lua binding to GObject-based
1
LGI is a gobject-introspection based dynamic Lua binding to
2
libraries. It allows using GObject-based libraries directly from Lua.
2
GObject-based libraries. It allows using GObject-based libraries
3
directly from Lua.
3
4
4
WWW: https://github.com/pavouk/lgi
5
WWW: https://github.com/pavouk/lgi
(-)devel/lua-lgi/pkg-plist (+4 lines)
Lines 9-14 Link Here
9
%%LUA_MODSHAREDIR%%/lgi/log.lua
9
%%LUA_MODSHAREDIR%%/lgi/log.lua
10
%%LUA_MODSHAREDIR%%/lgi/namespace.lua
10
%%LUA_MODSHAREDIR%%/lgi/namespace.lua
11
%%LUA_MODSHAREDIR%%/lgi/override/Clutter.lua
11
%%LUA_MODSHAREDIR%%/lgi/override/Clutter.lua
12
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Bytes.lua
13
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Error.lua
14
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Markup.lua
12
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Timer.lua
15
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Timer.lua
13
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Variant.lua
16
%%LUA_MODSHAREDIR%%/lgi/override/GLib-Variant.lua
14
%%LUA_MODSHAREDIR%%/lgi/override/GLib.lua
17
%%LUA_MODSHAREDIR%%/lgi/override/GLib.lua
Lines 17-22 Link Here
17
%%LUA_MODSHAREDIR%%/lgi/override/GObject-Type.lua
20
%%LUA_MODSHAREDIR%%/lgi/override/GObject-Type.lua
18
%%LUA_MODSHAREDIR%%/lgi/override/GObject-Value.lua
21
%%LUA_MODSHAREDIR%%/lgi/override/GObject-Value.lua
19
%%LUA_MODSHAREDIR%%/lgi/override/Gdk.lua
22
%%LUA_MODSHAREDIR%%/lgi/override/Gdk.lua
23
%%LUA_MODSHAREDIR%%/lgi/override/Gio-DBus.lua
20
%%LUA_MODSHAREDIR%%/lgi/override/Gio.lua
24
%%LUA_MODSHAREDIR%%/lgi/override/Gio.lua
21
%%LUA_MODSHAREDIR%%/lgi/override/Gst.lua
25
%%LUA_MODSHAREDIR%%/lgi/override/Gst.lua
22
%%LUA_MODSHAREDIR%%/lgi/override/Gtk.lua
26
%%LUA_MODSHAREDIR%%/lgi/override/Gtk.lua

Return to bug 200298