From owner-freebsd-ports Wed Nov 21 2:20:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E4E1B37B41A for ; Wed, 21 Nov 2001 02:20:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fALAK0a43004; Wed, 21 Nov 2001 02:20:00 -0800 (PST) (envelope-from gnats) Received: from 3wgraphics.com (ppp012.comintern.ru [213.148.2.12]) by hub.freebsd.org (Postfix) with ESMTP id 6F1A837B405 for ; Wed, 21 Nov 2001 02:12:55 -0800 (PST) Received: from root by 3wgraphics.com with local (Exim 3.33 #1) id 166UJY-000JYt-00 for FreeBSD-gnats-submit@freebsd.org; Wed, 21 Nov 2001 13:09:08 +0300 Message-Id: Date: Wed, 21 Nov 2001 13:09:08 +0300 From: skv@protey.ru Reply-To: skv@protey.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/32163: New port: p5-XML-Directory-0.84 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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: >Environment: >Description: New port: p5-XML-Directory-0.84 Returns a content of directory as XML >How-To-Repeat: >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 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 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