aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2018-03-27 13:37:43 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2018-03-27 13:37:43 +0000
commitf91016f09d54fb1eb3ebca47c89a56828b8a175c (patch)
treedec19b7df7a93e7465192551f388899620eff5f7 /converters
parentb211629e0455d9d7d250640dabaa7bba602ea137 (diff)
downloadports-f91016f09d54fb1eb3ebca47c89a56828b8a175c.tar.gz
ports-f91016f09d54fb1eb3ebca47c89a56828b8a175c.zip
* Set LICENSE.
* Update pkg-descr (including WWW). * Do not override user's LDFLAGS. * Replace %%LUA_MODLIBDIR%% with ${LUA_MODLIBDIR} PR: 226873 Submitted by: 0mp@
Notes
Notes: svn path=/head/; revision=465705
Diffstat (limited to 'converters')
-rw-r--r--converters/lua-iconv/Makefile9
-rw-r--r--converters/lua-iconv/distinfo1
-rw-r--r--converters/lua-iconv/pkg-descr7
3 files changed, 12 insertions, 5 deletions
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/