Date: Wed, 03 Sep 2003 12:02:43 +0300 From: Alex Miller <asm@asm.kiev.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/56362: New port: PEAR Config package provides methods for configuration manipulation Message-ID: <E19uTXH-000CH8-2W@sys1.abbyy.ua> Resent-Message-ID: <200309030910.h839A9ww021171@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 56362 >Category: ports >Synopsis: New port: PEAR Config package provides methods for configuration 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: Wed Sep 03 02:10:08 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: The Config package provides methods for configuration manipulation. * Creates configurations from scratch * Parses and outputs different formats (XML, PHP, INI, Apache...). * Edits existing configurations * Converts configurations to other formats * Allows manipulation of sections, comments, directives... * Parses configurations into a tree structure >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-Config # /usr/ports/devel/pear-Config/Makefile # /usr/ports/devel/pear-Config/distinfo # /usr/ports/devel/pear-Config/pkg-descr # /usr/ports/devel/pear-Config/pkg-plist # echo c - /usr/ports/devel/pear-Config mkdir -p /usr/ports/devel/pear-Config > /dev/null 2>&1 echo x - /usr/ports/devel/pear-Config/Makefile sed 's/^X//' >/usr/ports/devel/pear-Config/Makefile << 'END-of-/usr/ports/devel/pear-Config/Makefile' X# Ports collection makefile for: pear-Config X# Date created: 02 September 2003 X# Whom: Alex Miller (<asm@asm.kiev.ua>) X# X# $FreeBSD$ X# X XPORTNAME= Config XPORTVERSION= 1.8 XCATEGORIES= devel www X XMAINTAINER= ports@FreeBSD.org XCOMMENT= PEAR Config package provides methods for configuration manipulation X XBUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR XRUN_DEPENDS= ${BUILD_DEPENDS} \ X ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \ X ${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util X X.include <bsd.port.pre.mk> X.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common" X XMANIFEST= Apache.php IniCommented.php PHPArray.php GenericConf.php IniFile.php XML.php X Xdo-install: X @${CP} -p ${WRKSRC}/Config.php ${PEARDIR} X @${MKDIR} -p ${PEARDIR}/Config/Container X @${CP} -p ${WRKSRC}/Config/Container.php ${PEARDIR}/Config X.for FILE in ${MANIFEST} X @${CP} -p ${WRKSRC}/Config/Container/${FILE} ${PEARDIR}/Config/Container X.endfor X @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Config.php X @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Config X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/docs/Apache.php ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/docs/IniCommented.php ${DOCSDIR} X @${INSTALL_DATA} ${WRKSRC}/docs/IniFromScratch.php ${DOCSDIR} X @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." X.endif X X.include <bsd.port.post.mk> END-of-/usr/ports/devel/pear-Config/Makefile echo x - /usr/ports/devel/pear-Config/distinfo sed 's/^X//' >/usr/ports/devel/pear-Config/distinfo << 'END-of-/usr/ports/devel/pear-Config/distinfo' XMD5 (PEAR/Config-1.8.tgz) = 00d5d56c5a2faaa967d285649395e5ee END-of-/usr/ports/devel/pear-Config/distinfo echo x - /usr/ports/devel/pear-Config/pkg-descr sed 's/^X//' >/usr/ports/devel/pear-Config/pkg-descr << 'END-of-/usr/ports/devel/pear-Config/pkg-descr' XThe Config package provides methods for configuration manipulation. X X* Creates configurations from scratch X* Parses and outputs different formats (XML, PHP, INI, Apache...). X* Edits existing configurations X* Converts configurations to other formats X* Allows manipulation of sections, comments, directives... X* Parses configurations into a tree structure X XWWW: http://pear.php.net/package-info.php?package=Config END-of-/usr/ports/devel/pear-Config/pkg-descr echo x - /usr/ports/devel/pear-Config/pkg-plist sed 's/^X//' >/usr/ports/devel/pear-Config/pkg-plist << 'END-of-/usr/ports/devel/pear-Config/pkg-plist' X%%PEARDIR%%/Config.php X%%PEARDIR%%/Config/Container.php X%%PEARDIR%%/Config/Container/Apache.php X%%PEARDIR%%/Config/Container/GenericConf.php X%%PEARDIR%%/Config/Container/IniCommented.php X%%PEARDIR%%/Config/Container/IniFile.php X%%PEARDIR%%/Config/Container/PHPArray.php X%%PEARDIR%%/Config/Container/XML.php X%%PKGREGDIR%%/package.xml X%%PORTDOCS%%%%PEARDIR%%/docs/Config/Apache.php X%%PORTDOCS%%%%PEARDIR%%/docs/Config/IniCommented.php X%%PORTDOCS%%%%PEARDIR%%/docs/Config/IniFromScratch.php X@dirrm %%PEARDIR%%/Config/Container X@dirrm %%PEARDIR%%/Config X@dirrm %%PKGREGDIR%% X%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/Config END-of-/usr/ports/devel/pear-Config/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?E19uTXH-000CH8-2W>