Index: head/converters/lua-iconv/Makefile =================================================================== --- head/converters/lua-iconv/Makefile (revision 465704) +++ head/converters/lua-iconv/Makefile (revision 465705) @@ -1,31 +1,34 @@ # Created by: vanilla@ # $FreeBSD$ PORTNAME= iconv PORTVERSION= 7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= converters MASTER_SITES= GHC PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} DISTNAME= lua-${PORTNAME}-${PORTVERSION} MAINTAINER= vanilla@FreeBSD.org COMMENT= Iconv binding for Lua 5 +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + USES= pkgconfig iconv lua USE_GITHUB= yes GH_ACCOUNT= ittner GH_PROJECT= lua-${PORTNAME} -PLIST_FILES= %%LUA_MODLIBDIR%%/iconv.so +PLIST_FILES= ${LUA_MODLIBDIR}/iconv.so CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` -I${LOCALBASE}/include MAKE_ARGS= LUABIN=${LUA_CMD} CFLAGS="${CFLAGS}" -LDFLAGS= -shared ${ICONV_LIB} -L${LOCALBASE}/lib +LDFLAGS+= -shared ${ICONV_LIB} -L${LOCALBASE}/lib CFLAGS_amd64= -fPIC do-install: @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} ${INSTALL_LIB} ${WRKSRC}/iconv.so ${STAGEDIR}${LUA_MODLIBDIR} .include Index: head/converters/lua-iconv/distinfo =================================================================== --- head/converters/lua-iconv/distinfo (revision 465704) +++ head/converters/lua-iconv/distinfo (revision 465705) @@ -1,2 +1,3 @@ +TIMESTAMP = 1521671945 SHA256 (lua-iconv-7.tar.gz) = c1db1915c754b5cfe7e45af61467bc6dfa4f0037d281ccbce6b53c974e2faf09 SIZE (lua-iconv-7.tar.gz) = 7693 Index: head/converters/lua-iconv/pkg-descr =================================================================== --- head/converters/lua-iconv/pkg-descr (revision 465704) +++ head/converters/lua-iconv/pkg-descr (revision 465705) @@ -1,3 +1,6 @@ -LuaIconv is a Lua binding to iconv library. +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. -WWW: http://luaforge.net/projects/lua-iconv/ +WWW: http://ittner.github.io/lua-iconv/