7d0a4d58c7
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.
16 lines
499 B
Makefile
16 lines
499 B
Makefile
# $NetBSD: Makefile,v 1.1 2012/11/07 10:13:15 wiz Exp $
|
|
|
|
DISTNAME= Sort-Naturally-1.03
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Sort/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://search.cpan.org/dist/Sort-Naturally/
|
|
COMMENT= Perl5 module for sorting numerical parts numerically, rest lexically
|
|
|
|
USE_LANGUAGES= # empty
|
|
PERL5_PACKLIST= auto/Sort/Naturally/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|