jca d0addda815 Add explicit lua52/lua53 FLAVORS where supported.
Discussed on ports@, sthen@ agrees with the direction.
2016-10-16 23:21:22 +00:00

37 lines
705 B
Makefile

# $OpenBSD: Makefile,v 1.3 2016/10/16 23:21:23 jca Exp $
COMMENT = implementation of the mustache template system in Lua
V = 1.3.1
DISTNAME = lustache-${V}
PKGNAME = lua-${DISTNAME}
REVISION = 0
GH_ACCOUNT = olivine-labs
GH_PROJECT = lustache
GH_TAGNAME = v${V}-0
CATEGORIES = textproc
MAINTAINER = Frederic Cambus <fcambus@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
PKG_ARCH = *
MODULES = lang/lua
FLAVORS = lua52 lua53
FLAVOR ?=
NO_BUILD = Yes
NO_TEST = Yes
do-install:
${INSTALL_DATA_DIR} ${MODLUA_DATADIR} ${MODLUA_DATADIR}/lustache
${INSTALL_DATA} ${WRKSRC}/src/*.lua ${MODLUA_DATADIR}
${INSTALL_DATA} ${WRKSRC}/src/lustache/*.lua ${MODLUA_DATADIR}/lustache
.include <bsd.port.mk>