Wed Jul 8 15:10:38 2020 UTC ()
converters: Add lua-iconv

Lua-iconv is POSIX 'iconv' binding for the Lua Programming Language. The
iconv library converts a sequence of characters from one codeset into a
sequence of corresponding characters in another codeset. The codesets are
those specified in the iconv.new() call that returned the conversion
descriptor, cd.


(nia)
diff -r1.176 -r1.177 pkgsrc/converters/Makefile
diff -r0 -r1.1 pkgsrc/converters/lua-iconv/DESCR
diff -r0 -r1.1 pkgsrc/converters/lua-iconv/Makefile
diff -r0 -r1.1 pkgsrc/converters/lua-iconv/PLIST
diff -r0 -r1.1 pkgsrc/converters/lua-iconv/distinfo

cvs diff -r1.176 -r1.177 pkgsrc/converters/Makefile (expand / switch to unified diff)

--- pkgsrc/converters/Makefile 2020/05/01 17:50:59 1.176
+++ pkgsrc/converters/Makefile 2020/07/08 15:10:38 1.177
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.176 2020/05/01 17:50:59 nia Exp $ 1# $NetBSD: Makefile,v 1.177 2020/07/08 15:10:38 nia Exp $
2# 2#
3 3
4COMMENT= Document format and character code converters 4COMMENT= Document format and character code converters
5 5
6SUBDIR+= 2vcard 6SUBDIR+= 2vcard
7SUBDIR+= R-base64enc 7SUBDIR+= R-base64enc
8SUBDIR+= TECkit 8SUBDIR+= TECkit
9SUBDIR+= ack 9SUBDIR+= ack
10SUBDIR+= autoconvert 10SUBDIR+= autoconvert
11SUBDIR+= base64 11SUBDIR+= base64
12SUBDIR+= bbcim 12SUBDIR+= bbcim
13SUBDIR+= bdf2psf 13SUBDIR+= bdf2psf
14SUBDIR+= bdf2sfd 14SUBDIR+= bdf2sfd
@@ -51,26 +51,27 @@ SUBDIR+= libfreehand @@ -51,26 +51,27 @@ SUBDIR+= libfreehand
51SUBDIR+= libiconv 51SUBDIR+= libiconv
52SUBDIR+= libkkc 52SUBDIR+= libkkc
53SUBDIR+= libmspub 53SUBDIR+= libmspub
54SUBDIR+= libmwaw 54SUBDIR+= libmwaw
55SUBDIR+= libpagemaker 55SUBDIR+= libpagemaker
56SUBDIR+= libqxp 56SUBDIR+= libqxp
57SUBDIR+= librevenge 57SUBDIR+= librevenge
58SUBDIR+= libstaroffice 58SUBDIR+= libstaroffice
59SUBDIR+= libvisio 59SUBDIR+= libvisio
60SUBDIR+= libwpd 60SUBDIR+= libwpd
61SUBDIR+= libwpg 61SUBDIR+= libwpg
62SUBDIR+= libwps 62SUBDIR+= libwps
63SUBDIR+= libzmf 63SUBDIR+= libzmf
 64SUBDIR+= lua-iconv
64SUBDIR+= macfork 65SUBDIR+= macfork
65SUBDIR+= mpack 66SUBDIR+= mpack
66SUBDIR+= nkf 67SUBDIR+= nkf
67SUBDIR+= odt2txt 68SUBDIR+= odt2txt
68SUBDIR+= opencc 69SUBDIR+= opencc
69SUBDIR+= orcus 70SUBDIR+= orcus
70SUBDIR+= p5-Convert-Bencode 71SUBDIR+= p5-Convert-Bencode
71SUBDIR+= p5-Convert-BinHex 72SUBDIR+= p5-Convert-BinHex
72SUBDIR+= p5-Convert-Color 73SUBDIR+= p5-Convert-Color
73SUBDIR+= p5-Convert-TNEF 74SUBDIR+= p5-Convert-TNEF
74SUBDIR+= p5-Convert-UU 75SUBDIR+= p5-Convert-UU
75SUBDIR+= p5-Convert-UUlib 76SUBDIR+= p5-Convert-UUlib
76SUBDIR+= p5-Cpanel-JSON-XS 77SUBDIR+= p5-Cpanel-JSON-XS

File Added: pkgsrc/converters/lua-iconv/DESCR
Lua-iconv is POSIX 'iconv' binding for the Lua Programming Language. The
iconv library converts a sequence of characters from one codeset into a
sequence of corresponding characters in another codeset. The codesets are
those specified in the iconv.new() call that returned the conversion
descriptor, cd.

File Added: pkgsrc/converters/lua-iconv/Makefile
# $NetBSD: Makefile,v 1.1 2020/07/08 15:10:38 nia Exp $

DISTNAME=	lua-iconv-7
PKGNAME=	${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//1}
CATEGORIES=	converters lua
MASTER_SITES=	${MASTER_SITE_GITHUB:=ittner/}
GITHUB_PROJECT=	lua-iconv
GITHUB_TAG=	${DISTNAME}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://www.ittner.com.br/lua-iconv/
COMMENT=	Lua bindings for POSIX iconv
LICENSE=	mit

INSTALLATION_DIRS+=	${LUA_CDIR}

do-install:
	${INSTALL_LIB} ${WRKSRC}/iconv.so ${DESTDIR}${PREFIX}/${LUA_CDIR}

.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/converters/lua-iconv/PLIST
@comment $NetBSD: PLIST,v 1.1 2020/07/08 15:10:38 nia Exp $
${LUA_CDIR}/iconv.so

File Added: pkgsrc/converters/lua-iconv/distinfo
$NetBSD: distinfo,v 1.1 2020/07/08 15:10:38 nia Exp $

SHA1 (lua-iconv-7.tar.gz) = 66e1d0f367d460e1bd78ad6befccdd2837b279e1
RMD160 (lua-iconv-7.tar.gz) = fe16fce0cf5af4bfeab27cb691559d6fbe16f4f9
SHA512 (lua-iconv-7.tar.gz) = 7fae8be68878747a6bcb559d1548f7d0b330d519cdf306f6ec8250cb914ed971ba1a86fef20771a5add728d796c613c32544c20ba4f8b4315d20ee8ac39a607f
Size (lua-iconv-7.tar.gz) = 11568 bytes
SHA1 (patch-Makefile) = a10dbee19203d06294c3daba33b5fff97bb85d5d