aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Sort-PolySort/Makefile26
-rw-r--r--textproc/p5-Sort-PolySort/distinfo1
-rw-r--r--textproc/p5-Sort-PolySort/pkg-comment1
-rw-r--r--textproc/p5-Sort-PolySort/pkg-descr5
-rw-r--r--textproc/p5-Sort-PolySort/pkg-plist5
6 files changed, 39 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index a00d7e2a0995..49cd9389e8ce 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -90,6 +90,7 @@
SUBDIR += p5-PDF-Create
SUBDIR += p5-Sort-ArbBiLex
SUBDIR += p5-Sort-Fields
+ SUBDIR += p5-Sort-PolySort
SUBDIR += p5-Spreadsheet-ParseExcel
SUBDIR += p5-Spreadsheet-WriteExcel
SUBDIR += p5-String-ShellQuote
diff --git a/textproc/p5-Sort-PolySort/Makefile b/textproc/p5-Sort-PolySort/Makefile
new file mode 100644
index 000000000000..7733bcb1b21d
--- /dev/null
+++ b/textproc/p5-Sort-PolySort/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: textproc/p5-Sort-PolySort
+# Date created: 12 June 2001
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Sort-PolySort
+PORTVERSION= 0.12
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Sort
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+
+PERL_CONFIGURE= yes
+
+MAN3= Sort::PolySort.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+pre-patch:
+ @${PERL} -pi -e '/^\$$Sort::PolySort::VERSION =/ && chomp' \
+ ${WRKSRC}/lib/Sort/PolySort.pm
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Sort-PolySort/distinfo b/textproc/p5-Sort-PolySort/distinfo
new file mode 100644
index 000000000000..eb0f1dedda88
--- /dev/null
+++ b/textproc/p5-Sort-PolySort/distinfo
@@ -0,0 +1 @@
+MD5 (Sort-PolySort-0.12.tar.gz) = d8af79a5fd6937dd2ac352b3408edc5e
diff --git a/textproc/p5-Sort-PolySort/pkg-comment b/textproc/p5-Sort-PolySort/pkg-comment
new file mode 100644
index 000000000000..f73b34e86852
--- /dev/null
+++ b/textproc/p5-Sort-PolySort/pkg-comment
@@ -0,0 +1 @@
+General rules-based sorting of lists
diff --git a/textproc/p5-Sort-PolySort/pkg-descr b/textproc/p5-Sort-PolySort/pkg-descr
new file mode 100644
index 000000000000..52a96cec903a
--- /dev/null
+++ b/textproc/p5-Sort-PolySort/pkg-descr
@@ -0,0 +1,5 @@
+This module provides methods to sort a list of strings based on parsing
+the strings according to a configurable set of specifications.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-Sort-PolySort/pkg-plist b/textproc/p5-Sort-PolySort/pkg-plist
new file mode 100644
index 000000000000..39aaf77427db
--- /dev/null
+++ b/textproc/p5-Sort-PolySort/pkg-plist
@@ -0,0 +1,5 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sort/PolySort/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/Sort/PolySort.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sort/PolySort
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Sort 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Sort 2>/dev/null || true