Port details |
- p5-Sort-Naturally Sort lexically, but sort numeral parts numerically
- 1.03_1 textproc
=3 Version of this port present on the latest quarterly branch. - Maintainer: perl@FreeBSD.org
 - Port Added: 2005-02-15 17:18:50
- Last Update: 2022-07-20 14:23:14
- Commit Hash: 5cf7e35
- People watching this port, also watch:: p5-Algorithm-C3, p5-Readonly, p5-Net-Domain-TLD, screen, p5-MIME-Tools
- Also Listed In: perl5
- License: ART10 GPLv1+
- Description:
- 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.
This is the way I define natural sorting:
* Non-numeric word-character substrings are sorted lexically,
case-insensitively: "Foo" comes between "fish" and "fowl".
* Numeric substrings are sorted numerically: "100" comes after "20",
not before.
* \W substrings (neither words-characters nor digits) are ignored. Our use
* of \w, \d, \D, and \W is locale-sensitive: Sort::Naturally
uses a use locale statement.
* When comparing two strings, where a numeric substring in one place
is not up against a numeric substring in another, the non-numeric always comes
first. This is fudged by reading pretending that the lack of a number substring
has the value -1, like so:
* The start of a string is exceptional: leading non-\W (non-word,
non-digit) components are ignored, and numbers come before letters.
* I define "numeric substring" just as sequences matching m/\d+/ --
scientific notation, commas, decimals, etc., are not seen. If your data has
thousands separators in numbers ("20,000 Leagues Under The Sea" or "20.000
lieues sous les mers"), consider stripping them before feeding them to nsort or
ncmp.
WWW: https://metacpan.org/release/Sort-Naturally
- SVNWeb : git : Homepage
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- p5-Sort-Naturally>0:textproc/p5-Sort-Naturally
- To install the port:
- cd /usr/ports/textproc/p5-Sort-Naturally/ && make install clean
- To add the package, run one of these commands:
- pkg install textproc/p5-Sort-Naturally
- pkg install p5-Sort-Naturally
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: p5-Sort-Naturally
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (Sort-Naturally-1.03.tar.gz) = eaab1c5c87575a7826089304ab1f8ffa7f18e6cd8b3937623e998e865ec1e746
SIZE (Sort-Naturally-1.03.tar.gz) = 11150
- Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- Runtime dependencies:
-
- perl5>=5.32.r0<5.33 : lang/perl5.32
- This port is required by:
- for Build
-
- devel/p5-Data-TreeDumper
- dns/p5-Net-DNS-RR-SRV-Helper
- security/clusterssh
- security/kpcli
- sysutils/p5-Rex
-
Deleted ports which required this port:
- for Run
-
- devel/p5-Data-TreeDumper
- devel/p5-Sort-Sub
- dns/p5-Net-DNS-RR-SRV-Helper
- security/clusterssh
- security/kpcli
- sysutils/p5-Rex
-
Deleted ports which required this port:
- * - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...
- Configuration Options:
- No options to configure
- Options name:
- textproc_p5-Sort-Naturally
- USES:
- perl5
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: see SVNWeb link above for full details) |
Date | By | Description |
20 Jul 2022 14:23:14 1.03_1 |
Tobias C. Berner (tcberner)  |
textproc: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* -
* <glewis@FreeBSD.org>
* <koshy@india.hp.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Dalton <aaron@daltons.ca>
* Aaron Straup Cope
* Aaron Straup Cope <ascope@cpan.org>
* Ache
* Adam Herzog <adam@herzogdesigns.com>
* Adam Weinberger <adamw@FreeBSD.org> (Only the first 15 lines of the commit message are shown above ) |
25 Oct 2021 15:58:08 1.03_1 |
Po-Chuan Hsieh (sunpoet)  |
textproc/p5-Sort-Naturally: Add NO_ARCH |
06 Sep 2021 21:13:27 1.03_1 |
Rene Ladan (rene)  |
*: Return culot@'s ports to the pool (and perl@) after safekeeping his bit. |
06 Apr 2021 14:31:07 1.03_1 |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
27 May 2018 20:15:20
1.03_1 |
sunpoet  |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
15 Sep 2017 08:58:50
1.03_1 |
mat  |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
02 Mar 2015 23:51:50
1.03_1 |
bapt  |
Remove Author from pkg-descr and white space fixes |
26 Nov 2014 13:08:38
1.03_1 |
mat  |
Change the way Perl modules are installed, update the default Perl to 5.18.
Before, we had:
site_perl : lib/perl5/site_perl/5.18
site_perl/perl_arch : lib/perl5/site_perl/5.18/mach
perl_man3 : lib/perl5/5.18/man/man3
Now we have:
site_perl : lib/perl5/site_perl
site_arch : lib/perl5/site_perl/mach/5.18
perl_man3 : lib/perl5/site_perl/man/man3
Modules without any .so will be installed at the same place regardless of the (Only the first 15 lines of the commit message are shown above ) |
21 Jan 2014 23:21:10
1.03 |
mat  |
* Convert to staging
* Add license
* pet portlint
Sponsored by: Absolight |
20 Sep 2013 23:17:32
1.03 |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
11 Sep 2013 06:49:58
1.03 |
az  |
- convert to the new perl5 framework
- trim Makefile header
Approved by: portmgr (bapt@, blanket) |
12 Apr 2012 13:33:28
1.03 |
culot  |
- Update to 1.03
- Add LICENSE (Artistic 1 & GPL 1)
- Take maintainership
Changes: http://search.cpan.org/dist/Sort-Naturally/ChangeLog |
08 Jan 2012 07:01:25
1.02 |
eadler  |
Repeated words are are hard to to find sometimes.
Approved by: portmgr (itetcu) |
24 Oct 2011 09:11:38
1.02 |
dougb  |
The vast majority of pkg-descr files had the following format when they
had both lines:
Author: ...
WWW: ....
So standardize on that, and move them to the end of the file when necessary.
Also fix some more whitespace, and remove more "signature tags" of varying
forms, like -- name, etc.
s/AUTHOR/Author/
A few other various formatting issues |
24 Oct 2011 04:17:38
1.02 |
dougb  |
Remove more tags from pkg-descr files fo the form:
- Name
em@i.l
or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file. |
03 Jul 2011 14:40:25
1.02 |
ohauer  |
-remove MD5 |
29 Apr 2008 05:27:10
1.02 |
linimon  |
Reset aaron's port maintainerships due to many maintainer-timeouts. |
17 Apr 2008 14:30:31
1.02 |
araujo  |
- Take advantage of CPAN macro from bsd.sites.mk, change
${MASTER_SITE_PERL_CPAN} to CPAN.
PR: ports/122674
Submitted by: Philip M. Gollucci <pgollucci@p6m7g8.com>
Reworked by: araujo (myself)
Approved by: portmgr (pav) |
23 May 2006 16:43:10
1.02 |
aaron  |
- Updated maintainer
Approved by: tobez (implicit) |
24 Jan 2006 03:10:24
1.02 |
edwin  |
SHA256ify
Approved by: krion@ |
22 Jan 2006 02:55:05
1.02 |
edwin  |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related) |
15 Feb 2005 17:17:56
1.02 |
mat  |
Add p5-Sort-Naturally 1.02, sort lexically, but sort numeral parts
numerically.
PR: ports/p5-Sort-Naturally/
Submitted by: Aaron Dalton <aaron@daltons.ca> |