# New ports collection makefile for:	devel/p5-Sort-Key
# Date created:				14 October 2005
# Whom:					Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD: ports/devel/p5-Sort-Key/Makefile,v 1.7 2006/05/19 23:26:21 aaron Exp $
#

PORTNAME=	Sort-Key
PORTVERSION=	1.25
CATEGORIES=	devel perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Sort
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Sorts objects by one or several keys really fast

BUILD_DEPENDS=	${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple

PERL_CONFIGURE=	yes

MAN3=	Sort::Key.3 \
	Sort::Key::Maker.3 \
	Sort::Key::Multi.3 \
	Sort::Key::Natural.3 \
	Sort::Key::Register.3

.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>
