pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/p5-Text-Shellwords Import p5-Text-Shellwords ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08f3267ccab5
branches:  trunk
changeset: 487063:08f3267ccab5
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jan 08 12:52:35 2005 +0000

description:
Import p5-Text-Shellwords from pkgsrc-wip.  Packaged by David Price.

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.

diffstat:

 textproc/p5-Text-Shellwords/DESCR    |   7 +++++++
 textproc/p5-Text-Shellwords/Makefile |  22 ++++++++++++++++++++++
 textproc/p5-Text-Shellwords/PLIST    |   1 +
 textproc/p5-Text-Shellwords/distinfo |   4 ++++
 4 files changed, 34 insertions(+), 0 deletions(-)

diffs (50 lines):

diff -r f9d424026cbd -r 08f3267ccab5 textproc/p5-Text-Shellwords/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Text-Shellwords/DESCR Sat Jan 08 12:52:35 2005 +0000
@@ -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 -r f9d424026cbd -r 08f3267ccab5 textproc/p5-Text-Shellwords/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Text-Shellwords/Makefile      Sat Jan 08 12:52:35 2005 +0000
@@ -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@localhost
+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 -r f9d424026cbd -r 08f3267ccab5 textproc/p5-Text-Shellwords/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Text-Shellwords/PLIST Sat Jan 08 12:52:35 2005 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/08 12:52:35 minskim Exp $
diff -r f9d424026cbd -r 08f3267ccab5 textproc/p5-Text-Shellwords/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/p5-Text-Shellwords/distinfo      Sat Jan 08 12:52:35 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index