pkgsrc/devel/lua-lrexlib/Makefile.common

43 lines
1.2 KiB
Text
Raw Normal View History

# $NetBSD: Makefile.common,v 1.4 2014/01/27 18:41:12 wiz Exp $
# used by devel/lua-lrexlib-posix/Makefile
# used by devel/lua-lrexlib-pcre/Makefile
# used by devel/lua-lrexlib-onig/Makefile
#
.include "../../devel/lua-lrexlib/Makefile.version"
Update to 2.7.2 from 2.4.0 * Use custom BSDmakefile instead of luarocks. It seems that luarocks lacks destdir support. Changelog: 2013-01-08 Release 2.7.2 * Fixed the use of alternative allocators, and a memory leak. * Simplify the build system further. * Change rockspec to build from git now that github no longer supports downloads. 2012-10-18 Release 2.7.1 * Fixed Lua 5.1 compatibility, broken in 2.7.0. * Added ability to specify no replacement to gsub with a nil or false replacement argument. 2012-10-04 Release 2.7.0 * Added support for searching raw memory buffers (e.g. made with alien). * Fixed possible invalid code generation in C (thanks, Michael Tautschnig). * Generate LuaRock rockspecs for all modules. * Greatly simplify UNIX build system, relying on LuaRocks. * Allow POSIX REG_STARTEND to be used on any system supporting it. * Add a test set for POSIX regex engine (thanks, Enrico Tassi). * Simplify some code. * Always use Lua state memory allocator. 2012-04-13 Release 2.6.0 * Added support for Lua 5.2. 2010-12-15 Release 2.5.3 * Bug fix to rex.split. * Support for new flags in PCRE 8.11. 2010-11-10 Release 2.5.2 * Important bug fix (thanks to Enrico Tassi for the report) affecting platforms with certain alignment requirements. * Improved build system for Windows. * Minor improvements to the manual. 2010-10-04 Release 2.5.1 * Minor improvements and fixes, no changes to library code. 2010-10-03 Release 2.5.0 * Added bindings of the TRE and GNU regex APIs. * Improved and simplified the build system.
2013-01-25 23:02:18 +01:00
DISTNAME= lrexlib-rel-${VERSION:S/./-/g}
PKGNAME= ${LUA_PKGPREFIX}-lrexlib-${ENGINE}-${VERSION}
CATEGORIES= devel
Update to 2.7.2 from 2.4.0 * Use custom BSDmakefile instead of luarocks. It seems that luarocks lacks destdir support. Changelog: 2013-01-08 Release 2.7.2 * Fixed the use of alternative allocators, and a memory leak. * Simplify the build system further. * Change rockspec to build from git now that github no longer supports downloads. 2012-10-18 Release 2.7.1 * Fixed Lua 5.1 compatibility, broken in 2.7.0. * Added ability to specify no replacement to gsub with a nil or false replacement argument. 2012-10-04 Release 2.7.0 * Added support for searching raw memory buffers (e.g. made with alien). * Fixed possible invalid code generation in C (thanks, Michael Tautschnig). * Generate LuaRock rockspecs for all modules. * Greatly simplify UNIX build system, relying on LuaRocks. * Allow POSIX REG_STARTEND to be used on any system supporting it. * Add a test set for POSIX regex engine (thanks, Enrico Tassi). * Simplify some code. * Always use Lua state memory allocator. 2012-04-13 Release 2.6.0 * Added support for Lua 5.2. 2010-12-15 Release 2.5.3 * Bug fix to rex.split. * Support for new flags in PCRE 8.11. 2010-11-10 Release 2.5.2 * Important bug fix (thanks to Enrico Tassi for the report) affecting platforms with certain alignment requirements. * Improved build system for Windows. * Minor improvements to the manual. 2010-10-04 Release 2.5.1 * Minor improvements and fixes, no changes to library code. 2010-10-03 Release 2.5.0 * Added bindings of the TRE and GNU regex APIs. * Improved and simplified the build system.
2013-01-25 23:02:18 +01:00
MASTER_SITES= -https://github.com/rrthomas/lrexlib/archive/rel-${VERSION:S/./-/g}.zip
EXTRACT_SUFX= .zip
HOMEPAGE= http://luaforge.net/projects/lrexlib
LICENSE= mit
Update to 2.7.2 from 2.4.0 * Use custom BSDmakefile instead of luarocks. It seems that luarocks lacks destdir support. Changelog: 2013-01-08 Release 2.7.2 * Fixed the use of alternative allocators, and a memory leak. * Simplify the build system further. * Change rockspec to build from git now that github no longer supports downloads. 2012-10-18 Release 2.7.1 * Fixed Lua 5.1 compatibility, broken in 2.7.0. * Added ability to specify no replacement to gsub with a nil or false replacement argument. 2012-10-04 Release 2.7.0 * Added support for searching raw memory buffers (e.g. made with alien). * Fixed possible invalid code generation in C (thanks, Michael Tautschnig). * Generate LuaRock rockspecs for all modules. * Greatly simplify UNIX build system, relying on LuaRocks. * Allow POSIX REG_STARTEND to be used on any system supporting it. * Add a test set for POSIX regex engine (thanks, Enrico Tassi). * Simplify some code. * Always use Lua state memory allocator. 2012-04-13 Release 2.6.0 * Added support for Lua 5.2. 2010-12-15 Release 2.5.3 * Bug fix to rex.split. * Support for new flags in PCRE 8.11. 2010-11-10 Release 2.5.2 * Important bug fix (thanks to Enrico Tassi for the report) affecting platforms with certain alignment requirements. * Improved build system for Windows. * Minor improvements to the manual. 2010-10-04 Release 2.5.1 * Minor improvements and fixes, no changes to library code. 2010-10-03 Release 2.5.0 * Added bindings of the TRE and GNU regex APIs. * Improved and simplified the build system.
2013-01-25 23:02:18 +01:00
#USE_TOOLS+= gmake
USE_LIBTOOL= yes
BUILD_TARGET= build_${ENGINE}
Update to 2.7.2 from 2.4.0 * Use custom BSDmakefile instead of luarocks. It seems that luarocks lacks destdir support. Changelog: 2013-01-08 Release 2.7.2 * Fixed the use of alternative allocators, and a memory leak. * Simplify the build system further. * Change rockspec to build from git now that github no longer supports downloads. 2012-10-18 Release 2.7.1 * Fixed Lua 5.1 compatibility, broken in 2.7.0. * Added ability to specify no replacement to gsub with a nil or false replacement argument. 2012-10-04 Release 2.7.0 * Added support for searching raw memory buffers (e.g. made with alien). * Fixed possible invalid code generation in C (thanks, Michael Tautschnig). * Generate LuaRock rockspecs for all modules. * Greatly simplify UNIX build system, relying on LuaRocks. * Allow POSIX REG_STARTEND to be used on any system supporting it. * Add a test set for POSIX regex engine (thanks, Enrico Tassi). * Simplify some code. * Always use Lua state memory allocator. 2012-04-13 Release 2.6.0 * Added support for Lua 5.2. 2010-12-15 Release 2.5.3 * Bug fix to rex.split. * Support for new flags in PCRE 8.11. 2010-11-10 Release 2.5.2 * Important bug fix (thanks to Enrico Tassi for the report) affecting platforms with certain alignment requirements. * Improved build system for Windows. * Minor improvements to the manual. 2010-10-04 Release 2.5.1 * Minor improvements and fixes, no changes to library code. 2010-10-03 Release 2.5.0 * Added bindings of the TRE and GNU regex APIs. * Improved and simplified the build system.
2013-01-25 23:02:18 +01:00
#TEST_TARGET= test_${ENGINE}
INSTALL_TARGET= install_${ENGINE}
Update to 2.7.2 from 2.4.0 * Use custom BSDmakefile instead of luarocks. It seems that luarocks lacks destdir support. Changelog: 2013-01-08 Release 2.7.2 * Fixed the use of alternative allocators, and a memory leak. * Simplify the build system further. * Change rockspec to build from git now that github no longer supports downloads. 2012-10-18 Release 2.7.1 * Fixed Lua 5.1 compatibility, broken in 2.7.0. * Added ability to specify no replacement to gsub with a nil or false replacement argument. 2012-10-04 Release 2.7.0 * Added support for searching raw memory buffers (e.g. made with alien). * Fixed possible invalid code generation in C (thanks, Michael Tautschnig). * Generate LuaRock rockspecs for all modules. * Greatly simplify UNIX build system, relying on LuaRocks. * Allow POSIX REG_STARTEND to be used on any system supporting it. * Add a test set for POSIX regex engine (thanks, Enrico Tassi). * Simplify some code. * Always use Lua state memory allocator. 2012-04-13 Release 2.6.0 * Added support for Lua 5.2. 2010-12-15 Release 2.5.3 * Bug fix to rex.split. * Support for new flags in PCRE 8.11. 2010-11-10 Release 2.5.2 * Important bug fix (thanks to Enrico Tassi for the report) affecting platforms with certain alignment requirements. * Improved build system for Windows. * Minor improvements to the manual. 2010-10-04 Release 2.5.1 * Minor improvements and fixes, no changes to library code. 2010-10-03 Release 2.5.0 * Added bindings of the TRE and GNU regex APIs. * Improved and simplified the build system.
2013-01-25 23:02:18 +01:00
MAKE_FILE= BSDmakefile
#
PATCHDIR= ${.CURDIR}/../../devel/lua-lrexlib/patches
DISTINFO_FILE= ${.CURDIR}/../../devel/lua-lrexlib/distinfo
DESCR_SRC= ${.CURDIR}/../../devel/lua-lrexlib/DESCR.common
MAKE_FLAGS+= LIBS=${LIBS:Q}
MAKE_FLAGS+= LIBTOOL=${LIBTOOL:Q}
MAKE_FLAGS+= MODULES_DIR=${PREFIX}/${LUA_CDIR}
Update to 2.7.2 from 2.4.0 * Use custom BSDmakefile instead of luarocks. It seems that luarocks lacks destdir support. Changelog: 2013-01-08 Release 2.7.2 * Fixed the use of alternative allocators, and a memory leak. * Simplify the build system further. * Change rockspec to build from git now that github no longer supports downloads. 2012-10-18 Release 2.7.1 * Fixed Lua 5.1 compatibility, broken in 2.7.0. * Added ability to specify no replacement to gsub with a nil or false replacement argument. 2012-10-04 Release 2.7.0 * Added support for searching raw memory buffers (e.g. made with alien). * Fixed possible invalid code generation in C (thanks, Michael Tautschnig). * Generate LuaRock rockspecs for all modules. * Greatly simplify UNIX build system, relying on LuaRocks. * Allow POSIX REG_STARTEND to be used on any system supporting it. * Add a test set for POSIX regex engine (thanks, Enrico Tassi). * Simplify some code. * Always use Lua state memory allocator. 2012-04-13 Release 2.6.0 * Added support for Lua 5.2. 2010-12-15 Release 2.5.3 * Bug fix to rex.split. * Support for new flags in PCRE 8.11. 2010-11-10 Release 2.5.2 * Important bug fix (thanks to Enrico Tassi for the report) affecting platforms with certain alignment requirements. * Improved build system for Windows. * Minor improvements to the manual. 2010-10-04 Release 2.5.1 * Minor improvements and fixes, no changes to library code. 2010-10-03 Release 2.5.0 * Added bindings of the TRE and GNU regex APIs. * Improved and simplified the build system.
2013-01-25 23:02:18 +01:00
MAKE_FLAGS+= VERSION=\"${V}\"
MAKE_FLAGS+= LUA_CDIR=${LUA_CDIR}
INSTALLATION_DIRS+= ${LUA_CDIR}
Update to 2.7.2 from 2.4.0 * Use custom BSDmakefile instead of luarocks. It seems that luarocks lacks destdir support. Changelog: 2013-01-08 Release 2.7.2 * Fixed the use of alternative allocators, and a memory leak. * Simplify the build system further. * Change rockspec to build from git now that github no longer supports downloads. 2012-10-18 Release 2.7.1 * Fixed Lua 5.1 compatibility, broken in 2.7.0. * Added ability to specify no replacement to gsub with a nil or false replacement argument. 2012-10-04 Release 2.7.0 * Added support for searching raw memory buffers (e.g. made with alien). * Fixed possible invalid code generation in C (thanks, Michael Tautschnig). * Generate LuaRock rockspecs for all modules. * Greatly simplify UNIX build system, relying on LuaRocks. * Allow POSIX REG_STARTEND to be used on any system supporting it. * Add a test set for POSIX regex engine (thanks, Enrico Tassi). * Simplify some code. * Always use Lua state memory allocator. 2012-04-13 Release 2.6.0 * Added support for Lua 5.2. 2010-12-15 Release 2.5.3 * Bug fix to rex.split. * Support for new flags in PCRE 8.11. 2010-11-10 Release 2.5.2 * Important bug fix (thanks to Enrico Tassi for the report) affecting platforms with certain alignment requirements. * Improved build system for Windows. * Minor improvements to the manual. 2010-10-04 Release 2.5.1 * Minor improvements and fixes, no changes to library code. 2010-10-03 Release 2.5.0 * Added bindings of the TRE and GNU regex APIs. * Improved and simplified the build system.
2013-01-25 23:02:18 +01:00
#do-install:
# ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
# ${WRKSRC}/src/${ENGINE_DIR}/rex_${ENGINE}.la ${DESTDIR}${PREFIX}/${LUA_CDIR}