# New ports collection makefile for:	security/p5-Authen-Htpasswd
# Date created:				11 November 2005
# Whom:					Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD: ports/security/p5-Authen-Htpasswd/Makefile,v 1.3 2006/03/21 13:21:39 tobez Exp $
#

PORTNAME=	Authen-Htpasswd
PORTVERSION=	0.14
CATEGORIES=	security perl5 www
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Authen
PKGNAMEPREFIX=	p5-

MAINTAINER=	tobez@FreeBSD.org
COMMENT=	Authen::Htpasswd - interface to read and modify Apache .htpasswd files
TAGS=		apache authentication pass password md5 sha1 crypto

BUILD_DEPENDS=	${SITE_PERL}/IO/LockedFile.pm:${PORTSDIR}/devel/p5-IO-LockedFile \
		${SITE_PERL}/${PERL_ARCH}/Digest/SHA1.pm:${PORTSDIR}/security/p5-Digest-SHA1 \
		${SITE_PERL}/Crypt/PasswdMD5.pm:${PORTSDIR}/security/p5-Crypt-PasswdMD5 \
		${SITE_PERL}/Class/Accessor/Fast.pm:${PORTSDIR}/devel/p5-Class-Accessor
RUN_DEPENDS=	${BUILD_DEPENDS}

PERL_CONFIGURE=	yes

MAN3=	Authen::Htpasswd.3 \
	Authen::Htpasswd::User.3 \
	Authen::Htpasswd::Util.3

post-extract:
	rm \
	${WRKSRC}/.DS_Store \
	${WRKSRC}/lib/.DS_Store \
	${WRKSRC}/lib/Authen/.DS_Store \
	${WRKSRC}/t/.DS_Store

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
IGNORE=		requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif

.include <bsd.port.post.mk>
