aboutsummaryrefslogtreecommitdiffstats
path: root/converters/iconv/Makefile
blob: da7402adcb459de60b90783565c3ebe34cb9aa0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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
USE_PERL5=  build
USE_LDCONFIG=   yes
SHEBANG_FILES=  iconv_builtin ccs/iconv_mktbl

MANCOMPRESSED=  yes
MAN1=       biconv.1
MAN3=       biconv.3 biconv_open.3 biconv_close.3

OPTIONS_DEFINE= CCSUTIL
OPTIONS_DEFAULT=CCSUTIL

OPTIONS_SUB=    yes

CCSUTIL_DESC=   Install Coded character set (CCS) util

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCCSUTIL}
USE_PERL5+= run
.else
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-ccs_Makefile
.endif

.include <bsd.port.mk>