Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 13:37:43 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465705 - head/converters/lua-iconv
Message-ID:  <201803271337.w2RDbhlQ038220@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Tue Mar 27 13:37:43 2018
New Revision: 465705
URL: https://svnweb.freebsd.org/changeset/ports/465705

Log:
  * Set LICENSE.
  * Update pkg-descr (including WWW).
  * Do not override user's LDFLAGS.
  * Replace %%LUA_MODLIBDIR%% with ${LUA_MODLIBDIR}
  
  PR:		226873
  Submitted by:	0mp@

Modified:
  head/converters/lua-iconv/Makefile
  head/converters/lua-iconv/distinfo
  head/converters/lua-iconv/pkg-descr

Modified: head/converters/lua-iconv/Makefile
==============================================================================
--- head/converters/lua-iconv/Makefile	Tue Mar 27 13:27:34 2018	(r465704)
+++ head/converters/lua-iconv/Makefile	Tue Mar 27 13:37:43 2018	(r465705)
@@ -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:

Modified: head/converters/lua-iconv/distinfo
==============================================================================
--- head/converters/lua-iconv/distinfo	Tue Mar 27 13:27:34 2018	(r465704)
+++ head/converters/lua-iconv/distinfo	Tue Mar 27 13:37:43 2018	(r465705)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1521671945
 SHA256 (lua-iconv-7.tar.gz) = c1db1915c754b5cfe7e45af61467bc6dfa4f0037d281ccbce6b53c974e2faf09
 SIZE (lua-iconv-7.tar.gz) = 7693

Modified: head/converters/lua-iconv/pkg-descr
==============================================================================
--- head/converters/lua-iconv/pkg-descr	Tue Mar 27 13:27:34 2018	(r465704)
+++ head/converters/lua-iconv/pkg-descr	Tue Mar 27 13:37:43 2018	(r465705)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803271337.w2RDbhlQ038220>