freebsd-ports/security/p5-Authen-Simple/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

38 lines
1,000 B
Makefile

# New ports collection makefile for: Authen-Simple
# Date created: 21 May 2006
# Whom: Aaron Dalton <aaron@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Authen-Simple
PORTVERSION= 0.4
PORTREVISION= 2
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple authentication framework
RUN_DEPENDS= ${SITE_PERL}/Class/Accessor/Fast.pm:${PORTSDIR}/devel/p5-Class-Accessor \
${SITE_PERL}/Class/Data/Inheritable.pm:${PORTSDIR}/devel/p5-Class-Data-Inheritable \
${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \
p5-Params-Validate>=0:${PORTSDIR}/devel/p5-Params-Validate
BUILD_DEPENDS= ${RUN_DEPENDS}
MAN3= Authen::Simple.3 \
Authen::Simple::Adapter.3 \
Authen::Simple::Apache.3 \
Authen::Simple::Log.3 \
Authen::Simple::Password.3
PERL_MODBUILD= 5.8.0+
.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>