summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-08-05 21:01:19 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-08-05 21:01:19 +0000
commit3a16435e442e09b3e75c6613a7b70a29de7c16cf (patch)
tree4af9d34281961cc5ea1367ff865d6b7b9b4f3576 /devel
parenta interactive PHP Shell with tab-completion, inline help (diff)
Translate a grammar file in the lemon parser generator format
into a PHP 5-based parser WWW: http://pear.php.net/package/PHP_ParserGenerator/
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/pear-PHP_ParserGenerator/Makefile30
-rw-r--r--devel/pear-PHP_ParserGenerator/distinfo3
-rw-r--r--devel/pear-PHP_ParserGenerator/pkg-descr4
4 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 0a45cff19a53..185e6d3779d9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1723,6 +1723,7 @@
SUBDIR += pear-PHP_Beautifier
SUBDIR += pear-PHP_Compat
SUBDIR += pear-PHP_CompatInfo
+ SUBDIR += pear-PHP_ParserGenerator
SUBDIR += pear-Pager
SUBDIR += pear-PhpDocumentor
SUBDIR += pear-Structures_DataGrid
diff --git a/devel/pear-PHP_ParserGenerator/Makefile b/devel/pear-PHP_ParserGenerator/Makefile
new file mode 100644
index 000000000000..c2ad7f819050
--- /dev/null
+++ b/devel/pear-PHP_ParserGenerator/Makefile
@@ -0,0 +1,30 @@
+# Ports collection makefile for: pear-PHP_ParserGenerator
+# Date created: 05 August 2007
+# Whom: Martin Wilke <miwi@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= PHP_ParserGenerator
+PORTVERSION= 0.1.5
+CATEGORIES= devel www pear
+
+MAINTAINER= miwi@FreeBSD.org
+COMMENT= Convert files from lemon parser to php5
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
+
+CATEGORY= PHP
+FILES= Lempar.php ParserGenerator.php phplemon \
+ phplemon.bat ParserGenerator/Action.php \
+ ParserGenerator/ActionTable.php \
+ ParserGenerator/Config.php ParserGenerator/Data.php \
+ ParserGenerator/PropagationLink.php \
+ ParserGenerator/Rule.php ParserGenerator/State.php \
+ ParserGenerator/Symbol.php ParserGenerator/cli.php
+TESTS= bug9346.php bug9346.y
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
+.include <bsd.port.post.mk>
diff --git a/devel/pear-PHP_ParserGenerator/distinfo b/devel/pear-PHP_ParserGenerator/distinfo
new file mode 100644
index 000000000000..781564f9f682
--- /dev/null
+++ b/devel/pear-PHP_ParserGenerator/distinfo
@@ -0,0 +1,3 @@
+MD5 (PEAR/PHP_ParserGenerator-0.1.5.tgz) = b88cf68a8abbb5d7b66da8213de2f142
+SHA256 (PEAR/PHP_ParserGenerator-0.1.5.tgz) = 3f237eeb9d383ef01d82d902f194fd7852b34fb1d9f93788db40204604afb953
+SIZE (PEAR/PHP_ParserGenerator-0.1.5.tgz) = 54783
diff --git a/devel/pear-PHP_ParserGenerator/pkg-descr b/devel/pear-PHP_ParserGenerator/pkg-descr
new file mode 100644
index 000000000000..f8638acd1be5
--- /dev/null
+++ b/devel/pear-PHP_ParserGenerator/pkg-descr
@@ -0,0 +1,4 @@
+Translate a grammar file in the lemon parser generator format
+into a PHP 5-based parser
+
+WWW: http://pear.php.net/package/PHP_ParserGenerator/