summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-Shellwords
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/p5-Text-Shellwords')
-rw-r--r--textproc/p5-Text-Shellwords/DESCR7
-rw-r--r--textproc/p5-Text-Shellwords/Makefile22
-rw-r--r--textproc/p5-Text-Shellwords/PLIST1
-rw-r--r--textproc/p5-Text-Shellwords/distinfo4
4 files changed, 34 insertions, 0 deletions
diff --git a/textproc/p5-Text-Shellwords/DESCR b/textproc/p5-Text-Shellwords/DESCR
new file mode 100644
index 00000000000..976dfc4b7f5
--- /dev/null
+++ b/textproc/p5-Text-Shellwords/DESCR
@@ -0,0 +1,7 @@
+Shellwords is a thin wrapper around the shellwords.pl package, which
+comes preinstalled with Perl. This module imports a single subroutine,
+shellwords(). The shellwords() routine parses lines of text and
+returns a set of tokens using the same rules that the Unix shell does
+for its command-line arguments. Tokens are separated by whitespace,
+and can be delimited by single or double quotes. The module also
+respects backslash escapes.
diff --git a/textproc/p5-Text-Shellwords/Makefile b/textproc/p5-Text-Shellwords/Makefile
new file mode 100644
index 00000000000..f559f956e63
--- /dev/null
+++ b/textproc/p5-Text-Shellwords/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/08 12:52:35 minskim Exp $
+#
+
+DISTNAME= Text-Shellwords-1.02
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= http://www.cpan.org/authors/id/L/LD/LDS/
+
+MAINTAINER= dprice@cs.nmsu.edu
+HOMEPAGE= http://www.cpan.org/authors/id/L/LD/LDS/
+COMMENT= Wrapper around shellwords.pl package
+
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
+USE_BUILDLINK3= yes
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Text/Shellwords/.packlist
+
+pre-build:
+ cd ${WRKSRC}; perl Makefile.PL
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/p5-Text-Shellwords/PLIST b/textproc/p5-Text-Shellwords/PLIST
new file mode 100644
index 00000000000..25c56e11bfd
--- /dev/null
+++ b/textproc/p5-Text-Shellwords/PLIST
@@ -0,0 +1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/08 12:52:35 minskim Exp $
diff --git a/textproc/p5-Text-Shellwords/distinfo b/textproc/p5-Text-Shellwords/distinfo
new file mode 100644
index 00000000000..dc3032bfc07
--- /dev/null
+++ b/textproc/p5-Text-Shellwords/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/08 12:52:35 minskim Exp $
+
+SHA1 (Text-Shellwords-1.02.tar.gz) = afedaff985555260e2736cb28906840d3cb15d3d
+Size (Text-Shellwords-1.02.tar.gz) = 2162 bytes