1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/archivers/lua-lzlib/Makefile
Mathieu Arnold beb1c1fe19 USES=lua gained flavors.
Ports using USES=lua:module or lua:flavors will be flavored.  A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.

USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.

PR:		245038
Submitted by:	andrew tao11 riddles org uk
Reviewed by:	mat, kevans, russ haley gmail com
Approved by:	mat (portmgr)
Differential Revision:	https://reviews.freebsd.org/D16494
2020-04-14 15:49:36 +00:00

29 lines
597 B
Makefile

# $FreeBSD$
PORTNAME= lzlib
PORTVERSION= 0.4.3
PORTREVISION= 1
CATEGORIES= archivers
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= daniel@blodan.se
COMMENT= Lua bindings to the ZLib compression library
LICENSE= MIT
USES= cmake lua:51-52,module
USE_GITHUB= yes
GH_ACCOUNT= LuaDist
CMAKE_ARGS= -DINSTALL_LMOD="${LUA_MODSHAREDIR}" \
-DINSTALL_CMOD="${LUA_MODLIBDIR}" \
-DINSTALL_DOC="${DOCSDIR}" \
-DINSTALL_TEST="${EXAMPLESDIR}"
OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '/README/s/install_data/install_doc/' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>