* Set LICENSE.

* Update pkg-descr (including WWW).
* Do not override user's LDFLAGS.
* Replace %%LUA_MODLIBDIR%% with ${LUA_MODLIBDIR}

PR:		226873
Submitted by:	0mp@
This commit is contained in:
Vanilla I. Shu 2018-03-27 13:37:43 +00:00
parent b211629e04
commit f91016f09d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=465705
3 changed files with 12 additions and 5 deletions

View file

@ -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:

View file

@ -1,2 +1,3 @@
TIMESTAMP = 1521671945
SHA256 (lua-iconv-7.tar.gz) = c1db1915c754b5cfe7e45af61467bc6dfa4f0037d281ccbce6b53c974e2faf09
SIZE (lua-iconv-7.tar.gz) = 7693

View file

@ -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/