aboutsummaryrefslogtreecommitdiff
path: root/converters/iconv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/iconv/Makefile')
-rw-r--r--converters/iconv/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/converters/iconv/Makefile b/converters/iconv/Makefile
index 31d64c74edf2..d0bb4ba23494 100644
--- a/converters/iconv/Makefile
+++ b/converters/iconv/Makefile
@@ -1,17 +1,18 @@
-# Created by: Konstantin Chuguev <Konstantin.Chuguev@dante.org.uk>
-
PORTNAME= iconv
PORTVERSION= 2.0
-PORTREVISION= 4
+PORTREVISION= 7
CATEGORIES= converters
MASTER_SITES= LOCAL/bland
-MAINTAINER= bland@FreeBSD.org
+MAINTAINER= bofh@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
@@ -24,10 +25,12 @@ 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 <bsd.port.pre.mk>
+
+.if defined(NO_PROFILE) || ${OSVERSION} > 1400001
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>