svn commit: r464025 - head/devel/lua-posix

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Mar 9 21:49:43 UTC 2018


Author: sunpoet
Date: Fri Mar  9 21:49:42 2018
New Revision: 464025
URL: https://svnweb.freebsd.org/changeset/ports/464025

Log:
  Fix DISTVERSIONPREFIX
  
  - Update COMMENT
  - Remove WKRSRC from SHEBANG_FILES
  - Do not silence installation messages
  - Update pkg-descr
  - Update WWW
  - Take maintainership

Modified:
  head/devel/lua-posix/Makefile
  head/devel/lua-posix/distinfo
  head/devel/lua-posix/pkg-descr

Modified: head/devel/lua-posix/Makefile
==============================================================================
--- head/devel/lua-posix/Makefile	Fri Mar  9 21:49:36 2018	(r464024)
+++ head/devel/lua-posix/Makefile	Fri Mar  9 21:49:42 2018	(r464025)
@@ -2,30 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	posix
-DISTVERSIONPREFIX=	release-v
-DISTVERSION=	34.0.4
+PORTVERSION=	34.0.4
+DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	POSIX layer for Lua
+MAINTAINER=	sunpoet at FreeBSD.org
+COMMENT=	Lua bindings for POSIX APIs
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		lua shebangfix
-SHEBANG_FILES=	${WRKSRC}/build-aux/luke
+SHEBANG_FILES=	build-aux/luke
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	luaposix
 GH_PROJECT=	luaposix
 
 do-build:
-	@cd ${WRKSRC} && build-aux/luke \
-		version="${PORTVERSION}" \
-		PREFIX="${PREFIX}" \
-		LUA="${LOCALBASE}/bin/lua${LUA_VER_STR}" \
+	@cd ${WRKSRC} && build-aux/luke all \
+		CFLAGS="${CFLAGS}" \
+		LUA="${LOCALBASE}/bin/${LUA_CMD}" \
 		LUA_INCDIR="${LUA_INCDIR}" \
-		CFLAGS="${CFLAGS}"
+		PREFIX="${PREFIX}" \
+		version="${PORTVERSION}"
 
 do-install:
 	cd ${WRKSRC} && build-aux/luke install \
@@ -33,6 +34,6 @@ do-install:
 		INST_LUADIR="${STAGEDIR}${LUA_MODSHAREDIR}"
 
 post-install:
-	@${FIND} ${STAGEDIR}${LUA_MODLIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD}
+	${FIND} ${STAGEDIR}${LUA_MODLIBDIR} -name '*.so' -exec ${STRIP_CMD} {} +
 
 .include <bsd.port.mk>

Modified: head/devel/lua-posix/distinfo
==============================================================================
--- head/devel/lua-posix/distinfo	Fri Mar  9 21:49:36 2018	(r464024)
+++ head/devel/lua-posix/distinfo	Fri Mar  9 21:49:42 2018	(r464025)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1520540525
-SHA256 (luaposix-luaposix-release-v34.0.4_GH0.tar.gz) = d0110e465fdaeedd6662e9fdd40ae88131f7380bd7e1335adac70c24bb70f718
-SIZE (luaposix-luaposix-release-v34.0.4_GH0.tar.gz) = 175204
+TIMESTAMP = 1520532327
+SHA256 (luaposix-luaposix-v34.0.4_GH0.tar.gz) = eb6e7322da3013bdb3d524f68df4f5510a2efd805c06bf7cc27be6611eab7483
+SIZE (luaposix-luaposix-v34.0.4_GH0.tar.gz) = 175194

Modified: head/devel/lua-posix/pkg-descr
==============================================================================
--- head/devel/lua-posix/pkg-descr	Fri Mar  9 21:49:36 2018	(r464024)
+++ head/devel/lua-posix/pkg-descr	Fri Mar  9 21:49:42 2018	(r464025)
@@ -1,3 +1,9 @@
-LuaPosix is a Lua extension library that provides support for POSIX.
+This is a POSIX binding for LuaJIT, Lua 5.1, 5.2 and 5.3; like most libraries it
+simply binds to C APIs on the underlying system, so it won't work on non-POSIX
+systems. However, it does try to detect the level of POSIX conformance of the
+underlying system and bind only available APIs.
 
-WWW: http://luaposix.github.io/luaposix
+For a while, luaposix contained support for curses functionality too, but now it
+has its own lcurses repository again, where it is being maintained separately.
+
+WWW: https://github.com/luaposix/luaposix


More information about the svn-ports-head mailing list