freebsd-ports/math/p5-Math-Base85/Makefile
Mathieu Arnold 241b776f8f Update to 0.2
Remove MANPREFIX, fixup WWW, use %%SITE_PERL%%
maintainer timeout (4 months)

PR:		52288
Submitted by:	myself
2003-10-02 16:50:02 +00:00

31 lines
692 B
Makefile

# New ports collection makefile for: math/p5-Math-Base85
# Date created: 17 Sep 2001
# Whom: Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Math-Base85
PORTVERSION= 0.2
CATEGORIES= math perl5 converters net
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Math
PKGNAMEPREFIX= p5-
MAINTAINER= tobez@FreeBSD.org
COMMENT= Perl extension for base 85 numbers, as referenced by RFC 1924
PERL_CONFIGURE= yes
MAN3= Math::Base85.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
post-patch:
@${PERL} -pi -e 's/use Math::Big/#$$&/;' \
-e 's|^use constant\s*(.*?)\s*=>.s*(.*)$$|sub $$1 { $$2 }|' ${WRKSRC}/Base85.pm
.endif
.include <bsd.port.post.mk>