1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/converters/p5-Encode/Makefile
Rong-En Fan fe0e1b82d7 - Update to 2.47
PR:		ports/171123
Submitted by:	swills@
2012-09-01 16:46:05 +00:00

50 lines
1.1 KiB
Makefile

# New ports collection makefile for: p5-Encode
# Date created: Jul 24, 2005
# Whom: Rong-En Fan <rafan@infor.org>
#
# $FreeBSD$
#
PORTNAME= Encode
PORTVERSION= 2.47
CATEGORIES= converters perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:DANKOGAI
PKGNAMEPREFIX= p5-
MAINTAINER= rafan@FreeBSD.org
COMMENT= Provides interfaces between strings and the rest of the system
PERL_CONFIGURE= yes
MAN3= Encode.3 \
Encode::Alias.3 \
Encode::CJKConstants.3 \
Encode::CN::HZ.3 \
Encode::Config.3 \
Encode::Encoder.3 \
Encode::Encoding.3 \
Encode::GSM0338.3 \
Encode::Guess.3 \
Encode::JP::H2Z.3 \
Encode::JP::JIS7.3 \
Encode::KR::2022_KR.3 \
Encode::MIME::Header.3 \
Encode::MIME::Name.3 \
Encode::PerlIO.3 \
Encode::Supported.3 \
Encode::Unicode::UTF7.3 \
encoding.3
post-patch:
${PERL} -pi -e '$$_="" if $$.>=24 && $$.<=26; $$_="my \@exe_files=();\n" if $$.==25' ${WRKSRC}/Makefile.PL
post-configure:
@${FIND} ${WRKSRC}/ -name Makefile -exec \
${REINPLACE_CMD} -e 's,^CC =,CC ?=,' {} \;
regression-test:
cd ${WRKSRC} && ${MAKE} test
.include <bsd.port.mk>