Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Oct 2000 05:43:26 +1100 (EST)
From:      andrew@ugh.net.au
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21870: New port: perl module for parseing XML config files
Message-ID:  <20001009184326.4BD94A84A@starbug.ugh.net.au>

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

>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 <andrew@ugh.net.au>
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 <bsd.port.mk>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001009184326.4BD94A84A>