diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Text-Truncate/Makefile | 21 | ||||
-rw-r--r-- | textproc/p5-Text-Truncate/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-Text-Truncate/pkg-descr | 4 | ||||
-rw-r--r-- | textproc/p5-Text-Truncate/pkg-plist | 5 |
5 files changed, 34 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 60cd77857011..6995905efe95 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -647,6 +647,7 @@ SUBDIR += p5-Text-Tmpl SUBDIR += p5-Text-Trac SUBDIR += p5-Text-Trim + SUBDIR += p5-Text-Truncate SUBDIR += p5-Text-Unaccent SUBDIR += p5-Text-VimColor SUBDIR += p5-Text-WikiCreole 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 |