mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
75ff8591bb
devel/p5-Encode -> converters/p5-Encode devel/p5-Encode-compat -> converters/p5-Encode-compat PR: ports/97644 Submitted by: Rong-En Fan <rafan@infor.org> (maintainer)
36 lines
761 B
Makefile
36 lines
761 B
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.17
|
|
CATEGORIES= converters perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
MASTER_SITE_SUBDIR= Encode
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= rafan@infor.org
|
|
COMMENT= Provides interfaces between strings and the rest of the system
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500703
|
|
IGNORE= requires Perl 5.7.3 or above
|
|
.endif
|
|
|
|
.if ${PERL_LEVEL} > 500800
|
|
post-patch:
|
|
${PERL} -pi -e '$$_="" if $$.>=18 && $$.<=20' ${WRKSRC}/Makefile.PL
|
|
.endif
|
|
|
|
post-configure:
|
|
@${FIND} ${WRKSRC}/ -name Makefile -exec \
|
|
${REINPLACE_CMD} -e 's,^CC =,CC ?=,' {} \;
|
|
|
|
.include <bsd.port.post.mk>
|