42 lines
1.2 KiB
Text
42 lines
1.2 KiB
Text
# $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"
|
|
|
|
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
|
|
|
|
#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}
|