* 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.
46 lines
1.4 KiB
Text
46 lines
1.4 KiB
Text
# $NetBSD: Makefile.common,v 1.3 2013/01/25 22:02:18 ryoon 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"
|
|
|
|
DISTNAME= lrexlib-rel-${VERSION:S/./-/g}
|
|
PKGNAME= ${LUA_PKGPREFIX}-lrexlib-${ENGINE}-${VERSION}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= -https://github.com/rrthomas/lrexlib/archive/rel-${VERSION:S/./-/g}.zip
|
|
EXTRACT_SUFX= .zip
|
|
|
|
HOMEPAGE= http://luaforge.net/projects/lrexlib
|
|
|
|
LICENSE= mit
|
|
|
|
# Force using "curl" for fetching the distribution file. It is only available
|
|
# over HTTPS and "curl" is the only fetch program which always supports HTTPS.
|
|
FETCH_USING= curl
|
|
|
|
#USE_TOOLS+= gmake
|
|
USE_LIBTOOL= yes
|
|
|
|
BUILD_TARGET= build_${ENGINE}
|
|
#TEST_TARGET= test_${ENGINE}
|
|
INSTALL_TARGET= install_${ENGINE}
|
|
|
|
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}
|
|
MAKE_FLAGS+= VERSION=\"${V}\"
|
|
MAKE_FLAGS+= LUA_CDIR=${LUA_CDIR}
|
|
|
|
INSTALLATION_DIRS+= ${LUA_CDIR}
|
|
|
|
#do-install:
|
|
# ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
|
|
# ${WRKSRC}/src/${ENGINE_DIR}/rex_${ENGINE}.la ${DESTDIR}${PREFIX}/${LUA_CDIR}
|