aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2012-02-09 04:09:29 +0800
committerpgollucci <pgollucci@FreeBSD.org>2012-02-09 04:09:29 +0800
commit8294870bbb5a9db92c6bad3cd66c2d3c9d5b18c7 (patch)
tree2b8b09654d7eaefba6f12a328eeb97165966fa7a /devel
parentbda7052438da7f0fdca169158a7874fc9a30f282 (diff)
downloadfreebsd-ports-gnome-8294870bbb5a9db92c6bad3cd66c2d3c9d5b18c7.tar.gz
freebsd-ports-gnome-8294870bbb5a9db92c6bad3cd66c2d3c9d5b18c7.tar.zst
freebsd-ports-gnome-8294870bbb5a9db92c6bad3cd66c2d3c9d5b18c7.zip
- Update to 0.5.1
PR: ports/161002 Submitted by: h h <aakuusta@gmail.com> Approved by: maintainer timeout (philip ; 136 days)
Diffstat (limited to 'devel')
-rw-r--r--devel/lua-alien/Makefile20
-rw-r--r--devel/lua-alien/distinfo4
-rw-r--r--devel/lua-alien/pkg-descr2
3 files changed, 19 insertions, 7 deletions
diff --git a/devel/lua-alien/Makefile b/devel/lua-alien/Makefile
index 436969794beb..232e8a16b1a8 100644
--- a/devel/lua-alien/Makefile
+++ b/devel/lua-alien/Makefile
@@ -6,10 +6,12 @@
#
PORTNAME= alien
-PORTVERSION= 0.5.0
+PORTVERSION= 0.5.1
CATEGORIES= devel
-MASTER_SITES= http://alien.luaforge.net/
+MASTER_SITES= http://nodeload.github.com/mascarenhas/alien/tarball/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
+DISTFILES= ${DISTVERSION}
+DIST_SUBDIR= lua-${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Lua -> C FFI
@@ -17,14 +19,24 @@ COMMENT= Lua -> C FFI
LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi
LICENSE= MIT
+
+LICENSE= MIT
USE_LUA= 5.1
-CFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR} \
- -DBSD -fPIC #-fno-stack-protector
+WRKSRC= ${WRKDIR}/${GITHUB_USER}-${PORTNAME}-${GITHUB_SRC_SUFX}
+CFLAGS+= -I${LOCALBASE}/include -I${LUA_INCDIR} -DBSD -fPIC #-fno-stack-protector
LDFLAGS+= -L${LOCALBASE}/lib -L${LUA_LIBDIR} -llua -shared
MAKE_ENV+= LIB_OPTION="${LDFLAGS}" LIB_EXT=".so" LUA="${LUA_CMD}"
TESTS_EXCLUDE= tests/alien tests/alien.lua
+GITHUB_USER= mascarenhas
+GITHUB_SRC_SUFX=e667d5d
+
+.if ${CFLAGS:M-fstack-prot*}
+MAKE_ENV+= __MAKE_CONF= # inherit CFLAGS only once
+CFLAGS+= -fno-stack-protector
+.endif
+
# add lua prefix to directories
.for p in data: docs:doc/ examples:examples/
${p:C/:.*//:U}DIR_REL= share/${p:C/.*://}${LUA_PKGNAMEPREFIX}${PORTNAME}
diff --git a/devel/lua-alien/distinfo b/devel/lua-alien/distinfo
index d05eacd131c0..d2b6e98b28f0 100644
--- a/devel/lua-alien/distinfo
+++ b/devel/lua-alien/distinfo
@@ -1,2 +1,2 @@
-SHA256 (alien-0.5.0.tar.gz) = a8ab957f1ced1242f4264a3d8b6ef4617a045900ea60b9e57a6abb0a6bd043c3
-SIZE (alien-0.5.0.tar.gz) = 766042
+SHA256 (lua-alien/0.5.1) = 5dadc6067f2495da2b78d0ba1fb27d8e33117c138dc76ae4cb500c9b9cd1a26b
+SIZE (lua-alien/0.5.1) = 775968
diff --git a/devel/lua-alien/pkg-descr b/devel/lua-alien/pkg-descr
index 0418ab90cab4..9cbefff924a6 100644
--- a/devel/lua-alien/pkg-descr
+++ b/devel/lua-alien/pkg-descr
@@ -1,4 +1,4 @@
Alien lets a Lua application call load dynamic libraries and call C
functions in a portable way, using libffi.
-WWW: http://alien.luaforge.net/
+WWW: http://mascarenhas.github.com/alien