diff options
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/ply/Makefile | 30 | ||||
-rw-r--r-- | devel/ply/distinfo | 1 | ||||
-rw-r--r-- | devel/ply/pkg-comment | 1 | ||||
-rw-r--r-- | devel/ply/pkg-descr | 9 | ||||
-rw-r--r-- | devel/ply/pkg-plist | 10 | ||||
-rw-r--r-- | devel/py-ply/Makefile | 30 | ||||
-rw-r--r-- | devel/py-ply/distinfo | 1 | ||||
-rw-r--r-- | devel/py-ply/pkg-comment | 1 | ||||
-rw-r--r-- | devel/py-ply/pkg-descr | 9 | ||||
-rw-r--r-- | devel/py-ply/pkg-plist | 10 |
11 files changed, 103 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index bf01db7..17ce203 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -416,6 +416,7 @@ SUBDIR += picprog SUBDIR += pinstall SUBDIR += pkgconfig + SUBDIR += ply SUBDIR += pmake SUBDIR += popt SUBDIR += portcheckout 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 diff --git a/devel/py-ply/Makefile b/devel/py-ply/Makefile new file mode 100644 index 0000000..5e42658 --- /dev/null +++ b/devel/py-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/py-ply/distinfo b/devel/py-ply/distinfo new file mode 100644 index 0000000..1e92a8e --- /dev/null +++ b/devel/py-ply/distinfo @@ -0,0 +1 @@ +MD5 (ply-1.0.tar.gz) = ece59c1be8ccc8875410d77490747488 diff --git a/devel/py-ply/pkg-comment b/devel/py-ply/pkg-comment new file mode 100644 index 0000000..357e13c --- /dev/null +++ b/devel/py-ply/pkg-comment @@ -0,0 +1 @@ +Python Lex-Yacc diff --git a/devel/py-ply/pkg-descr b/devel/py-ply/pkg-descr new file mode 100644 index 0000000..afcdc67 --- /dev/null +++ b/devel/py-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/py-ply/pkg-plist b/devel/py-ply/pkg-plist new file mode 100644 index 0000000..ce3ad0f --- /dev/null +++ b/devel/py-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 |