aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Truncate
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2009-02-25 09:53:20 +0000
committerLars Thegler <lth@FreeBSD.org>2009-02-25 09:53:20 +0000
commit71e03e57145942e72294fafd45f7571499310307 (patch)
treedf267a34aaef8fd0b4e822dbf3466664de8bde68 /textproc/p5-Text-Truncate
parentcbd208d71338f30278e42bca7a1913c8c28194cd (diff)
downloadports-71e03e57145942e72294fafd45f7571499310307.tar.gz
ports-71e03e57145942e72294fafd45f7571499310307.zip
Notes
Diffstat (limited to 'textproc/p5-Text-Truncate')
-rw-r--r--textproc/p5-Text-Truncate/Makefile21
-rw-r--r--textproc/p5-Text-Truncate/distinfo3
-rw-r--r--textproc/p5-Text-Truncate/pkg-descr4
-rw-r--r--textproc/p5-Text-Truncate/pkg-plist5
4 files changed, 33 insertions, 0 deletions
diff --git a/textproc/p5-Text-Truncate/Makefile b/textproc/p5-Text-Truncate/Makefile
new file mode 100644
index 000000000000..7d17307318e9
--- /dev/null
+++ b/textproc/p5-Text-Truncate/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: Text-Truncate
+# Date created: 25 February 2009
+# Whom: Lars Thegler <lth@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Text-Truncate
+PORTVERSION= 1.03
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= Perl module with simple string truncating routine
+
+PERL_CONFIGURE= yes
+
+MAN3= Text::Truncate.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Truncate/distinfo b/textproc/p5-Text-Truncate/distinfo
new file mode 100644
index 000000000000..88c4bcc9da09
--- /dev/null
+++ b/textproc/p5-Text-Truncate/distinfo
@@ -0,0 +1,3 @@
+MD5 (Text-Truncate-1.03.tar.gz) = 8e5eb57f2f8da943dd7a306295d4fdef
+SHA256 (Text-Truncate-1.03.tar.gz) = 126db2d7335b2ae0c2be6fa015d7dc6533bb7a4ea266e29d96f38ed7d36599f2
+SIZE (Text-Truncate-1.03.tar.gz) = 4832
diff --git a/textproc/p5-Text-Truncate/pkg-descr b/textproc/p5-Text-Truncate/pkg-descr
new file mode 100644
index 000000000000..89ae8c02cbbe
--- /dev/null
+++ b/textproc/p5-Text-Truncate/pkg-descr
@@ -0,0 +1,4 @@
+This is a simple, no-brainer subroutine to truncate a string and
+add an optional cutoff marker (defaults to ``...'').
+
+WWW: http://search.cpan.org/dist/Text-Truncate/
diff --git a/textproc/p5-Text-Truncate/pkg-plist b/textproc/p5-Text-Truncate/pkg-plist
new file mode 100644
index 000000000000..0cbf7f17b10b
--- /dev/null
+++ b/textproc/p5-Text-Truncate/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Text/Truncate.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Truncate/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Truncate
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text
+@dirrmtry %%SITE_PERL%%/Text