summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-String-Truncate/DESCR3
-rw-r--r--textproc/p5-String-Truncate/Makefile23
-rw-r--r--textproc/p5-String-Truncate/distinfo5
3 files changed, 31 insertions, 0 deletions
diff --git a/textproc/p5-String-Truncate/DESCR b/textproc/p5-String-Truncate/DESCR
new file mode 100644
index 00000000000..6a6d313f2bd
--- /dev/null
+++ b/textproc/p5-String-Truncate/DESCR
@@ -0,0 +1,3 @@
+String::Truncate handles the simple but common problem of long strings and
+finite terminal width by eliding or truncating parts of the string from the
+left, right, middle or both ends, respectively.
diff --git a/textproc/p5-String-Truncate/Makefile b/textproc/p5-String-Truncate/Makefile
new file mode 100644
index 00000000000..034c08a6710
--- /dev/null
+++ b/textproc/p5-String-Truncate/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2012/08/08 10:24:13 sno Exp $
+
+DISTNAME= String-Truncate-1.100600
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=String/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/String-Truncate/
+COMMENT= Perl5 module for when strings are too long to be displayed in...
+LICENSE= ${PERL5_LICENSE}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+DEPENDS+= p5-Sub-Exporter>=0.953:../../devel/p5-Sub-Exporter
+DEPENDS+= p5-Sub-Install>=0.030:../../devel/p5-Sub-Exporter
+
+# EU::MM 6.31 is in core as well as Test::More 0.96 (we have 0.98)
+
+PERL5_PACKLIST= auto/String/Truncate/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-String-Truncate/distinfo b/textproc/p5-String-Truncate/distinfo
new file mode 100644
index 00000000000..4b16eeb3a28
--- /dev/null
+++ b/textproc/p5-String-Truncate/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2012/08/08 10:24:13 sno Exp $
+
+SHA1 (String-Truncate-1.100600.tar.gz) = 454576c4a2ecbe0e39477c1b3f322737fe8f325b
+RMD160 (String-Truncate-1.100600.tar.gz) = 4dc434c587a15dffd75f62e0c791d8045d2c5bc3
+Size (String-Truncate-1.100600.tar.gz) = 14489 bytes