blob: 7fe281378041934a37dee3fa900c24e9bd8f25ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# $NetBSD: Makefile.common,v 1.2 2012/10/31 11:17:26 asau 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-${VERSION}
PKGNAME= ${LUA_PKGPREFIX}-lrexlib-${ENGINE}-${VERSION}
CATEGORIES= devel
MASTER_SITES= http://luaforge.net/frs/download.php/3599/
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}
#MAKE_FILE= makefile
#
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}
INSTALLATION_DIRS+= ${LUA_CDIR}
do-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
${WRKSRC}/src/${ENGINE_DIR}/rex_${ENGINE}.la ${DESTDIR}${PREFIX}/${LUA_CDIR}
|