aboutsummaryrefslogtreecommitdiffstats
path: root/misc/p5-I18N-Charset/Makefile
blob: 6a3d61bddf41286c80a0d6f49a49df8d292307a4 (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
# New ports collection makefile for:    p5-I18N-Charset
# Date created:         26 December 1999
# Whom:                 Dmitry Sivachenko <dima@Chg.RU>
#
# $FreeBSD$
#

PORTNAME=   I18N-Charset
PORTVERSION=    1.37.9
CATEGORIES= misc perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= I18N
PKGNAMEPREFIX=  p5-
DISTNAME=   ${PORTNAME}-${PORTVERSION:C/\.(.)$/\1/}

MAINTAINER= demon@FreeBSD.org
COMMENT=    Module which maps CharSet names to the names registered with IANA

BUILD_DEPENDS=  ${SITE_PERL}/IO/String.pm:${PORTSDIR}/devel/p5-IO-String \
        ${SITE_PERL}/Unicode/MapUTF8.pm:${PORTSDIR}/converters/p5-Unicode-MapUTF8 \
        ${SITE_PERL}/App/Info/Lib/Iconv.pm:${PORTSDIR}/devel/p5-App-Info
RUN_DEPENDS=    ${BUILD_DEPENDS}
BUILD_DEPENDS+= ${SITE_PERL}/IO/Capture/Stderr.pm:${PORTSDIR}/devel/p5-IO-Capture

PERL_CONFIGURE= YES

MAN3=       I18N::Charset.3

post-patch:
    @${PERL} -pi -e 's#\r$$##g' ${WRKSRC}/lib/I18N/Charset.pm
    @${PERL} -pi -e 's#\r$$##g' ${WRKSRC}/lib/I18N/Charset/character-sets

.include <bsd.port.mk>