git: 18b425d280f0 - main - converters/iconv-rfc1345: add license

From: Stefan Eßer <se_at_FreeBSD.org>
Date: Tue, 04 Jan 2022 21:31:35 UTC
The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18b425d280f0f87063e8af5febd8d679c45d6613

commit 18b425d280f0f87063e8af5febd8d679c45d6613
Author:     Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-01-04 21:28:28 +0000
Commit:     Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-01-04 21:31:14 +0000

    converters/iconv-rfc1345: add license
    
    There is no indication of a license intended by the author, but
    since this is an extension of the converters/iconv port which is
    distributed under a 3-clause BSD license, add it to this port, too.
    
    While here use @preunexec instead of the deprecated @unexec in
    pkg-plist.
    
    Approved by:    bland (maintainer)
---
 converters/iconv-rfc1345/Makefile  | 3 +++
 converters/iconv-rfc1345/pkg-plist | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/converters/iconv-rfc1345/Makefile b/converters/iconv-rfc1345/Makefile
index 0b50aac4f10b..5e2434e93e17 100644
--- a/converters/iconv-rfc1345/Makefile
+++ b/converters/iconv-rfc1345/Makefile
@@ -2,12 +2,15 @@
 
 PORTNAME=	iconv-rfc1345
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	converters
 MASTER_SITES=	LOCAL/bland
 
 MAINTAINER=	bland@FreeBSD.org
 COMMENT=	Additional charset modules for the iconv library (from RFC1345)
 
+LICENSE=	BSD3CLAUSE
+
 LIB_DEPENDS=	libbiconv.so:converters/iconv
 
 USES=		perl5 uidfix
diff --git a/converters/iconv-rfc1345/pkg-plist b/converters/iconv-rfc1345/pkg-plist
index adaf3a90b288..08a03316d9c3 100644
--- a/converters/iconv-rfc1345/pkg-plist
+++ b/converters/iconv-rfc1345/pkg-plist
@@ -106,4 +106,4 @@ share/iconv/iso-ir-99.cct
 share/iconv/iso646-dk.cct
 share/iconv/iso646-kr.cct
 share/iconv/macintosh.cct
-@unexec sed '/^# BEGIN iconv-rfc1345$/,/^# END iconv-rfc1345$/d' %B/charset.aliases > %B/charset.aliases.new && mv -f %B/charset.aliases.new %B/charset.aliases
+@preunexec sed '/^# BEGIN iconv-rfc1345$/,/^# END iconv-rfc1345$/d' %B/charset.aliases > %B/charset.aliases.new && mv -f %B/charset.aliases.new %B/charset.aliases