[BACK]Return to Makefile.common CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / lua-lrexlib

File: [cvs.NetBSD.org] / pkgsrc / devel / lua-lrexlib / Makefile.common (download)

Revision 1.4, Mon Jan 27 18:41:12 2014 UTC (6 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.3: +1 -5 lines

Do not set FETCH_USING, should not be set in a package Makefile.

# $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}