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

34 lines
747 B
Makefile

# New ports collection makefile for: security/p5-Module-Signature
# Date created: Aug 27 2003
# Whom: Autrijus Tang <autrijus@autrijus.org>
#
# $FreeBSD$
#
PORTNAME= Module-Signature
PORTVERSION= 0.64
PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Module signature file manipulation
RUN_DEPENDS= ${SITE_PERL}/PAR/Dist.pm:${PORTSDIR}/devel/p5-PAR-Dist \
${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN1= cpansign.1
MAN3= Module::Signature.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501000
RUN_DEPENDS+= p5-Digest-SHA>=5.47:${PORTSDIR}/security/p5-Digest-SHA
.endif
.include <bsd.port.post.mk>