From owner-freebsd-ports Mon Oct 9 11:50: 7 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 2F33E37B66C for ; Mon, 9 Oct 2000 11:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA85260; Mon, 9 Oct 2000 11:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 1B19B37B503 for ; Mon, 9 Oct 2000 11:43:28 -0700 (PDT) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 4BD94A84A; Tue, 10 Oct 2000 05:43:26 +1100 (EST) Message-Id: <20001009184326.4BD94A84A@starbug.ugh.net.au> Date: Tue, 10 Oct 2000 05:43:26 +1100 (EST) From: andrew@ugh.net.au Reply-To: andrew@ugh.net.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/21870: New port: perl module for parseing XML config files Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 21870 >Category: ports >Synopsis: New port: perl module for parseing XML config files >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 Oct 09 11:50:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Andrew >Release: FreeBSD 4.1.1-STABLE i386 >Organization: UgH! >Environment: >Description: XML::Simple. A perl module designed for reading XML config files. NOTE: This isn't PREFIX clean but I couldn't find an example of a PREFIX clean perl module port to work out how to do it. >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-Simple # p5-XML-Simple/Makefile # p5-XML-Simple/pkg-comment # p5-XML-Simple/pkg-descr # p5-XML-Simple/pkg-plist # p5-XML-Simple/distinfo # echo c - p5-XML-Simple mkdir -p p5-XML-Simple > /dev/null 2>&1 echo x - p5-XML-Simple/Makefile sed 's/^X//' >p5-XML-Simple/Makefile << 'END-of-p5-XML-Simple/Makefile' X# New ports collection makefile for: p5-XML-Simple X# Date created: October 10th 2000 X# Whom: Andrew X# X# $FreeBSD$ X# X XPORTNAME= XML-Simple XPORTVERSION= 1.05 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= XML XPKGNAMEPREFIX= p5- X XMAINTAINER= andrew@ugh.net.au X XBUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser X XUSE_PERL5= YES X XMAN3= XML::Simple.3 XMANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} X Xdo-configure: X @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL X X.include END-of-p5-XML-Simple/Makefile echo x - p5-XML-Simple/pkg-comment sed 's/^X//' >p5-XML-Simple/pkg-comment << 'END-of-p5-XML-Simple/pkg-comment' XTrivial API for reading and writing XML (esp config files) END-of-p5-XML-Simple/pkg-comment echo x - p5-XML-Simple/pkg-descr sed 's/^X//' >p5-XML-Simple/pkg-descr << 'END-of-p5-XML-Simple/pkg-descr' XXML::Simple is a Perl module that makes it really easy to read and write XML Xfiles. X XXML::Simple was originally developed for the purpose of reading and writing Xconfig files in XML format (which offers various advantages over say .INI Xformat). Having said that, many people find it useful for other purposes. X XWWW: http://web.co.nz/~grantm/cpan/ X XAndrew Xandrew@ugh.net.au END-of-p5-XML-Simple/pkg-descr echo x - p5-XML-Simple/pkg-plist sed 's/^X//' >p5-XML-Simple/pkg-plist << 'END-of-p5-XML-Simple/pkg-plist' Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Simple/.packlist Xlib/perl5/site_perl/%%PERL_VER%%/XML/Simple.pm X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Simple X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true END-of-p5-XML-Simple/pkg-plist echo x - p5-XML-Simple/distinfo sed 's/^X//' >p5-XML-Simple/distinfo << 'END-of-p5-XML-Simple/distinfo' XMD5 (XML-Simple-1.05.tar.gz) = 2f003d83da8c87b7025cd22fabd7c8ac END-of-p5-XML-Simple/distinfo exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message