freebsd-ports/textproc/p5-Number-Format/Makefile
Marcelo Araujo 4aaab89f57 - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_CPAN} to CPAN.
PR:		ports/122674
Submitted by:	Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by:	araujo (myself)
Approved by:	portmgr (pav)
2008-04-17 14:30:31 +00:00

30 lines
626 B
Makefile

# New ports collection makefile for: Number::Format
# Date created: 27 Oct 2001
# Whom: Seamus Venasse <svenasse@polaris.ca>
#
# $FreeBSD$
#
PORTNAME= Number-Format
PORTVERSION= 1.52
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Perl extension for formatting numbers
PERL_CONFIGURE= yes
MAN3= Number::Format.3
.include <bsd.port.pre.mk>
post-patch:
${PERL} -pi -e 's/en_US/en_US.US-ASCII/' ${WRKSRC}/t/*.t
.if ${PERL_LEVEL} < 500800
${PERL} -pi -e '$$_="" if m{5.008}' ${WRKSRC}/Format.pm
.endif
.include <bsd.port.post.mk>