Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2005 02:52:26 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/89515: New port: textproc/p5-Text-Capitalize Capitalize strings ("to WORK AS titles" becomes "To Work as Titles")
Message-ID:  <20051124235226.937D61057@hades.panopticon>
Resent-Message-ID: <200511250000.jAP00C2X045154@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         89515
>Category:       ports
>Synopsis:       New port: textproc/p5-Text-Capitalize Capitalize strings ("to WORK AS titles" becomes "To Work as Titles")
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 25 00:00:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Wed Nov 23 05:48:39 MSK 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Text::Capitalize provides a few different flavors of procedures for
title-like formatting for strings.

For the "capitalize" function Title-like (written by Stanislaw Y.
Pusep) formatting consists of ensuring that the first letter of
each word is uppercase, and that the rest is lowercase.

The "capitalize_title" function tries to get closer to English title
capitalization rules where only the "important" words are supposed
to be capitalized. There are also some customization features
provided to allow the user to choose variant rules.

WWW: http://search.cpan.org/dist/Text-Capitalize/

>How-To-Repeat:
>Fix:

--- p5-Text-Capitalize-0.4.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Text-Capitalize
#	p5-Text-Capitalize/distinfo
#	p5-Text-Capitalize/Makefile
#	p5-Text-Capitalize/pkg-descr
#	p5-Text-Capitalize/pkg-plist
#
echo c - p5-Text-Capitalize
mkdir -p p5-Text-Capitalize > /dev/null 2>&1
echo x - p5-Text-Capitalize/distinfo
sed 's/^X//' >p5-Text-Capitalize/distinfo << 'END-of-p5-Text-Capitalize/distinfo'
XMD5 (Text-Capitalize-0.4.tar.gz) = 563a1c32a7d3708e38e1703c2db87073
XSHA256 (Text-Capitalize-0.4.tar.gz) = 79f3830eb7739b361f0034e546d57671e9c45b7e4a724f36112657991fac5555
XSIZE (Text-Capitalize-0.4.tar.gz) = 17905
END-of-p5-Text-Capitalize/distinfo
echo x - p5-Text-Capitalize/Makefile
sed 's/^X//' >p5-Text-Capitalize/Makefile << 'END-of-p5-Text-Capitalize/Makefile'
X# New ports collection makefile for:	p5-Text-Capitalize
X# Date created:				24 Nov 2005
X# Whom:					Dmitry Marakasov <amdmi3@mail.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Text-Capitalize
XPORTVERSION=	0.4
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Text
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	amdmi3@mail.ru
XCOMMENT=	Capitalize strings ("to WORK AS titles" becomes "To Work as Titles")
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Text::Capitalize.3
X
X.include <bsd.port.mk>
END-of-p5-Text-Capitalize/Makefile
echo x - p5-Text-Capitalize/pkg-descr
sed 's/^X//' >p5-Text-Capitalize/pkg-descr << 'END-of-p5-Text-Capitalize/pkg-descr'
XText::Capitalize provides a few different flavors of procedures for
Xtitle-like formatting for strings.
X
XFor the "capitalize" function Title-like (written by Stanislaw Y.
XPusep) formatting consists of ensuring that the first letter of
Xeach word is uppercase, and that the rest is lowercase.
X
XThe "capitalize_title" function tries to get closer to English title
Xcapitalization rules where only the "important" words are supposed
Xto be capitalized. There are also some customization features
Xprovided to allow the user to choose variant rules.
X
XWWW: http://search.cpan.org/dist/Text-Capitalize/
END-of-p5-Text-Capitalize/pkg-descr
echo x - p5-Text-Capitalize/pkg-plist
sed 's/^X//' >p5-Text-Capitalize/pkg-plist << 'END-of-p5-Text-Capitalize/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Capitalize/.packlist
X%%SITE_PERL%%/Text/Capitalize.pm
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Capitalize
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true
END-of-p5-Text-Capitalize/pkg-plist
exit
--- p5-Text-Capitalize-0.4.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051124235226.937D61057>