git: 48a19241b745 - main - converters/iconv-extra: add license
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Jan 2022 21:31:34 UTC
The branch main has been updated by se:
URL: https://cgit.FreeBSD.org/ports/commit/?id=48a19241b745a2658c57143ee1a917034abea2c3
commit 48a19241b745a2658c57143ee1a917034abea2c3
Author: Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2022-01-04 21:23:21 +0000
Commit: Stefan Eßer <se@FreeBSD.org>
CommitDate: 2022-01-04 21:31:14 +0000
converters/iconv-extra: add license
There is no license file, but the C sources contain the same BSD
style 3-clause license as distributed in the converters/iconv port.
While here use @preunexec instead of the deprecated @unexec in
pkg-plist.
Approved by: bland (maintainer)
---
converters/iconv-extra/Makefile | 3 +++
converters/iconv-extra/pkg-plist | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/converters/iconv-extra/Makefile b/converters/iconv-extra/Makefile
index a1066a18ed77..4aef1fd5c0b8 100644
--- a/converters/iconv-extra/Makefile
+++ b/converters/iconv-extra/Makefile
@@ -2,12 +2,15 @@
PORTNAME= iconv-extra
PORTVERSION= 2.0
+PORTREVISION= 1
CATEGORIES= converters
MASTER_SITES= LOCAL/bland
MAINTAINER= bland@FreeBSD.org
COMMENT= Additional charsets for the iconv library (those from the Unicode site)
+LICENSE= BSD3CLAUSE
+
LIB_DEPENDS= libbiconv.so:converters/iconv
USES= perl5 uidfix
diff --git a/converters/iconv-extra/pkg-plist b/converters/iconv-extra/pkg-plist
index 9f2c9c940b3a..39cc9c99a35e 100644
--- a/converters/iconv-extra/pkg-plist
+++ b/converters/iconv-extra/pkg-plist
@@ -66,4 +66,4 @@ share/iconv/windows-1255.cct
share/iconv/windows-1256.cct
share/iconv/windows-1257.cct
share/iconv/windows-1258.cct
-@unexec sed '/^# BEGIN iconv-extra$/,/^# END iconv-extra$/d' %B/charset.aliases > %B/charset.aliases.new && mv -f %B/charset.aliases.new %B/charset.aliases
+@preunexec sed '/^# BEGIN iconv-extra$/,/^# END iconv-extra$/d' %B/charset.aliases > %B/charset.aliases.new && mv -f %B/charset.aliases.new %B/charset.aliases