aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-XML-XSH
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2002-07-17 10:15:47 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2002-07-17 10:15:47 +0000
commit182408e7f4035575a62e5ef8d779492e56781313 (patch)
treec7e848eb0d09599841be43c038e40d76cf9f1afe /textproc/p5-XML-XSH
parent6da4fb96fa0e8a46e51f7caf21f1823ab5a51d1f (diff)
downloadports-182408e7f4035575a62e5ef8d779492e56781313.tar.gz
ports-182408e7f4035575a62e5ef8d779492e56781313.zip
Add p5-XML-XSH 1.4, this is xsh - an XML Editing Shell.
PR: 40604 Submitted by: Lev Serebryakov <lev@serebryakov.spb.ru>
Notes
Notes: svn path=/head/; revision=63124
Diffstat (limited to 'textproc/p5-XML-XSH')
-rw-r--r--textproc/p5-XML-XSH/Makefile29
-rw-r--r--textproc/p5-XML-XSH/distinfo1
-rw-r--r--textproc/p5-XML-XSH/pkg-comment1
-rw-r--r--textproc/p5-XML-XSH/pkg-descr6
-rw-r--r--textproc/p5-XML-XSH/pkg-plist13
5 files changed, 50 insertions, 0 deletions
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