freebsd-ports/converters/iconv/Makefile
2014-01-13 16:02:09 +00:00

40 lines
787 B
Makefile

# Created by: Konstantin Chuguev <Konstantin.Chuguev@dante.org.uk>
# $FreeBSD$
PORTNAME= iconv
PORTVERSION= 2.0
PORTREVISION= 4
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= bland
MAINTAINER= bland@FreeBSD.org
COMMENT= Charset conversion library and utilities
USES= shebangfix perl5 uidfix
USE_PERL5= build
USE_LDCONFIG= yes
SHEBANG_FILES= iconv_builtin ccs/iconv_mktbl
OPTIONS_DEFINE= CCSUTIL
OPTIONS_DEFAULT=CCSUTIL
OPTIONS_SUB= yes
CCSUTIL_DESC= Install Coded character set (CCS) util
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCCSUTIL}
USE_PERL5+= run
.else
EXTRA_PATCHES= ${FILESDIR}/extra-patch-ccs_Makefile
.endif
.if defined(NO_PROFILE)
PLIST_SUB+= PROFILE="@comment "
.else
PLIST_SUB+= PROFILE=""
.endif
.include <bsd.port.mk>