diff options
author | jbeich <jbeich@FreeBSD.org> | 2016-07-10 21:56:01 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2016-07-10 21:56:01 +0800 |
commit | d09c73211a0b733533f2548a11128789976df8ce (patch) | |
tree | d7d7e1010a1697c302eb2221ecaf6a2749df4b47 /archivers | |
parent | 6b241f8ffe41c502e8e8a736eec2b460ca4081f8 (diff) | |
download | freebsd-ports-gnome-d09c73211a0b733533f2548a11128789976df8ce.tar.gz freebsd-ports-gnome-d09c73211a0b733533f2548a11128789976df8ce.tar.zst freebsd-ports-gnome-d09c73211a0b733533f2548a11128789976df8ce.zip |
archivers/lua-lzlib: add new port
PR: 208514
Submitted by: Daniel Ylitalo <daniel@blodan.se> (based on)
Lua bindings to the ZLib compression library.
https://github.com/LuaDist/lzlib
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/lua-lzlib/Makefile | 27 | ||||
-rw-r--r-- | archivers/lua-lzlib/distinfo | 2 | ||||
-rw-r--r-- | archivers/lua-lzlib/pkg-descr | 3 | ||||
-rw-r--r-- | archivers/lua-lzlib/pkg-plist | 8 |
5 files changed, 41 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index 6df1b66017b4..592013336e93 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -72,6 +72,7 @@ SUBDIR += linux-f10-ucl SUBDIR += linux-f10-upx SUBDIR += lrzip + SUBDIR += lua-lzlib SUBDIR += lzfse SUBDIR += lzip SUBDIR += lzlib diff --git a/archivers/lua-lzlib/Makefile b/archivers/lua-lzlib/Makefile new file mode 100644 index 000000000000..7cca3695faab --- /dev/null +++ b/archivers/lua-lzlib/Makefile @@ -0,0 +1,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> diff --git a/archivers/lua-lzlib/distinfo b/archivers/lua-lzlib/distinfo new file mode 100644 index 000000000000..7d0516d60465 --- /dev/null +++ b/archivers/lua-lzlib/distinfo @@ -0,0 +1,2 @@ +SHA256 (LuaDist-lzlib-0.4.3_GH0.tar.gz) = cbb0cac5825e940b4ea2f31a336d2aaf6db39847d456920afd8e443804420dbb +SIZE (LuaDist-lzlib-0.4.3_GH0.tar.gz) = 23545 diff --git a/archivers/lua-lzlib/pkg-descr b/archivers/lua-lzlib/pkg-descr new file mode 100644 index 000000000000..3f9c11a8f78c --- /dev/null +++ b/archivers/lua-lzlib/pkg-descr @@ -0,0 +1,3 @@ +Lua bindings to the ZLib compression library. + +WWW: https://github.com/LuaDist/lzlib diff --git a/archivers/lua-lzlib/pkg-plist b/archivers/lua-lzlib/pkg-plist new file mode 100644 index 000000000000..52c479764091 --- /dev/null +++ b/archivers/lua-lzlib/pkg-plist @@ -0,0 +1,8 @@ +%%LUA_MODLIBDIR%%/zlib.so +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/README.lgzip +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_gzip.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_zlib2.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_zlib3.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test_zlib_dict.lua +%%LUA_MODSHAREDIR%%/gzip.lua |