Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jul 2002 20:59:46 +0400 (MSD)
From:      "Lev A. Serebryakov" <lev@serebryakov.spb.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40604: New port: textproc/p5-XML-XSH
Message-ID:  <200207151659.g6FGxkj07709@ftp.translate.ru>

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

>Number:         40604
>Category:       ports
>Synopsis:       New port: textproc/p5-XML-XSH
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 15 10:00:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Lev A. Serebryakov <lev@serebryakov.spb.ru>
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD freebsd.sereb.net 4.4-STABLE FreeBSD 4.4-STABLE #1: Sat Dec 8 13:48:40 MSK 2001 root@freebsd.sereb.net:/usr/obj/usr/src/sys/LEVMAIL i386
Ports collection: 15 Jul 2002


>Description:
	
   This is XML::XSH -- XML shell. Here is quotation from README file:

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.

   This port require XML::XUpdate::LibXML, which is submitted in previous PR.
 
>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-XSH
#	p5-XML-XSH/files
#	p5-XML-XSH/files/patch-XML:XSH:Functions.pm
#	p5-XML-XSH/Makefile
#	p5-XML-XSH/distinfo
#	p5-XML-XSH/pkg-comment
#	p5-XML-XSH/pkg-descr
#	p5-XML-XSH/pkg-plist
#
echo c - p5-XML-XSH
mkdir -p p5-XML-XSH > /dev/null 2>&1
echo c - p5-XML-XSH/files
mkdir -p p5-XML-XSH/files > /dev/null 2>&1
echo x - p5-XML-XSH/files/patch-XML:XSH:Functions.pm
sed 's/^X//' >p5-XML-XSH/files/patch-XML:XSH:Functions.pm << 'END-of-p5-XML-XSH/files/patch-XML:XSH:Functions.pm'
X--- lib/XML/XSH/Functions.pm.orig	Mon Jul 15 18:32:09 2002
X+++ lib/XML/XSH/Functions.pm	Mon Jul 15 18:32:30 2002
X@@ -3,7 +3,8 @@
X package XML::XSH::Functions;
X 
X use strict;
X-no warnings;
X+# No such pragam in perl 5.005
X+#no warnings;
X 
X use XML::LibXML;
X use Text::Iconv;
END-of-p5-XML-XSH/files/patch-XML:XSH:Functions.pm
echo x - p5-XML-XSH/Makefile
sed 's/^X//' >p5-XML-XSH/Makefile << 'END-of-p5-XML-XSH/Makefile'
X# New ports collection makefile for:	XML::XSH
X# Date created:		15 July 2002
X# Whom:			Lev Serebryakov <lev@serebryakov.spb.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML-XSH
XPORTVERSION=	1.4
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	XML
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	lev@serebryakov.spb.ru
X
XBUILD_DEPENDS=	${PERL_ABASE}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
X		${PERL_ABASE}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/XUpdate/LibXML.pm:${PORTSDIR}/textproc/p5-XML-XUpdate-LibXML
XRUN_DEPENDS=	${PERL_ABASE}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
X		${PERL_ABASE}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/XML/XUpdate/LibXML.pm:${PORTSDIR}/textproc/p5-XML-XUpdate-LibXML
XLIB_DEPENDS=	xml2.5:${PORTSDIR}/textproc/libxml2 \
X		iconv.3:${PORTSDIR}/converters/libiconv
X
XPERL_CONFIGURE=	yes
XCONFIGURE_ARGS=	INC='-I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2'
XPERL_ABASE=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}
X
X.include <bsd.port.mk>
END-of-p5-XML-XSH/Makefile
echo x - p5-XML-XSH/distinfo
sed 's/^X//' >p5-XML-XSH/distinfo << 'END-of-p5-XML-XSH/distinfo'
XMD5 (XML-XSH-1.4.tar.gz) = fa67dc1156c37125b47838b1f7c13e34
END-of-p5-XML-XSH/distinfo
echo x - p5-XML-XSH/pkg-comment
sed 's/^X//' >p5-XML-XSH/pkg-comment << 'END-of-p5-XML-XSH/pkg-comment'
XThis is xsh - an XML Editing Shell
END-of-p5-XML-XSH/pkg-comment
echo x - p5-XML-XSH/pkg-descr
sed 's/^X//' >p5-XML-XSH/pkg-descr << 'END-of-p5-XML-XSH/pkg-descr'
Xxsh is a powerfull command-line XML (DOM) editing tool/programming
Xlanguage in the manner of Unix shell interpreters and line-oriented
Xtext editors like ed. It can be used either interactively or for
Xbatch-mode XML processing.
END-of-p5-XML-XSH/pkg-descr
echo x - p5-XML-XSH/pkg-plist
sed 's/^X//' >p5-XML-XSH/pkg-plist << 'END-of-p5-XML-XSH/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/XSH/.packlist
Xlib/perl5/site_perl/%%PERL_VER%%/XML/XSH.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Parser.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/XSH/CompletionList.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Grammar.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Help.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Functions.pm
Xlib/perl5/site_perl/%%PERL_VER%%/XML/XSH/Completion.pm
Xbin/xsh
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/XML/XSH
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/XML/XSH
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
X
END-of-p5-XML-XSH/pkg-plist
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?200207151659.g6FGxkj07709>