aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/lua-lzlib/Makefile
blob: 7cca3695faab6022c0e9dd9af5f0fbf931dbdbc6 (plain) (blame)
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
# $FreeBSD$

PORTNAME=   lzlib
PORTVERSION=    0.4.3
CATEGORIES= archivers
PKGNAMEPREFIX=  ${LUA_PKGNAMEPREFIX}

MAINTAINER= daniel@blodan.se
COMMENT=    Lua bindings to the ZLib compression library

LICENSE=    MIT

USES=       cmake lua
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>