diff --git a/converters/lua-iconv/Makefile b/converters/lua-iconv/Makefile index 0366d7f71d85..32fb89f59728 100644 --- a/converters/lua-iconv/Makefile +++ b/converters/lua-iconv/Makefile @@ -3,7 +3,7 @@ PORTNAME= iconv PORTVERSION= 7 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= converters MASTER_SITES= GHC PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} @@ -12,16 +12,19 @@ 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: diff --git a/converters/lua-iconv/distinfo b/converters/lua-iconv/distinfo index 56330757c184..34dc62249bd5 100644 --- a/converters/lua-iconv/distinfo +++ b/converters/lua-iconv/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1521671945 SHA256 (lua-iconv-7.tar.gz) = c1db1915c754b5cfe7e45af61467bc6dfa4f0037d281ccbce6b53c974e2faf09 SIZE (lua-iconv-7.tar.gz) = 7693 diff --git a/converters/lua-iconv/pkg-descr b/converters/lua-iconv/pkg-descr index e521ca40c1cc..d7f511aef6da 100644 --- a/converters/lua-iconv/pkg-descr +++ b/converters/lua-iconv/pkg-descr @@ -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/