Date: 1 Jan 2002 02:58:16 -0000 From: Seamus Venasse <svenasse@polaris.ca> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/33418: New port: A subclass of MARC.pm to provide XML support Message-ID: <20020101025816.11382.qmail@pris.polaris.ca>
next in thread | raw e-mail | index | archive | help
>Number: 33418 >Category: ports >Synopsis: New port: A subclass of MARC.pm to provide XML support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Dec 31 19:10:02 PST 2001 >Closed-Date: >Last-Modified: >Originator: Seamus Venasse >Release: FreeBSD 4.4-STABLE i386 >Organization: Polaris Computing >Environment: System: FreeBSD pitou.polaris.ca 4.4-STABLE FreeBSD 4.4-STABLE #1: Wed Nov 7 01:23:05 PST 2001 root@pitou.polaris.ca:/usr/obj/usr/src/sys/PITOU i386 >Description: >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-MARC-XML # p5-MARC-XML/Makefile # p5-MARC-XML/distinfo # p5-MARC-XML/pkg-comment # p5-MARC-XML/pkg-descr # p5-MARC-XML/pkg-plist # echo c - p5-MARC-XML mkdir -p p5-MARC-XML > /dev/null 2>&1 echo x - p5-MARC-XML/Makefile sed 's/^X//' >p5-MARC-XML/Makefile << 'END-of-p5-MARC-XML/Makefile' X# New ports collection makefile for: MARC::XML X# Date created: 31 Dec 2001 X# Whom: Seamus Venasse <svenasse@polaris.ca> X# X# $FreeBSD$ X# X XPORTNAME= MARC-XML XPORTVERSION= 0.4 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= MARC XPKGNAMEPREFIX= p5- X XMAINTAINER= svenasse@polaris.ca X XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser \ X ${SITE_PERL}/MARC.pm:${PORTSDIR}/textproc/p5-MARC XRUN_DEPENDS= ${BUILD_DEPENDS} X XSITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} XPERL_CONFIGURE= yes X XMAN3= MARC::XML.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X X.include <bsd.port.mk> END-of-p5-MARC-XML/Makefile echo x - p5-MARC-XML/distinfo sed 's/^X//' >p5-MARC-XML/distinfo << 'END-of-p5-MARC-XML/distinfo' XMD5 (MARC-XML-0.4.tar.gz) = f9fc0d375146f414c33f8e9a3ac7db8d END-of-p5-MARC-XML/distinfo echo x - p5-MARC-XML/pkg-comment sed 's/^X//' >p5-MARC-XML/pkg-comment << 'END-of-p5-MARC-XML/pkg-comment' XA subclass of MARC.pm to provide XML support END-of-p5-MARC-XML/pkg-comment echo x - p5-MARC-XML/pkg-descr sed 's/^X//' >p5-MARC-XML/pkg-descr << 'END-of-p5-MARC-XML/pkg-descr' XMARC::XML is a subclass of MARC.pm which provides methods for Xround-trip conversions between MARC and XML. MARC::XML requires Xthat you have the CPAN modules MARC.pm and XML::Parser installed Xin your Perl library. Version 1.04 of MARC.pm and 2.27 of XML::Parser X(or later) are required. As a subclass of MARC.pm a MARC::XML object Xwill by default have the full functionality of a MARC.pm object. XSee the MARC.pm documentation for details. X XThe XML file that is read and generated by MARC::XML is not associated Xwith a Document Type Definition (DTD). This means that your files Xneed to be well-formed, but they will not be validated. When Xperforming XML->MARC conversion it is important that the XML file Xis structured in a particular way. Fortunately, this is the same Xformat that is generated by the MARC->XML conversion, so you should Xbe able to be able to move your data easily between the two formats. X XWWW: http://search.cpan.org/search?dist=MARC-XML X XSeamus Venasse <svenasse@polaris.ca> END-of-p5-MARC-XML/pkg-descr echo x - p5-MARC-XML/pkg-plist sed 's/^X//' >p5-MARC-XML/pkg-plist << 'END-of-p5-MARC-XML/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/MARC/XML.pm Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MARC/XML/.packlist X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/MARC 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MARC/XML 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/MARC 2>/dev/null || true END-of-p5-MARC-XML/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?20020101025816.11382.qmail>