aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2022-01-04 21:23:21 +0000
committerStefan Eßer <se@FreeBSD.org>2022-01-04 21:31:14 +0000
commit48a19241b745a2658c57143ee1a917034abea2c3 (patch)
tree59ee73472201a044d7a98b65607b380e0b79bb5d
parent796ea007bab0f64dc2c144ad885fbb00e82d847a (diff)
downloadports-48a19241b745a2658c57143ee1a917034abea2c3.tar.gz
ports-48a19241b745a2658c57143ee1a917034abea2c3.zip
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)
-rw-r--r--converters/iconv-extra/Makefile3
-rw-r--r--converters/iconv-extra/pkg-plist2
2 files changed, 4 insertions, 1 deletions
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