Port details |
- p5-Sort-Naturally Sort lexically, but sort numeral parts numerically
- 1.03_1 textproc
=6 1.03_1Version of this port present on the latest quarterly branch. - Maintainer: perl@FreeBSD.org
 - Port Added: 2005-02-15 17:18:50
- Last Update: 2022-09-07 21:58:51
- Commit Hash: fb16dfe
- People watching this port, also watch:: p5-libwww, libevent, p5-Text-Unidecode, p5-MRO-Compat, p5-Error
- Also Listed In: perl5
- License: ART10 GPLv1+
- WWW:
- https://metacpan.org/release/Sort-Naturally
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- 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/kpcli
- security/p5-App-ClusterSSH
- 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/kpcli
- security/p5-App-ClusterSSH
- 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: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
1.03_1 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
1.03_1 20 Jul 2022 14:23:14
    |
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 ) |
1.03_1 25 Oct 2021 15:58:08
    |
Po-Chuan Hsieh (sunpoet)  |
textproc/p5-Sort-Naturally: Add NO_ARCH |
1.03_1 06 Sep 2021 21:13:27
    |
Rene Ladan (rene)  |
*: Return culot@'s ports to the pool (and perl@) after safekeeping his bit. |
1.03_1 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.03_1 27 May 2018 20:15:20
  |
sunpoet  |
Update WWW
search.cpan.org is shutting down.
It will redirect to metacpan.org after June 25, 2018.
With hat: perl |
1.03_1 15 Sep 2017 08:58:50
  |
mat  |
Fix license information for portgs that use "the same license as Perl".
Sponsored by: Absolight |
1.03_1 02 Mar 2015 23:51:50
  |
bapt  |
Remove Author from pkg-descr and white space fixes |
1.03_1 26 Nov 2014 13:08:38
  |
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 ) |
1.03 21 Jan 2014 23:21:10
  |
mat  |
* Convert to staging
* Add license
* pet portlint
Sponsored by: Absolight |
1.03 20 Sep 2013 23:17:32
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
textproc) |
1.03 11 Sep 2013 06:49:58
  |
az  |
- convert to the new perl5 framework
- trim Makefile header
Approved by: portmgr (bapt@, blanket) |
1.03 12 Apr 2012 13:33:28
 |
culot  |
- Update to 1.03
- Add LICENSE (Artistic 1 & GPL 1)
- Take maintainership
Changes: http://search.cpan.org/dist/Sort-Naturally/ChangeLog |
1.02 08 Jan 2012 07:01:25
 |
eadler  |
Repeated words are are hard to to find sometimes.
Approved by: portmgr (itetcu) |
1.02 24 Oct 2011 09:11:38
 |
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 |
1.02 24 Oct 2011 04:17:38
 |
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. |
1.02 03 Jul 2011 14:40:25
 |
ohauer  |
-remove MD5 |
1.02 29 Apr 2008 05:27:10
 |
linimon  |
Reset aaron's port maintainerships due to many maintainer-timeouts. |
1.02 17 Apr 2008 14:30:31
 |
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) |
1.02 23 May 2006 16:43:10
 |
aaron  |
- Updated maintainer
Approved by: tobez (implicit) |
1.02 24 Jan 2006 03:10:24
 |
edwin  |
SHA256ify
Approved by: krion@ |
1.02 22 Jan 2006 02:55:05
 |
edwin  |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related) |
1.02 15 Feb 2005 17:17:56
 |
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> |