diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-21 03:11:35 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-05-21 03:11:35 +0800 |
commit | 82c0fb3732d565f458cbc1a6dff15eb6867431cb (patch) | |
tree | ff4ed3c07ffe2ddc2715ce2a98891150b0975492 /devel/lua-lgi/Makefile | |
parent | 410c193a432421feb1df1ad330c9600d8899e3cb (diff) | |
download | freebsd-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/lua-lgi/Makefile')
-rw-r--r-- | devel/lua-lgi/Makefile | 17 |
1 files changed, 11 insertions, 6 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> |