diff options
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-XML-XSH/Makefile | 29 | ||||
-rw-r--r-- | textproc/p5-XML-XSH/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-XML-XSH/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-XML-XSH/pkg-descr | 6 | ||||
-rw-r--r-- | textproc/p5-XML-XSH/pkg-plist | 13 |
6 files changed, 51 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 25a933df3ae3..dc4e28c384b7 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -239,6 +239,7 @@ SUBDIR += p5-XML-Twig SUBDIR += p5-XML-Writer SUBDIR += p5-XML-XPath + SUBDIR += p5-XML-XSH SUBDIR += p5-XML-XSLT SUBDIR += p5-XML-XUpdate-LibXML SUBDIR += p5-dTemplate diff --git a/textproc/p5-XML-XSH/Makefile b/textproc/p5-XML-XSH/Makefile new file mode 100644 index 000000000000..21d6bed93f71 --- /dev/null +++ b/textproc/p5-XML-XSH/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: XML::XSH +# Date created: 15 July 2002 +# Whom: Lev Serebryakov <lev@serebryakov.spb.ru> +# +# $FreeBSD$ +# + +PORTNAME= XML-XSH +PORTVERSION= 1.4 +CATEGORIES= textproc perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= XML +PKGNAMEPREFIX= p5- + +MAINTAINER= lev@serebryakov.spb.ru + +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \ + ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/XUpdate/LibXML.pm:${PORTSDIR}/textproc/p5-XML-XUpdate-LibXML +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +post-patch: + @${PERL} -pi -e 's/^(?=no warnings;)/#/ if $$.==6' \ + ${WRKSRC}/lib/XML/XSH/Functions.pm + +.include <bsd.port.mk> diff --git a/textproc/p5-XML-XSH/distinfo b/textproc/p5-XML-XSH/distinfo new file mode 100644 index 000000000000..53968ee7a81e --- /dev/null +++ b/textproc/p5-XML-XSH/distinfo @@ -0,0 +1 @@ +MD5 (XML-XSH-1.4.tar.gz) = fa67dc1156c37125b47838b1f7c13e34 diff --git a/textproc/p5-XML-XSH/pkg-comment b/textproc/p5-XML-XSH/pkg-comment new file mode 100644 index 000000000000..5a826f00fa7a --- /dev/null +++ b/textproc/p5-XML-XSH/pkg-comment @@ -0,0 +1 @@ +This is xsh - an XML Editing Shell diff --git a/textproc/p5-XML-XSH/pkg-descr b/textproc/p5-XML-XSH/pkg-descr new file mode 100644 index 000000000000..67440df228bf --- /dev/null +++ b/textproc/p5-XML-XSH/pkg-descr @@ -0,0 +1,6 @@ +xsh is a powerfull command-line XML (DOM) editing tool/programming +language in the manner of Unix shell interpreters and line-oriented text +editors like ed. It can be used either interactively or for batch-mode +XML processing. + +WWW: http://search.cpan.org/search?dist=XML-XSH diff --git a/textproc/p5-XML-XSH/pkg-plist b/textproc/p5-XML-XSH/pkg-plist new file mode 100644 index 000000000000..f4f8bd9ed507 --- /dev/null +++ b/textproc/p5-XML-XSH/pkg-plist @@ -0,0 +1,13 @@ +bin/xsh +lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/XSH/.packlist +lib/perl5/site_perl/%%PERL_VER%%/XML/XSH.pm +lib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Completion.pm +lib/perl5/site_perl/%%PERL_VER%%/XML/XSH/CompletionList.pm +lib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Functions.pm +lib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Grammar.pm +lib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Help.pm +lib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Parser.pm +@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/XSH +@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/XSH +@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 |