aboutsummaryrefslogtreecommitdiff
path: root/devel/pear-Config
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 00:34:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-09-08 00:34:19 +0000
commit0c7e49b585377090479f4d28fbc5240e9fd45e19 (patch)
tree3b567dd1797989e2f872891cb122b8564323a067 /devel/pear-Config
parent4c28ca343d11b2197a996ae2a73830e950028667 (diff)
downloadports-0c7e49b585377090479f4d28fbc5240e9fd45e19.tar.gz
ports-0c7e49b585377090479f4d28fbc5240e9fd45e19.zip
New port: PEAR Config package provides methods for configuration manipulation
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 PR: ports/56362 Submitted by: Alex Miller <asm@asm.kiev.ua>
Notes
Notes: svn path=/head/; revision=88710
Diffstat (limited to 'devel/pear-Config')
-rw-r--r--devel/pear-Config/Makefile42
-rw-r--r--devel/pear-Config/distinfo1
-rw-r--r--devel/pear-Config/pkg-descr10
-rw-r--r--devel/pear-Config/pkg-plist16
4 files changed, 69 insertions, 0 deletions
diff --git a/devel/pear-Config/Makefile b/devel/pear-Config/Makefile
new file mode 100644
index 000000000000..24f52704ed94
--- /dev/null
+++ b/devel/pear-Config/Makefile
@@ -0,0 +1,42 @@
+# Ports collection makefile for: pear-Config
+# Date created: 02 September 2003
+# Whom: Alex Miller (<asm@asm.kiev.ua>)
+#
+# $FreeBSD$
+#
+
+PORTNAME= Config
+PORTVERSION= 1.8
+CATEGORIES= devel www
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= PEAR Config package provides methods for configuration manipulation
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ ${PEARDIR}/XML/Parser.php:${PORTSDIR}/devel/pear-XML_Parser \
+ ${PEARDIR}/XML/Util.php:${PORTSDIR}/devel/pear-XML_Util
+
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../devel/pear-PEAR/Makefile.common"
+
+MANIFEST= Apache.php IniCommented.php PHPArray.php GenericConf.php IniFile.php XML.php
+
+do-install:
+ @${CP} -p ${WRKSRC}/Config.php ${PEARDIR}
+ @${MKDIR} ${PEARDIR}/Config/Container
+ @${CP} -p ${WRKSRC}/Config/Container.php ${PEARDIR}/Config
+.for FILE in ${MANIFEST}
+ @${CP} -p ${WRKSRC}/Config/Container/${FILE} ${PEARDIR}/Config/Container
+.endfor
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Config.php
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PEARDIR}/Config
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/docs/Apache.php ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/docs/IniCommented.php ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/docs/IniFromScratch.php ${DOCSDIR}
+ @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/pear-Config/distinfo b/devel/pear-Config/distinfo
new file mode 100644
index 000000000000..3b216cf781d3
--- /dev/null
+++ b/devel/pear-Config/distinfo
@@ -0,0 +1 @@
+MD5 (PEAR/Config-1.8.tgz) = 00d5d56c5a2faaa967d285649395e5ee
diff --git a/devel/pear-Config/pkg-descr b/devel/pear-Config/pkg-descr
new file mode 100644
index 000000000000..8f6675f739b7
--- /dev/null
+++ b/devel/pear-Config/pkg-descr
@@ -0,0 +1,10 @@
+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
+
+WWW: http://pear.php.net/package-info.php?package=Config
diff --git a/devel/pear-Config/pkg-plist b/devel/pear-Config/pkg-plist
new file mode 100644
index 000000000000..a8cefb4d4da1
--- /dev/null
+++ b/devel/pear-Config/pkg-plist
@@ -0,0 +1,16 @@
+%%PEARDIR%%/Config.php
+%%PEARDIR%%/Config/Container.php
+%%PEARDIR%%/Config/Container/Apache.php
+%%PEARDIR%%/Config/Container/GenericConf.php
+%%PEARDIR%%/Config/Container/IniCommented.php
+%%PEARDIR%%/Config/Container/IniFile.php
+%%PEARDIR%%/Config/Container/PHPArray.php
+%%PEARDIR%%/Config/Container/XML.php
+%%PKGREGDIR%%/package.xml
+%%PORTDOCS%%%%PEARDIR%%/docs/Config/Apache.php
+%%PORTDOCS%%%%PEARDIR%%/docs/Config/IniCommented.php
+%%PORTDOCS%%%%PEARDIR%%/docs/Config/IniFromScratch.php
+@dirrm %%PEARDIR%%/Config/Container
+@dirrm %%PEARDIR%%/Config
+@dirrm %%PKGREGDIR%%
+%%PORTDOCS%%@dirrm %%PEARDIR%%/docs/Config