summaryrefslogtreecommitdiffstats
path: root/devel/ply
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-07-31 09:56:58 +0000
committerijliao <ijliao@FreeBSD.org>2001-07-31 09:56:58 +0000
commit44f83f60509d1417906a83a90bbc689f55899e58 (patch)
tree9444ead885a062baae0ceebd0292c55de6f4a40b /devel/ply
parentd526a238fd980a3739ba2687ae25105787b99886 (diff)
downloadFreeBSD-ports-44f83f60509d1417906a83a90bbc689f55899e58.zip
FreeBSD-ports-44f83f60509d1417906a83a90bbc689f55899e58.tar.gz
add ply
Python Lex-Yacc
Diffstat (limited to 'devel/ply')
-rw-r--r--devel/ply/Makefile30
-rw-r--r--devel/ply/distinfo1
-rw-r--r--devel/ply/pkg-comment1
-rw-r--r--devel/ply/pkg-descr9
-rw-r--r--devel/ply/pkg-plist10
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/ply/Makefile b/devel/ply/Makefile
new file mode 100644
index 0000000..5e42658
--- /dev/null
+++ b/devel/ply/Makefile
@@ -0,0 +1,30 @@
+# ex:ts=8
+# New ports collection makefile for: ply
+# Date created: Jul 31, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= ply
+PORTVERSION= 1.0
+CATEGORIES= devel python
+MASTER_SITES= http://systems.cs.uchicago.edu/ply/
+
+MAINTAINER= ijliao@FreeBSD.org
+
+USE_PYTHON= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/lex.py ${PYTHON_SITELIBDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/yacc.py ${PYTHON_SITELIBDIR}
+
+.if !defined(NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/ply.html ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/example ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ply/distinfo b/devel/ply/distinfo
new file mode 100644
index 0000000..1e92a8e
--- /dev/null
+++ b/devel/ply/distinfo
@@ -0,0 +1 @@
+MD5 (ply-1.0.tar.gz) = ece59c1be8ccc8875410d77490747488
diff --git a/devel/ply/pkg-comment b/devel/ply/pkg-comment
new file mode 100644
index 0000000..357e13c
--- /dev/null
+++ b/devel/ply/pkg-comment
@@ -0,0 +1 @@
+Python Lex-Yacc
diff --git a/devel/ply/pkg-descr b/devel/ply/pkg-descr
new file mode 100644
index 0000000..afcdc67
--- /dev/null
+++ b/devel/ply/pkg-descr
@@ -0,0 +1,9 @@
+PLY is a Python-only implementation of the popular compiler construction
+tools lex and yacc. The implementation borrows ideas from a number of
+previous efforts; most notably John Aycock's SPARK toolkit. However, the
+overall flavor of the implementation is more closely modeled after the C
+version of lex and yacc. The other significant feature of PLY is that it
+provides extensive input validation and error reporting--much more so than
+other Python parsing tools.
+
+WWW: http://systems.cs.uchicago.edu/ply/
diff --git a/devel/ply/pkg-plist b/devel/ply/pkg-plist
new file mode 100644
index 0000000..ce3ad0f
--- /dev/null
+++ b/devel/ply/pkg-plist
@@ -0,0 +1,10 @@
+lib/%%PYTHON_VERSION%%/site-packages/lex.py
+lib/%%PYTHON_VERSION%%/site-packages/yacc.py
+%%PORTDOCS%%share/doc/ply/ply.html
+%%PORTDOCS%%share/doc/ply/example/ansic/clex.py
+%%PORTDOCS%%share/doc/ply/example/ansic/cparse.py
+%%PORTDOCS%%share/doc/ply/example/calc/calc.py
+%%PORTDOCS%%@dirrm share/doc/ply/example/ansic
+%%PORTDOCS%%@dirrm share/doc/ply/example/calc
+%%PORTDOCS%%@dirrm share/doc/ply/example
+%%PORTDOCS%%@dirrm share/doc/ply
OpenPOWER on IntegriCloud