diff options
author | Ade Lovett <ade@FreeBSD.org> | 2000-10-20 23:11:48 +0000 |
---|---|---|
committer | Ade Lovett <ade@FreeBSD.org> | 2000-10-20 23:11:48 +0000 |
commit | 110ef963e78809b24e5310e055e592228094a666 (patch) | |
tree | 85e70f267d738d66761e2bfe02b5242d91529b0c /textproc | |
parent | p5-MP3-Info is a perl module that manipulates/fetches information (diff) |
Add p5-XML-Simple, a perl module designed for reading
XML config files.
PR: 21870
Submitted by: Andrew <andrew@ugh.net.au>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-XML-Simple/Makefile | 27 | ||||
-rw-r--r-- | textproc/p5-XML-Simple/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-XML-Simple/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-XML-Simple/pkg-descr | 11 | ||||
-rw-r--r-- | textproc/p5-XML-Simple/pkg-plist | 5 |
6 files changed, 46 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 63761278470a..0f3cef3c4e40 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -67,6 +67,7 @@ SUBDIR += p5-XML-DOM SUBDIR += p5-XML-Parser SUBDIR += p5-XML-RSS + SUBDIR += p5-XML-Simple SUBDIR += par SUBDIR += perl2html SUBDIR += pspell diff --git a/textproc/p5-XML-Simple/Makefile b/textproc/p5-XML-Simple/Makefile new file mode 100644 index 000000000000..5ad739fc5181 --- /dev/null +++ b/textproc/p5-XML-Simple/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: p5-XML-Simple +# Date created: October 10th 2000 +# Whom: Andrew <andrew@ugh.net.au> +# +# $FreeBSD$ +# + +PORTNAME= XML-Simple +PORTVERSION= 1.05 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML +PKGNAMEPREFIX= p5- + +MAINTAINER= andrew@ugh.net.au + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser + +USE_PERL5= YES + +MAN3= XML::Simple.3 +MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} + +do-configure: + @ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL + +.include <bsd.port.mk> diff --git a/textproc/p5-XML-Simple/distinfo b/textproc/p5-XML-Simple/distinfo new file mode 100644 index 000000000000..53619c783bae --- /dev/null +++ b/textproc/p5-XML-Simple/distinfo @@ -0,0 +1 @@ +MD5 (XML-Simple-1.05.tar.gz) = 2f003d83da8c87b7025cd22fabd7c8ac diff --git a/textproc/p5-XML-Simple/pkg-comment b/textproc/p5-XML-Simple/pkg-comment new file mode 100644 index 000000000000..e75572d1eeb0 --- /dev/null +++ b/textproc/p5-XML-Simple/pkg-comment @@ -0,0 +1 @@ +Trivial API for reading and writing XML (esp config files) diff --git a/textproc/p5-XML-Simple/pkg-descr b/textproc/p5-XML-Simple/pkg-descr new file mode 100644 index 000000000000..361897a65f94 --- /dev/null +++ b/textproc/p5-XML-Simple/pkg-descr @@ -0,0 +1,11 @@ +XML::Simple is a Perl module that makes it really easy to read and write XML +files. + +XML::Simple was originally developed for the purpose of reading and writing +config files in XML format (which offers various advantages over say .INI +format). Having said that, many people find it useful for other purposes. + +WWW: http://web.co.nz/~grantm/cpan/ + +Andrew +andrew@ugh.net.au diff --git a/textproc/p5-XML-Simple/pkg-plist b/textproc/p5-XML-Simple/pkg-plist new file mode 100644 index 000000000000..5f164d1e1463 --- /dev/null +++ b/textproc/p5-XML-Simple/pkg-plist @@ -0,0 +1,5 @@ +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Simple/.packlist +lib/perl5/site_perl/%%PERL_VER%%/XML/Simple.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/Simple +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML 2>/dev/null || true +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/XML 2>/dev/null || true |