aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjfitz <jfitz@FreeBSD.org>1997-06-27 09:54:31 +0800
committerjfitz <jfitz@FreeBSD.org>1997-06-27 09:54:31 +0800
commit181cbae8b9ec36a51a03feed31ccc00836944b51 (patch)
treeecf9b9b02978c03f1be96b2ff194101cd83f9f41
parentcc439bdf9daa4a7b80a7cd74a9ef42130179bbd2 (diff)
downloadfreebsd-ports-gnome-181cbae8b9ec36a51a03feed31ccc00836944b51.tar.gz
freebsd-ports-gnome-181cbae8b9ec36a51a03feed31ccc00836944b51.tar.zst
freebsd-ports-gnome-181cbae8b9ec36a51a03feed31ccc00836944b51.zip
Import of a perl5 module to sort revision numbers
-rw-r--r--devel/p5-Sort-Versions/Makefile25
-rw-r--r--devel/p5-Sort-Versions/distinfo1
-rw-r--r--devel/p5-Sort-Versions/pkg-comment1
-rw-r--r--devel/p5-Sort-Versions/pkg-descr21
-rw-r--r--devel/p5-Sort-Versions/pkg-plist4
5 files changed, 52 insertions, 0 deletions
diff --git a/devel/p5-Sort-Versions/Makefile b/devel/p5-Sort-Versions/Makefile
new file mode 100644
index 000000000000..c015236b9237
--- /dev/null
+++ b/devel/p5-Sort-Versions/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: p5-Sort-Versions
+# Version required: 1.1
+# Date created: June 26th 1997
+# Whom: James FitzGibbon <jfitz@FreeBSD.ORG>
+#
+# $Id$
+#
+
+DISTNAME= SortVersions-1.1
+PKGNAME= p5-Sort-Versions-1.1
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Sort
+
+MAINTAINER= jfitz@FreeBSD.ORG
+
+USE_PERL5= YES
+
+MANPREFIX= ${PREFIX}/lib/perl5
+MAN3= Sort::Versions.3
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${PREFIX}/bin/perl Makefile.PL
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Sort-Versions/distinfo b/devel/p5-Sort-Versions/distinfo
new file mode 100644
index 000000000000..983dd1cc4e93
--- /dev/null
+++ b/devel/p5-Sort-Versions/distinfo
@@ -0,0 +1 @@
+MD5 (SortVersions-1.1.tar.gz) = 4b769cd688422b9158fbf8f5473c56fc
diff --git a/devel/p5-Sort-Versions/pkg-comment b/devel/p5-Sort-Versions/pkg-comment
new file mode 100644
index 000000000000..f2ed5b571130
--- /dev/null
+++ b/devel/p5-Sort-Versions/pkg-comment
@@ -0,0 +1 @@
+a perl 5 module for sorting of revision-like numbers
diff --git a/devel/p5-Sort-Versions/pkg-descr b/devel/p5-Sort-Versions/pkg-descr
new file mode 100644
index 000000000000..5b3d60bcd09e
--- /dev/null
+++ b/devel/p5-Sort-Versions/pkg-descr
@@ -0,0 +1,21 @@
+ Sort::Versions allows easy sorting of mixed non-numeric
+ and numeric strings, like the "version numbers" that many
+ shared library systems and revision control packages use.
+ This is quite useful if you are trying to deal with shared
+ libraries. It can also be applied to applications that
+ intersperse variable-width numeric fields within text.
+ Other applications can undoubtedly be found.
+
+ For an explanation of the algorithm, it's simplest to look
+ at these examples:
+
+ 1.1 < 1.2
+ 1.1a < 1.2
+ 1.1 < 1.1.1
+ 1.1 < 1.1a
+ 1.1.a < 1.1a
+ 1 < a
+ a < b
+ 1 < 2
+ 1 < 0002
+ 1.5 < 1.06
diff --git a/devel/p5-Sort-Versions/pkg-plist b/devel/p5-Sort-Versions/pkg-plist
new file mode 100644
index 000000000000..a68190ea81b3
--- /dev/null
+++ b/devel/p5-Sort-Versions/pkg-plist
@@ -0,0 +1,4 @@
+lib/perl5/man/man3/Sort::Versions.3.gz
+lib/perl5/site_perl/Sort/Versions.pm
+lib/perl5/site_perl/i386-freebsd/auto/Sort/Versions/.packlist
+@dirrm lib/perl5/site_perl/i386-freebsd/auto/Sort/Versions