Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2017 06:18:31 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r451351 - in head/devel/lua-posix: . files
Message-ID:  <201710060618.v966IVbl092513@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Oct  6 06:18:31 2017
New Revision: 451351
URL: https://svnweb.freebsd.org/changeset/ports/451351

Log:
  Update to 34.0.1.

Added:
  head/devel/lua-posix/files/
  head/devel/lua-posix/files/patch-lukefile   (contents, props changed)
  head/devel/lua-posix/pkg-plist   (contents, props changed)
Modified:
  head/devel/lua-posix/Makefile
  head/devel/lua-posix/distinfo

Modified: head/devel/lua-posix/Makefile
==============================================================================
--- head/devel/lua-posix/Makefile	Fri Oct  6 06:17:28 2017	(r451350)
+++ head/devel/lua-posix/Makefile	Fri Oct  6 06:18:31 2017	(r451351)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	posix
-PORTVERSION=	33.4.0
+PORTVERSION=	34.0.1
 DISTVERSIONPREFIX=	release-v
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
@@ -12,34 +12,56 @@ COMMENT=	POSIX layer for Lua
 
 LICENSE=	MIT
 
-USES=		lua libtool perl5
-USE_PERL5=	build
-GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	LUA_INCLUDE="-I${LUA_INCDIR}" \
-		LUA="${LOCALBASE}/bin/lua${LUA_VER_STR}"
-MAKE_ARGS=	POSIX_EXTRA_CFLAGS="" POSIX_EXTRA_LDFLAGS=""
-INSTALL_TARGET=	install-strip
-PORTDOCS=	*
+USES=		lua shebangfix
+SHEBANG_FILES=	${WRKSRC}/build-aux/luke
 
 USE_GITHUB=	yes
 GH_PROJECT=	luaposix
 GH_ACCOUNT=	luaposix
 
-DOCSDIR=	${PREFIX}/share/doc/luaposix
+do-build:
+	cd ${WRKSRC}; ${WRKSRC}/build-aux/luke \
+		version="${PORTVERSION}" \
+		PREFIX="${PREFIX}" \
+		LUA="${LOCALBASE}/bin/lua${LUA_VER_STR}" \
+		LUA_INCDIR="${LUA_INCDIR}" \
+		CFLAGS="${CFLAGS}"
 
-PLIST_FILES=	%%LUA_MODLIBDIR%%/posix.so \
-		%%LUA_MODSHAREDIR%%/posix/_argcheck.lua \
-		%%LUA_MODSHAREDIR%%/posix/compat.lua \
-		%%LUA_MODSHAREDIR%%/posix/deprecated.lua \
-		%%LUA_MODSHAREDIR%%/posix/init.lua \
-		%%LUA_MODSHAREDIR%%/posix/sys.lua \
-		%%LUA_MODSHAREDIR%%/posix/util.lua
+do-install:
+	cd ${WRKSRC}; ${WRKSRC}/build-aux/luke install \
+		INST_LIBDIR="${STAGEDIR}${LUA_MODLIBDIR}" \
+		INST_LUADIR="${STAGEDIR}${LUA_MODSHAREDIR}"
 
-OPTIONS_DEFINE=	DOCS
-
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's/\(darwin\*\)|\(freebsd\*\)/\1|dragonfly*|\2/' \
-		${WRKSRC}/configure
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/ctype.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/dirent.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/errno.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/fcntl.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/fnmatch.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/glob.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/grp.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/libgen.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/poll.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/pwd.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/poll.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/pwd.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sched.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/signal.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/stdio.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/stdlib.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/msg.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/resource.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/socket.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/stat.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/statvfs.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/time.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/times.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/utsname.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/wait.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/syslog.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/termio.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/time.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/unistd.so
+	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/utime.so
 
 .include <bsd.port.mk>

