From 5047af6342c34e3fe8dc62c95e39a8270fa4df2e Mon Sep 17 00:00:00 2001 From: Anton Berezin Date: Fri, 14 Oct 2005 09:21:46 +0000 Subject: [PATCH] Add devel/p5-Sort-Key 0.14, a perl module that sorts objects by one or several keys really fast. --- devel/Makefile | 1 + devel/p5-Sort-Key/Makefile | 30 ++++++++++++++++++++++++++++++ devel/p5-Sort-Key/distinfo | 2 ++ devel/p5-Sort-Key/pkg-descr | 4 ++++ devel/p5-Sort-Key/pkg-plist | 10 ++++++++++ 5 files changed, 47 insertions(+) create mode 100644 devel/p5-Sort-Key/Makefile create mode 100644 devel/p5-Sort-Key/distinfo create mode 100644 devel/p5-Sort-Key/pkg-descr create mode 100644 devel/p5-Sort-Key/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 35fc970ac2c2..e19667f36b46 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1102,6 +1102,7 @@ SUBDIR += p5-Smart-Comments SUBDIR += p5-Sort-Array SUBDIR += p5-Sort-ArrayOfArrays + SUBDIR += p5-Sort-Key SUBDIR += p5-Sort-Tree SUBDIR += p5-Sort-Versions SUBDIR += p5-Spiffy diff --git a/devel/p5-Sort-Key/Makefile b/devel/p5-Sort-Key/Makefile new file mode 100644 index 000000000000..e5f473ecbc14 --- /dev/null +++ b/devel/p5-Sort-Key/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: devel/p5-Sort-Key +# Date created: 14 October 2005 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= Sort-Key +PORTVERSION= 0.14 +CATEGORIES= devel perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Sort +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= Sort::Key - sorts objects by one or several keys really fast + +PERL_CONFIGURE= yes + +MAN3= Sort::Key.3 \ + Sort::Key::Maker.3 \ + Sort::Key::Register.3 + +.include + +.if ${PERL_LEVEL} < 500800 +IGNORE= Port requires perl 5.8.0 or later. Install lang/perl5.8 and try again +.endif + +.include diff --git a/devel/p5-Sort-Key/distinfo b/devel/p5-Sort-Key/distinfo new file mode 100644 index 000000000000..80d21ba344eb --- /dev/null +++ b/devel/p5-Sort-Key/distinfo @@ -0,0 +1,2 @@ +MD5 (Sort-Key-0.14.tar.gz) = 0d5e85052b35b7ba7f66f0b9db2a8bcb +SIZE (Sort-Key-0.14.tar.gz) = 19428 diff --git a/devel/p5-Sort-Key/pkg-descr b/devel/p5-Sort-Key/pkg-descr new file mode 100644 index 000000000000..322acfcb0837 --- /dev/null +++ b/devel/p5-Sort-Key/pkg-descr @@ -0,0 +1,4 @@ +Sort::Key provides a set of functions to sort object arrays by some +(calculated) key value. + +WWW: http://search.cpan.org/dist/Sort-Key/ diff --git a/devel/p5-Sort-Key/pkg-plist b/devel/p5-Sort-Key/pkg-plist new file mode 100644 index 000000000000..b476a632e56a --- /dev/null +++ b/devel/p5-Sort-Key/pkg-plist @@ -0,0 +1,10 @@ +%%SITE_PERL%%/%%PERL_ARCH%%/Sort/Key.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Sort/Key/Maker.pm +%%SITE_PERL%%/%%PERL_ARCH%%/Sort/Key/Register.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sort/Key/.packlist +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sort/Key/Key.bs +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sort/Key/Key.so +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sort/Key 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sort 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Sort/Key 2>/dev/null || true +@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Sort 2>/dev/null || true