diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-10 17:32:43 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-10 17:32:43 +0000 |
commit | 624aab49f23257bdfd19dfdb965096e5ddae4246 (patch) | |
tree | b8cbbe595d8e943c731f7f04bf2ab0f0b84597c2 | |
parent | ac81a262774c4ababc752cc6b09337610e237602 (diff) | |
download | ports-624aab49f23257bdfd19dfdb965096e5ddae4246.tar.gz ports-624aab49f23257bdfd19dfdb965096e5ddae4246.zip |
Notes
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/py-rxp/Makefile | 35 | ||||
-rw-r--r-- | textproc/py-rxp/distinfo | 1 | ||||
-rw-r--r-- | textproc/py-rxp/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/py-rxp/pkg-descr | 11 | ||||
-rw-r--r-- | textproc/py-rxp/pkg-plist | 18 |
6 files changed, 67 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 2f662a32ca89..c389d3585a70 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -221,6 +221,7 @@ SUBDIR += py-expat SUBDIR += py-jaxml SUBDIR += py-martel + SUBDIR += py-rxp SUBDIR += py-sgrep SUBDIR += py-trex SUBDIR += py-wordnet diff --git a/textproc/py-rxp/Makefile b/textproc/py-rxp/Makefile new file mode 100644 index 000000000000..cde6feba8727 --- /dev/null +++ b/textproc/py-rxp/Makefile @@ -0,0 +1,35 @@ +# Ports collection makefile for: py-rxp +# Date created: 10 May 2002 +# Whom: Hye-Shik Chang <perky@fallin.lv> +# +# $FreeBSD$ +# + +PORTNAME= rxp +PORTVERSION= 0.7 +CATEGORIES= textproc python +MASTER_SITES= http://www.reportlab.com/ftp/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyRXP-${PORTVERSION:S/./-/} +EXTRACT_SUFX= .tgz + +MAINTAINER= perky@fallin.lv + +NO_WRKSUBDIR= yes +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp +DOCSDIR= ${PREFIX}/share/doc/py-rxp + +post-patch: + @${PERL} -pi -e 's/freebsd4/freebsd4","freebsd5/g' ${WRKSRC}/setup.py + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${EXAMPLESDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/textproc/py-rxp/distinfo b/textproc/py-rxp/distinfo new file mode 100644 index 000000000000..b8011e324e23 --- /dev/null +++ b/textproc/py-rxp/distinfo @@ -0,0 +1 @@ +MD5 (pyRXP-0-7.tgz) = 135bafcadeba6c3c545d414a7e489617 diff --git a/textproc/py-rxp/pkg-comment b/textproc/py-rxp/pkg-comment new file mode 100644 index 000000000000..4a68c3a02d61 --- /dev/null +++ b/textproc/py-rxp/pkg-comment @@ -0,0 +1 @@ +Fast validating XML parser for Python diff --git a/textproc/py-rxp/pkg-descr b/textproc/py-rxp/pkg-descr new file mode 100644 index 000000000000..a5f4369bfefb --- /dev/null +++ b/textproc/py-rxp/pkg-descr @@ -0,0 +1,11 @@ +RXP is a very fast validating XML parser written by Richard Tobin +of the University of Edinburgh. It complies fully with the W3C test +suites (although we have compiled it without Unicode support for +the time being). pyRXP is a wrapper around this which constructs a +lightweight in-memory "tuple tree" in a single call. This structure +is the lightest one we could define in Python, and it is constructed +entirely in C code, resulting in unprecedented speed. It is a core +part of ReportLab's forthcoming XML toolkit, which aims to offer +simple, fast and pythonic tools for common XML processing tasks. + +WWW: http://www.reportlab.com/xml/pyrxp.html diff --git a/textproc/py-rxp/pkg-plist b/textproc/py-rxp/pkg-plist new file mode 100644 index 000000000000..270dc03b6579 --- /dev/null +++ b/textproc/py-rxp/pkg-plist @@ -0,0 +1,18 @@ +lib/%%PYTHON_VERSION%%/site-packages/pyRXP.so +%%PORTDOCS%%share/doc/py-rxp/PyRXP_Documentation.rml +%%PORTDOCS%%share/doc/py-rxp/replogo.gif +%%PORTDOCS%%@dirrm share/doc/py-rxp +%%PORTDOCS%%share/examples/py-rxp/00readme.txt +%%PORTDOCS%%share/examples/py-rxp/benchmarks.py +%%PORTDOCS%%share/examples/py-rxp/expattree.py +%%PORTDOCS%%share/examples/py-rxp/hamlet.xml +%%PORTDOCS%%share/examples/py-rxp/play.dtd +%%PORTDOCS%%share/examples/py-rxp/rml_a.dtd +%%PORTDOCS%%share/examples/py-rxp/rml_a.xml +%%PORTDOCS%%share/examples/py-rxp/sample1.xml +%%PORTDOCS%%share/examples/py-rxp/sample2.xml +%%PORTDOCS%%share/examples/py-rxp/sample3.xml +%%PORTDOCS%%share/examples/py-rxp/sample4.xml +%%PORTDOCS%%share/examples/py-rxp/tinydtd.dtd +%%PORTDOCS%%share/examples/py-rxp/xmlutils.py +%%PORTDOCS%%@dirrm share/examples/py-rxp |