ports/55576: New port: p5-HTML-Breadcrumbs

Andrew McNaughton andrew at scoop.co.nz
Thu Aug 14 10:50:19 UTC 2003


>Number:         55576
>Category:       ports
>Synopsis:       New port: p5-HTML-Breadcrumbs
>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:   Thu Aug 14 03:50:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andrew McNaughton
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD weka.tapsentertainment.com 4.8-RELEASE-p3 FreeBSD 4.8-RELEASE-p3 #1: Mon Aug 11 23:02:55 EST 2003 andrew at weka.tapsentertainment.com:/usr/obj/usr/src/sys/weka i386


>Description:
HTML::Breadcrumbs
=================

HTML::Breadcrumbs is a module used to create HTML 'breadcrumb trails'
i.e. an ordered set of html links locating the current page within
a hierarchy.

HTML::Breadcrumbs splits the given path up into a list of elements,
derives labels to use for each of these elements, and then renders
this list as N-1 links using the derived label, with the final
element being just a label.

Both procedural and object-oriented interfaces are provided. The OO
interface is useful if you want to separate object creation and
initialisation from rendering or display, or for subclassing.

Both interfaces allow you to munge the path in various ways, to set
labels either explicitly via a hashref or via a callback subroutine,
and to control the formatting of elements via sprintf patterns or a
callback subroutine.

>How-To-Repeat:
>Fix:

--- p5-HTML-Breadcrumbs.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-HTML-Breadcrumbs
#	p5-HTML-Breadcrumbs/Makefile
#	p5-HTML-Breadcrumbs/pkg-descr
#	p5-HTML-Breadcrumbs/distinfo
#	p5-HTML-Breadcrumbs/pkg-plist
#
echo c - p5-HTML-Breadcrumbs
mkdir -p p5-HTML-Breadcrumbs > /dev/null 2>&1
echo x - p5-HTML-Breadcrumbs/Makefile
sed 's/^X//' >p5-HTML-Breadcrumbs/Makefile << 'END-of-p5-HTML-Breadcrumbs/Makefile'
X# New ports collection makefile for:	p5-HTML-Breadcrumbs
X# Date created:		14 August 2003
X# Whom:	      		andrew at scoop.co.nz
X#
X# $FreeBSD:  $
X#
X
XPORTNAME=	HTML-Breadcrumbs
XPORTVERSION=	0.03
XCATEGORIES=	www perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	HTML
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	andrew at scoop.co.nz
XCOMMENT=	Module to produce HTML 'breadcrumb trails'
X
XPERL_CONFIGURE=	yes
X
XMAN3=		HTML::Breadcrumbs.3
X
X.include <bsd.port.mk>
END-of-p5-HTML-Breadcrumbs/Makefile
echo x - p5-HTML-Breadcrumbs/pkg-descr
sed 's/^X//' >p5-HTML-Breadcrumbs/pkg-descr << 'END-of-p5-HTML-Breadcrumbs/pkg-descr'
XHTML::Breadcrumbs
X=================
X
XHTML::Breadcrumbs is a module used to create HTML 'breadcrumb trails'
Xi.e. an ordered set of html links locating the current page within
Xa hierarchy.
X
XHTML::Breadcrumbs splits the given path up into a list of elements,
Xderives labels to use for each of these elements, and then renders
Xthis list as N-1 links using the derived label, with the final
Xelement being just a label.
X
XBoth procedural and object-oriented interfaces are provided. The OO
Xinterface is useful if you want to separate object creation and
Xinitialisation from rendering or display, or for subclassing.
X
XBoth interfaces allow you to munge the path in various ways, to set
Xlabels either explicitly via a hashref or via a callback subroutine,
Xand to control the formatting of elements via sprintf patterns or a
Xcallback subroutine.
END-of-p5-HTML-Breadcrumbs/pkg-descr
echo x - p5-HTML-Breadcrumbs/distinfo
sed 's/^X//' >p5-HTML-Breadcrumbs/distinfo << 'END-of-p5-HTML-Breadcrumbs/distinfo'
XMD5 (HTML-Breadcrumbs-0.03.tar.gz) = 416761bd652badf4b3308ea9be8b37d7
END-of-p5-HTML-Breadcrumbs/distinfo
echo x - p5-HTML-Breadcrumbs/pkg-plist
sed 's/^X//' >p5-HTML-Breadcrumbs/pkg-plist << 'END-of-p5-HTML-Breadcrumbs/pkg-plist'
X%%SITE_PERL%%/HTML::Breadcrumbs.pm
END-of-p5-HTML-Breadcrumbs/pkg-plist
exit
--- p5-HTML-Breadcrumbs.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list