Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2001 13:09:08 +0300
From:      skv@protey.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32163: New port: p5-XML-Directory-0.84 
Message-ID:  <E166UJY-000JYt-00@3wgraphics.com>

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

>Number:         32163
>Category:       ports
>Synopsis:       New port: p5-XML-Directory-0.84
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 02:20:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Skvortsov
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
<Organization of PR author (multiple lines)>
>Environment:

	<Relevant environment information (multiple lines)>

>Description:

New port: p5-XML-Directory-0.84

Returns a content of directory as XML

>How-To-Repeat:

	<Code/input/activities to reproduce the problem (multiple lines)>

>Fix:

# 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-XML-Directory
#	p5-XML-Directory/pkg-comment
#	p5-XML-Directory/Makefile
#	p5-XML-Directory/distinfo
#	p5-XML-Directory/pkg-descr
#	p5-XML-Directory/pkg-plist
#
echo c - p5-XML-Directory
mkdir -p p5-XML-Directory > /dev/null 2>&1
echo x - p5-XML-Directory/pkg-comment
sed 's/^X//' >p5-XML-Directory/pkg-comment << 'END-of-p5-XML-Directory/pkg-comment'
XReturns a content of directory as XML
END-of-p5-XML-Directory/pkg-comment
echo x - p5-XML-Directory/Makefile
sed 's/^X//' >p5-XML-Directory/Makefile << 'END-of-p5-XML-Directory/Makefile'
X# New ports collection makefile for:	XML::Directory
X# Date created:		4 Sep 2001
X# Whom:			Sergey Skvortsov <skv@protey.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML-Directory
XPORTVERSION=	0.84
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	XML
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	skv@protey.ru
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/RDF/Notation3.pm:${PORTSDIR}/textproc/p5-RDF-Notation3
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XPERL_CONFIGURE=	yes
X
XMAN3=		XML::Directory.3 XML::Directory::Apache.3 \
X		XML::Directory::Exception.3 XML::Directory::SAX.3 \
X		XML::Directory::String.3
X
XMANPREFIX=	${PREFIX}/lib/perl5/${PERL_VERSION}
X
Xpre-patch:
X		@find ${WRKSRC} -name "*.pm" | xargs ${PERL} -pi -e \
X		'$$package=$$1 if /^package\s+([^\s;]*);/; s!^require 5.005_62;!!; s!^use warnings;!!; s!^our\s+(\$$|@)(VERSION|ISA|EXPORT|EXPORT_OK)\s+=!$$1$${package}::$$2=!;'
X
X.include <bsd.port.mk>
END-of-p5-XML-Directory/Makefile
echo x - p5-XML-Directory/distinfo
sed 's/^X//' >p5-XML-Directory/distinfo << 'END-of-p5-XML-Directory/distinfo'
XMD5 (XML-Directory-0.84.tar.gz) = af3ce7168d7667d19f50e0b8a880d0e1
END-of-p5-XML-Directory/distinfo
echo x - p5-XML-Directory/pkg-descr
sed 's/^X//' >p5-XML-Directory/pkg-descr << 'END-of-p5-XML-Directory/pkg-descr'
XThis extension provides two classes: XML::Directory::String and
XXML::Directory::SAX. Their methods make it possible to set parameters
Xsuch as level of details or maximal number of nested sub-directories
Xand generate either string containing the resulting XML or SAX events.
X                                                                         
XThe SAX generator supports both SAX1 and SAX2 handlers. There are two
XSAX interfaces available: basic ContentHandler and optional ErrorHandler.
X
XWWW: http://search.cpan.org/search?dist=XML-Directory
X
X-- Sergey Skvortsov
Xskv@protey.ru
END-of-p5-XML-Directory/pkg-descr
echo x - p5-XML-Directory/pkg-plist
sed 's/^X//' >p5-XML-Directory/pkg-plist << 'END-of-p5-XML-Directory/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Directory/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/XML/Directory.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/Directory.pod
Xlib/perl5/site_perl/%%PERL_VER%%/XML/Directory/Apache.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/Directory/Exception.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/Directory/SAX.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/Directory/String.pm
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/Directory
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Directory
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true
END-of-p5-XML-Directory/pkg-plist
exit

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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E166UJY-000JYt-00>