diff --git a/converters/iconv/Makefile b/converters/iconv/Makefile index 31d64c74edf2..f6c9305955c6 100644 --- a/converters/iconv/Makefile +++ b/converters/iconv/Makefile @@ -1,33 +1,38 @@ # Created by: Konstantin Chuguev PORTNAME= iconv PORTVERSION= 2.0 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= converters MASTER_SITES= LOCAL/bland MAINTAINER= bland@FreeBSD.org COMMENT= Charset conversion library and utilities +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + USES= shebangfix perl5 uidfix -USE_PERL5= build USE_LDCONFIG= yes +USE_PERL5= build SHEBANG_FILES= iconv_builtin ccs/iconv_mktbl OPTIONS_DEFINE= CCSUTIL OPTIONS_DEFAULT=CCSUTIL OPTIONS_SUB= yes CCSUTIL_DESC= Install Coded character set (CCS) util CCSUTIL_USE= PERL5=run CCSUTIL_EXTRA_PATCHES_OFF= ${FILESDIR}/extra-patch-ccs_Makefile -.if defined(NO_PROFILE) +.include + +.if defined(NO_PROFILE) || ${OSVERSION} > 1400001 PLIST_SUB+= PROFILE="@comment " .else PLIST_SUB+= PROFILE="" .endif -.include +.include