Import Sort::Naturally 1.03.
This module exports two functions, nsort and ncmp; they are used in implementing my idea of a "natural sorting" algorithm. Under natural sorting, numeric substrings are compared numerically, and other word-characters are compared lexically. ok ajacoutot@
This commit is contained in:
parent
795a501ff4
commit
18c657a617
11
devel/p5-Sort-Naturally/Makefile
Normal file
11
devel/p5-Sort-Naturally/Makefile
Normal file
@ -0,0 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2015/05/01 15:42:08 landry Exp $
|
||||
|
||||
COMMENT = sort lexically, but sort numeral parts numerically
|
||||
CATEGORIES = devel
|
||||
DISTNAME = Sort-Naturally-1.03
|
||||
MODULES = cpan
|
||||
|
||||
# perl
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/p5-Sort-Naturally/distinfo
Normal file
2
devel/p5-Sort-Naturally/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (Sort-Naturally-1.03.tar.gz) = 6qscXIdXWngmCJMEqx+P+n8Y5s2LOTdiPpmOhl7B50Y=
|
||||
SIZE (Sort-Naturally-1.03.tar.gz) = 11150
|
4
devel/p5-Sort-Naturally/pkg/DESCR
Normal file
4
devel/p5-Sort-Naturally/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
This module exports two functions, nsort and ncmp; they are used in
|
||||
implementing my idea of a "natural sorting" algorithm. Under natural
|
||||
sorting, numeric substrings are compared numerically, and other
|
||||
word-characters are compared lexically.
|
4
devel/p5-Sort-Naturally/pkg/PLIST
Normal file
4
devel/p5-Sort-Naturally/pkg/PLIST
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2015/05/01 15:42:08 landry Exp $
|
||||
${P5SITE}/Sort/
|
||||
${P5SITE}/Sort/Naturally.pm
|
||||
@man man/man3p/Sort::Naturally.3p
|
Loading…
Reference in New Issue
Block a user