Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Sep 2003 19:40:32 +0300
From:      Alex Miller <asm@asm.kiev.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/56446: New port: PEAR class provided an XPath/DOM XML manipulation
Message-ID:  <E19ux9s-000GDr-Q1@sys1.abbyy.ua>
Resent-Message-ID: <200309041650.h84GoBaK020895@freefall.freebsd.org>

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

>Number:         56446
>Category:       ports
>Synopsis:       New port: PEAR class provided an XPath/DOM XML manipulation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 04 09:50:11 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Miller
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
Home Sweet Home, Inc.
>Environment:
System: FreeBSD sys1.abbyy.ua 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #3: Wed Aug 27 12:22:05 EEST 2003 asm@sys1.abbyy.ua:/usr/obj/usr/src/sys/MASTER i386
PHP: 4.3.3
PEAR: 1.2.1

>Description:

This is an XML parser based on PHP's built-in xml extension.  It
supports two basic modes of operation: "func" and "event".  In "func"
mode, it will look for a function named after each element
(xmltag_ELEMENT for start tags and xmltag_ELEMENT_ for end tags), and
in "event" mode it uses a set of generic callbacks.

>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:
#
#	/usr/ports/devel/pear-XML_XPath
#	/usr/ports/devel/pear-XML_XPath/Makefile
#	/usr/ports/devel/pear-XML_XPath/distinfo
#	/usr/ports/devel/pear-XML_XPath/pkg-descr
#	/usr/ports/devel/pear-XML_XPath/pkg-plist
#
echo c - /usr/ports/devel/pear-XML_XPath
mkdir -p /usr/ports/devel/pear-XML_XPath > /dev/null 2>&1
echo x - /usr/ports/devel/pear-XML_XPath/Makefile
sed 's/^X//' >/usr/ports/devel/pear-XML_XPath/Makefile << 'END-of-/usr/ports/devel/pear-XML_XPath/Makefile'
X# Ports collection makefile for:  pear-XML_XPath
X# Date created:			  04 September 2003
X# Whom:				  Alex Miller (<asm@asm.kiev.ua>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	XML_XPath
XPORTVERSION=	1.2
XCATEGORIES=	devel www
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	PEAR class provided an XPath/DOM XML manipulation
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
X.include <bsd.port.pre.mk>
X.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
X
XMANIFEST=	common.php error.php result.php
X
Xdo-install:
X	@${MKDIR} -p ${PEARDIR}/XPath
X	@${CP} -p ${WRKSRC}/XPath.php ${PEARDIR}
X.for FILE in ${MANIFEST}
X	@${CP} -p ${WRKSRC}/XPath/${FILE} ${PEARDIR}/XPath
X.endfor
X		@${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XPath.php
X		@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/XPath
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	@${CP} -p ${WRKSRC}/docs/XML_XPath_example.php ${DOCSDIR}
X	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-/usr/ports/devel/pear-XML_XPath/Makefile
echo x - /usr/ports/devel/pear-XML_XPath/distinfo
sed 's/^X//' >/usr/ports/devel/pear-XML_XPath/distinfo << 'END-of-/usr/ports/devel/pear-XML_XPath/distinfo'
XMD5 (PEAR/XML_XPath-1.2.tgz) = 71362e0ef17bfd56c63c3955d5ce91b8
END-of-/usr/ports/devel/pear-XML_XPath/distinfo
echo x - /usr/ports/devel/pear-XML_XPath/pkg-descr
sed 's/^X//' >/usr/ports/devel/pear-XML_XPath/pkg-descr << 'END-of-/usr/ports/devel/pear-XML_XPath/pkg-descr'
XThis is an XML parser based on PHP's built-in xml extension.  It
Xsupports two basic modes of operation: "func" and "event".  In "func"
Xmode, it will look for a function named after each element
X(xmltag_ELEMENT for start tags and xmltag_ELEMENT_ for end tags), and
Xin "event" mode it uses a set of generic callbacks.
X
XWWW: http://pear.php.net/package-info.php?package=XML_Parser
END-of-/usr/ports/devel/pear-XML_XPath/pkg-descr
echo x - /usr/ports/devel/pear-XML_XPath/pkg-plist
sed 's/^X//' >/usr/ports/devel/pear-XML_XPath/pkg-plist << 'END-of-/usr/ports/devel/pear-XML_XPath/pkg-plist'
X%%PEARDIR%%/XPath.php
X%%PEARDIR%%/XPath/common.php
X%%PEARDIR%%/XPath/error.php
X%%PEARDIR%%/XPath/result.php
X%%PKGREGDIR%%/package.xml
X%%PORTDOCS%%%%PEARDIR%%/docs/XML_XPath/XML_XPath_example.php
X@dirrm %%PEARDIR%%/XPath
X@dirrm %%PKGREGDIR%%
X%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/XML_XPath
END-of-/usr/ports/devel/pear-XML_XPath/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E19ux9s-000GDr-Q1>