Index: lang/lua/lua.port.mk =================================================================== RCS file: /cvs/ports/lang/lua/lua.port.mk,v retrieving revision 1.30 diff -u -p -r1.30 lua.port.mk --- lang/lua/lua.port.mk 14 Jan 2015 20:10:10 -0000 1.30 +++ lang/lua/lua.port.mk 29 Feb 2016 03:21:50 -0000 @@ -129,3 +129,25 @@ SUBST_VARS+= MODLUA_VERSION MODLUA_LIB M MODLUA_EXAMPLEDIR MODLUA_DOCDIR MODLUA_LIBDIR \ MODLUA_DATADIR MODLUA_DEP MODLUA_DEP_VERSION \ MODLUA_BIN + +.if ${CONFIGURE_STYLE:L:Mluarocks} + +BUILD_DEPENDS+= devel/luarocks + +LUAPKG=/opt/local/bin/luapkg + +EXTRACT_SUFX= .src.rock +EXTRACT_CASES += *.src.rock) \ + ${LUAPKG} extract ${FULLDISTDIR}/$$archive;; + +. if !target(do-build) +do-build: + cd ${WRKSRC} && ${LUAPKG} make ${DISTNAME} +. endif + +. if !target(do-install) +do-install: + cd ${WRKSRC} && ${LUAPKG} --tree=${PREFIX} fake ${DISTNAME} +. endif + +.endif Index: devel/luaposix/Makefile =================================================================== RCS file: /cvs/ports/devel/luaposix/Makefile,v retrieving revision 1.19 diff -u -p -r1.19 Makefile --- devel/luaposix/Makefile 11 Mar 2013 10:50:11 -0000 1.19 +++ devel/luaposix/Makefile 29 Feb 2016 03:21:50 -0000 @@ -3,29 +3,26 @@ SHARED_ONLY= Yes COMMENT= posix library for the lua language -DISTNAME= luaposix-5.1.4 +V= 33.3.1 +DISTNAME= luaposix-release-v${V} EPOCH= 0 -REVISION= 1 +REVISION= 0 +PKGNAME= luaposix-${V} CATEGORIES= devel -MASTER_SITES= http://luaforge.net/frs/download.php/3572/ +MASTER_SITES= https://outbox.eait.uq.edu.au/uqdgwynn/distfiles/ -HOMEPAGE= http://luaforge.net/projects/luaposix/ +HOMEPAGE= https://github.com/luaposix/luaposix/ # Public domain PERMIT_PACKAGE_CDROM= Yes MODULES= lang/lua -TEST_DEPENDS=${BUILD_PKGPATH} +MODLUA_RUN_DEPENDS= devel/luabit32 -do-build: - ${CC} ${CFLAGS} -fPIC -I${MODLUA_INCL_DIR} -shared \ - ${WRKDIST}/lposix.c -o ${WRKDIST}/posix.so - -do-install: - ${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} - ${INSTALL_DATA} ${WRKSRC}/posix.so ${MODLUA_LIBDIR} - -do-test: - cd ${WRKSRC} && ${MODLUA_BIN} *.lua +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS+=--libdir=${MODLUA_LIBDIR} +CONFIGURE_ENV+= LUA=${MODLUA_BIN} \ + LUA_VERSION=${MODLUA_VERSION} \ + LUA_INCLUDE=-I${MODLUA_INCL_DIR} .include Index: devel/luaposix/distinfo =================================================================== RCS file: /cvs/ports/devel/luaposix/distinfo,v retrieving revision 1.7 diff -u -p -r1.7 distinfo --- devel/luaposix/distinfo 18 Jan 2015 03:13:18 -0000 1.7 +++ devel/luaposix/distinfo 29 Feb 2016 03:21:50 -0000 @@ -1,2 +1,2 @@ -SHA256 (luaposix-5.1.4.tar.gz) = D3j+nIisdZWSKaWdqw2IZbP1xXMHBag+dMJG9HUigWc= -SIZE (luaposix-5.1.4.tar.gz) = 13390 +SHA256 (luaposix-release-v33.3.1.tar.gz) = SeHtpk0MA9Dyl3/B4EzoxiDcO7mlxUw0KQR1HSGxs88= +SIZE (luaposix-release-v33.3.1.tar.gz) = 692452 Index: devel/luaposix/pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/luaposix/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- devel/luaposix/pkg/PLIST 11 May 2012 20:51:04 -0000 1.3 +++ devel/luaposix/pkg/PLIST 29 Feb 2016 03:21:50 -0000 @@ -1,2 +1,65 @@ @comment $OpenBSD: PLIST,v 1.3 2012/05/11 20:51:04 jasper Exp $ +lib/lua/${MODLUA_VERSION}/posix.a lib/lua/${MODLUA_VERSION}/posix.so +share/doc/luaposix/ +share/doc/luaposix/classes/ +share/doc/luaposix/classes/posix.curses.chstr.html +share/doc/luaposix/classes/posix.curses.window.html +share/doc/luaposix/examples/ +share/doc/luaposix/examples/curses.lua.html +share/doc/luaposix/examples/dir.lua.html +share/doc/luaposix/examples/fork.lua.html +share/doc/luaposix/examples/fork2.lua.html +share/doc/luaposix/examples/getopt.lua.html +share/doc/luaposix/examples/glob.lua.html +share/doc/luaposix/examples/limit.lua.html +share/doc/luaposix/examples/lock.lua.html +share/doc/luaposix/examples/netlink-uevent.lua.html +share/doc/luaposix/examples/ping.lua.html +share/doc/luaposix/examples/poll.lua.html +share/doc/luaposix/examples/signal.lua.html +share/doc/luaposix/examples/socket.lua.html +share/doc/luaposix/examples/termios.lua.html +share/doc/luaposix/examples/tree.lua.html +share/doc/luaposix/index.html +share/doc/luaposix/ldoc.css +share/doc/luaposix/modules/ +share/doc/luaposix/modules/posix.ctype.html +share/doc/luaposix/modules/posix.curses.html +share/doc/luaposix/modules/posix.dirent.html +share/doc/luaposix/modules/posix.errno.html +share/doc/luaposix/modules/posix.fcntl.html +share/doc/luaposix/modules/posix.fnmatch.html +share/doc/luaposix/modules/posix.getopt.html +share/doc/luaposix/modules/posix.glob.html +share/doc/luaposix/modules/posix.grp.html +share/doc/luaposix/modules/posix.html +share/doc/luaposix/modules/posix.libgen.html +share/doc/luaposix/modules/posix.poll.html +share/doc/luaposix/modules/posix.pwd.html +share/doc/luaposix/modules/posix.sched.html +share/doc/luaposix/modules/posix.signal.html +share/doc/luaposix/modules/posix.stdio.html +share/doc/luaposix/modules/posix.stdlib.html +share/doc/luaposix/modules/posix.sys.msg.html +share/doc/luaposix/modules/posix.sys.resource.html +share/doc/luaposix/modules/posix.sys.socket.html +share/doc/luaposix/modules/posix.sys.stat.html +share/doc/luaposix/modules/posix.sys.statvfs.html +share/doc/luaposix/modules/posix.sys.time.html +share/doc/luaposix/modules/posix.sys.times.html +share/doc/luaposix/modules/posix.sys.utsname.html +share/doc/luaposix/modules/posix.sys.wait.html +share/doc/luaposix/modules/posix.syslog.html +share/doc/luaposix/modules/posix.termio.html +share/doc/luaposix/modules/posix.time.html +share/doc/luaposix/modules/posix.unistd.html +share/doc/luaposix/modules/posix.utime.html +share/lua/${MODLUA_VERSION}/curses.lua +share/lua/${MODLUA_VERSION}/posix/ +share/lua/${MODLUA_VERSION}/posix/_argcheck.lua +share/lua/${MODLUA_VERSION}/posix/compat.lua +share/lua/${MODLUA_VERSION}/posix/deprecated.lua +share/lua/${MODLUA_VERSION}/posix/init.lua +share/lua/${MODLUA_VERSION}/posix/sys.lua +share/lua/${MODLUA_VERSION}/posix/util.lua Index: devel/luabit32/Makefile =================================================================== RCS file: /cvs/ports/devel/luabitop/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- devel/luabit32/Makefile 11 Mar 2013 10:50:11 -0000 1.11 +++ devel/luabit32/Makefile 29 Feb 2016 03:21:50 -0000 @@ -2,38 +2,22 @@ SHARED_ONLY= Yes -COMMENT= library for bitwise operations in lua +COMMENT= the native Lua 5.2 bit manipulation library -V= 1.0.2 -DISTNAME= LuaBitOp-$V -PKGNAME= luabitop-$V +V= 5.3.0-1 +DISTNAME= bit32-${V} +PKGNAME= luabit32-${V:S/-/./g} CATEGORIES= devel -REVISION= 0 -MASTER_SITES= ${HOMEPAGE}/download/ -HOMEPAGE= http://bitop.luajit.org/ +UPLOADER= siffiejoe +HOMEPAGE= https://luarocks.org/modules/${UPLOADER}/bit32 +MASTER_SITES= https://luarocks.org/manifests/${UPLOADER}/ -# MIT -PERMIT_PACKAGE_CDROM= Yes +# MIT/X11 +PERMIT_PACKAGE_CDROM= Yes -USE_GMAKE= Yes -MODULES= lang/lua -TEST_DEPENDS+=${BASE_PKGPATH} -MAKE_ENV+= INCLUDES=-I${MODLUA_INCL_DIR} +MODULES = lang/lua -REGRESS_FILES= bittest md5test bitbench nsievebits - -do-install: - ${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DOCDIR} - ${INSTALL_DATA} ${WRKBUILD}/bit.so ${MODLUA_LIBDIR} - cd ${WRKSRC}/doc && \ - find . -type d \ - -exec ${INSTALL_DATA_DIR} ${MODLUA_DOCDIR}/{} \; && \ - find . ! -type d \ - -exec ${INSTALL_DATA} -m 644 {} ${MODLUA_DOCDIR}/{} \; -do-test: -.for r in ${REGRESS_FILES} - ${MODLUA_BIN} ${WRKSRC}/$r.lua -.endfor +CONFIGURE_STYLE = luarocks .include Index: devel/luabit32/distinfo =================================================================== RCS file: /cvs/ports/devel/luabitop/distinfo,v retrieving revision 1.3 diff -u -p -r1.3 distinfo --- devel/luabit32/distinfo 18 Jan 2015 03:13:17 -0000 1.3 +++ devel/luabit32/distinfo 29 Feb 2016 03:21:50 -0000 @@ -1,2 +1,2 @@ -SHA256 (LuaBitOp-1.0.2.tar.gz) = EgfJKT3NUuudymU40bhzUr1RD052CTj1BIQz9/Jyzpk= -SIZE (LuaBitOp-1.0.2.tar.gz) = 23127 +SHA256 (bit32-5.3.0-1.src.rock) = /nvHDR5IGD2VzPtnQecKZ2KDB1FzEiyxYTA9dwWbJ6Y= +SIZE (bit32-5.3.0-1.src.rock) = 28872 Index: devel/luabit32/pkg/DESCR =================================================================== RCS file: /cvs/ports/devel/luabitop/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 DESCR --- devel/luabit32/pkg/DESCR 9 Sep 2009 19:39:47 -0000 1.1.1.1 +++ devel/luabit32/pkg/DESCR 29 Feb 2016 03:21:50 -0000 @@ -1,2 +1,2 @@ -Lua BitOp is a C extension module for Lua 5.1 which adds bitwise -operations on numbers. +bit32 is the native Lua 5.2 bit manipulation library, backported +to Lua 5.1 Index: devel/luabit32/pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/luabitop/pkg/PLIST,v retrieving revision 1.3 diff -u -p -r1.3 PLIST --- devel/luabit32/pkg/PLIST 15 May 2012 20:45:12 -0000 1.3 +++ devel/luabit32/pkg/PLIST 29 Feb 2016 03:21:50 -0000 @@ -1,13 +1,12 @@ -@comment $OpenBSD: PLIST,v 1.3 2012/05/15 20:45:12 jasper Exp $ -lib/lua/${MODLUA_VERSION}/bit.so -share/doc/${FULLPKGNAME}/ -share/doc/${FULLPKGNAME}/api.html -share/doc/${FULLPKGNAME}/bluequad-print.css -share/doc/${FULLPKGNAME}/bluequad.css -share/doc/${FULLPKGNAME}/changes.html -share/doc/${FULLPKGNAME}/contact.html -share/doc/${FULLPKGNAME}/img/ -share/doc/${FULLPKGNAME}/img/contact.png -share/doc/${FULLPKGNAME}/index.html -share/doc/${FULLPKGNAME}/install.html -share/doc/${FULLPKGNAME}/semantics.html +@comment $OpenBSD$ +lib/lua/${MODLUA_VERSION}/bit32.so +lib/luarocks/ +lib/luarocks/rocks/ +lib/luarocks/rocks/bit32/ +lib/luarocks/rocks/bit32/5.3.0-1/ +lib/luarocks/rocks/bit32/5.3.0-1/bit32-5.3.0-1.rockspec +lib/luarocks/rocks/bit32/5.3.0-1/doc/ +lib/luarocks/rocks/bit32/5.3.0-1/doc/LICENSE +lib/luarocks/rocks/bit32/5.3.0-1/doc/README.md +lib/luarocks/rocks/bit32/5.3.0-1/rock_manifest +lib/luarocks/rocks/manifest