aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-String-Strip/Makefile23
-rw-r--r--textproc/p5-String-Strip/distinfo1
-rw-r--r--textproc/p5-String-Strip/pkg-comment1
-rw-r--r--textproc/p5-String-Strip/pkg-descr10
-rw-r--r--textproc/p5-String-Strip/pkg-plist8
6 files changed, 44 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9d469ccfad5c..2ab02f2c5cbc 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -73,6 +73,7 @@
SUBDIR += p5-DelimMatch
SUBDIR += p5-Spreadsheet-ParseExcel
SUBDIR += p5-Spreadsheet-WriteExcel
+ SUBDIR += p5-String-Strip
SUBDIR += p5-Text-Autoformat
SUBDIR += p5-Text-Bind
SUBDIR += p5-Text-CSV_XS
diff --git a/textproc/p5-String-Strip/Makefile b/textproc/p5-String-Strip/Makefile
new file mode 100644
index 000000000000..58d96e97d35e
--- /dev/null
+++ b/textproc/p5-String-Strip/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: textproc/p5-String-Strip
+# Date created: 31 December 2000
+# Whom: Anton Berezin <tobez@tobez.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= String-Strip
+PORTVERSION= 1.01
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= String
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@tobez.org
+
+USE_PERL5= yes
+PERL_CONFIGURE= yes
+
+MAN3= String::Strip.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-String-Strip/distinfo b/textproc/p5-String-Strip/distinfo
new file mode 100644
index 000000000000..51ac4920acf8
--- /dev/null
+++ b/textproc/p5-String-Strip/distinfo
@@ -0,0 +1 @@
+MD5 (String-Strip-1.01.tar.gz) = a1471ad67dbb7375dd0d288026ee7122
diff --git a/textproc/p5-String-Strip/pkg-comment b/textproc/p5-String-Strip/pkg-comment
new file mode 100644
index 000000000000..278901761888
--- /dev/null
+++ b/textproc/p5-String-Strip/pkg-comment
@@ -0,0 +1 @@
+Perl extension for fast, commonly used, string operations
diff --git a/textproc/p5-String-Strip/pkg-descr b/textproc/p5-String-Strip/pkg-descr
new file mode 100644
index 000000000000..d996c36c6865
--- /dev/null
+++ b/textproc/p5-String-Strip/pkg-descr
@@ -0,0 +1,10 @@
+String::Strip is an XS extension that implements four white space
+removal routines: StripSpace (remove all white space), StripLSpace
+(strip leading white space), StripTSpace (strip trailing white space),
+and StripLTSpace (strip leading and trailing white space). All four of
+these routines work directly on the input argument, rather than passing
+back a result. The routines tend to be roughly 30% faster than
+equivalent function regex code.
+
+-Anton
+<tobez@tobez.org>
diff --git a/textproc/p5-String-Strip/pkg-plist b/textproc/p5-String-Strip/pkg-plist
new file mode 100644
index 000000000000..580b7b42bd94
--- /dev/null
+++ b/textproc/p5-String-Strip/pkg-plist
@@ -0,0 +1,8 @@
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/Strip/Strip.so
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/Strip/Strip.bs
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/Strip/autosplit.ix
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/Strip/.packlist
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String/Strip.pm
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String/Strip
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/String 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/String 2>/dev/null || true