1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/devel/p5-PerlIO-via-MD5/Makefile
Martin Matuska 17e550ca2f Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
2010-09-21 16:08:11 +00:00

31 lines
751 B
Makefile

# New ports collection makefile for: devel/p5-PerlIO-via-MD5
# Date created: 22 March 2005
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= PerlIO-via-MD5
PORTVERSION= 0.06
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= PerlIO layer for creating an MD5 digest of a file
PERL_CONFIGURE= 5.8.0+
USE_PERL5_REASON= requires PerlIO, which was introduced in Perl 5.8.0. Install lang/perl5.8 and try again
MAN3= PerlIO::via::MD5.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
BUILD_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5
.endif
.include <bsd.port.post.mk>