new port, p5-Text-Shellwords

This 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.

PR:		ports/50081
Submitted by:	George Hartzell <hartzell@fruitfly.org>
This commit is contained in:
Edwin Groothuis 2003-04-29 09:31:03 +00:00
parent 6b324a471a
commit 60b79e7633
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79858
5 changed files with 35 additions and 0 deletions

View File

@ -234,6 +234,7 @@
SUBDIR += p5-Text-Reflow
SUBDIR += p5-Text-Reform
SUBDIR += p5-Text-Repository
SUBDIR += p5-Text-Shellwords
SUBDIR += p5-Text-SimpleTemplate
SUBDIR += p5-Text-Tabs+Wrap
SUBDIR += p5-Text-Template

View File

@ -0,0 +1,23 @@
# New ports collection makefile for: textproc/p5-Text-Shellwords
# Date created: Mon Mar 17 11:47:21 PST 2003
# Whom: George Hartzell <hartzell@fruitfly.org>
#
# $FreeBSD$
#
PORTNAME= Text-Shellwords
PORTVERSION= 1.00
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PKGNAMEPREFIX= p5-
MAINTAINER= hartzell@fruitfly.org
COMMENT= This is a thin wrapper around the shellwords.pl package
PERL_CONFIGURE= yes
MAN3= Text::Shellwords.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (Text-Shellwords-1.00.tar.gz) = 016f95c2e40a760d261772a40025e543

View File

@ -0,0 +1,7 @@
This 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.

View File

@ -0,0 +1,3 @@
lib/perl5/site_perl/%%PERL_VER%%/Text/Shellwords.pm
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Shellwords/.packlist
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Text/Shellwords > /dev/null || true