Modified: head/devel/lua-posix/distinfo
==============================================================================
--- head/devel/lua-posix/distinfo	Fri Oct  6 06:17:28 2017	(r451350)
+++ head/devel/lua-posix/distinfo	Fri Oct  6 06:18:31 2017	(r451351)
@@ -1,2 +1,3 @@
-SHA256 (luaposix-luaposix-release-v33.4.0_GH0.tar.gz) = e66262f5b7fe1c32c65f17a5ef5ffb31c4d1877019b4870a5d373e2ab6526a21
-SIZE (luaposix-luaposix-release-v33.4.0_GH0.tar.gz) = 643523
+TIMESTAMP = 1500469025
+SHA256 (luaposix-luaposix-release-v34.0.1_GH0.tar.gz) = b4b2583426fdc8faa73e10ad24b8d6f950324f1278f98ed316083a9085b75d1b
+SIZE (luaposix-luaposix-release-v34.0.1_GH0.tar.gz) = 173885

Added: head/devel/lua-posix/files/patch-lukefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/lua-posix/files/patch-lukefile	Fri Oct  6 06:18:31 2017	(r451351)
@@ -0,0 +1,10 @@
+--- lukefile.orig	2017-07-15 22:20:52 UTC
++++ lukefile
+@@ -103,7 +103,6 @@ modules  = {
+             ifdef          = '_XOPEN_REALTIME',
+             include        = 'unistd.h',
+             checksymbol    = 'clock_gettime',
+-            library        = 'rt',
+          },
+       },
+       sources   = 'ext/posix/time.c',

Added: head/devel/lua-posix/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/lua-posix/pkg-plist	Fri Oct  6 06:18:31 2017	(r451351)
@@ -0,0 +1,35 @@
+%%LUA_MODLIBDIR%%/posix/ctype.so
+%%LUA_MODLIBDIR%%/posix/dirent.so
+%%LUA_MODLIBDIR%%/posix/errno.so
+%%LUA_MODLIBDIR%%/posix/fcntl.so
+%%LUA_MODLIBDIR%%/posix/fnmatch.so
+%%LUA_MODLIBDIR%%/posix/glob.so
+%%LUA_MODLIBDIR%%/posix/grp.so
+%%LUA_MODLIBDIR%%/posix/libgen.so
+%%LUA_MODLIBDIR%%/posix/poll.so
+%%LUA_MODLIBDIR%%/posix/pwd.so
+%%LUA_MODLIBDIR%%/posix/sched.so
+%%LUA_MODLIBDIR%%/posix/signal.so
+%%LUA_MODLIBDIR%%/posix/stdio.so
+%%LUA_MODLIBDIR%%/posix/stdlib.so
+%%LUA_MODLIBDIR%%/posix/sys/msg.so
+%%LUA_MODLIBDIR%%/posix/sys/resource.so
+%%LUA_MODLIBDIR%%/posix/sys/socket.so
+%%LUA_MODLIBDIR%%/posix/sys/stat.so
+%%LUA_MODLIBDIR%%/posix/sys/statvfs.so
+%%LUA_MODLIBDIR%%/posix/sys/time.so
+%%LUA_MODLIBDIR%%/posix/sys/times.so
+%%LUA_MODLIBDIR%%/posix/sys/utsname.so
+%%LUA_MODLIBDIR%%/posix/sys/wait.so
+%%LUA_MODLIBDIR%%/posix/syslog.so
+%%LUA_MODLIBDIR%%/posix/termio.so
+%%LUA_MODLIBDIR%%/posix/time.so
+%%LUA_MODLIBDIR%%/posix/unistd.so
+%%LUA_MODLIBDIR%%/posix/utime.so
+%%LUA_MODSHAREDIR%%/posix/_argcheck.lua
+%%LUA_MODSHAREDIR%%/posix/compat.lua
+%%LUA_MODSHAREDIR%%/posix/deprecated.lua
+%%LUA_MODSHAREDIR%%/posix/init.lua
+%%LUA_MODSHAREDIR%%/posix/sys.lua
+%%LUA_MODSHAREDIR%%/posix/util.lua
+%%LUA_MODSHAREDIR%%/posix/version.lua



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710060618.v966IVbl092513>