diff options
Diffstat (limited to 'devel/py-lxml')
-rw-r--r-- | devel/py-lxml/Makefile | 42 | ||||
-rw-r--r-- | devel/py-lxml/distinfo | 3 | ||||
-rw-r--r-- | devel/py-lxml/pkg-descr | 9 | ||||
-rw-r--r-- | devel/py-lxml/pkg-plist | 62 |
4 files changed, 116 insertions, 0 deletions
diff --git a/devel/py-lxml/Makefile b/devel/py-lxml/Makefile new file mode 100644 index 000000000000..9ca8a01243c6 --- /dev/null +++ b/devel/py-lxml/Makefile @@ -0,0 +1,42 @@ +# Ports collection makefile for: py-lxml +# Date created: Feb 18, 2007 +# Whom: Robert Gogolok <gogo@cs.uni-sb.de> +# +# $FreeBSD$ +# + +PORTNAME= lxml +PORTVERSION= 1.1.2 +CATEGORIES= devel python +MASTER_SITES= http://codespeak.net/lxml/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +EXTRACT_SUFX= .tgz + +MAINTAINER= gogo@cs.uni-sb.de +COMMENT= Pythonic binding for the libxml2 and libxslt libraries + +LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \ + xslt.2:${PORTSDIR}/textproc/libxslt + +USE_PYTHON= 2.4+ +USE_PYDISTUTILS= yes + +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} + +BASEDOCS= CHANGES.txt \ + CREDITS.txt \ + LICENSES.txt \ + TODO.txt \ + README.txt + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +. for f in ${BASEDOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} +. endfor + @${MKDIR} ${DOCSDIR}/doc + ${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}/doc +.endif + +.include <bsd.port.mk> diff --git a/devel/py-lxml/distinfo b/devel/py-lxml/distinfo new file mode 100644 index 000000000000..a31394cfbf7d --- /dev/null +++ b/devel/py-lxml/distinfo @@ -0,0 +1,3 @@ +MD5 (lxml-1.1.2.tgz) = d18ecaacdecf7c9f02a6e9aecb16c720 +SHA256 (lxml-1.1.2.tgz) = b0139b3e1443ab5ce7dd2b63e67ac987f1e4caddf5f9bc72c90c63199265c278 +SIZE (lxml-1.1.2.tgz) = 640469 diff --git a/devel/py-lxml/pkg-descr b/devel/py-lxml/pkg-descr new file mode 100644 index 000000000000..a2885ac27cf3 --- /dev/null +++ b/devel/py-lxml/pkg-descr @@ -0,0 +1,9 @@ +lxml is a Python binding for libxml2 and libxslt. Its aim: + + * Pythonic API. + * Documented. + * Use Python unicode strings in API. + * Safe (no segfaults). + * No manual memory management! + +WWW: http://codespeak.net/lxml/ diff --git a/devel/py-lxml/pkg-plist b/devel/py-lxml/pkg-plist new file mode 100644 index 000000000000..409d4fbdfce6 --- /dev/null +++ b/devel/py-lxml/pkg-plist @@ -0,0 +1,62 @@ +%%PYTHON_SITELIBDIR%%/lxml/__init__.py +%%PYTHON_SITELIBDIR%%/lxml/__init__.pyc +%%PYTHON_SITELIBDIR%%/lxml/__init__.pyo +%%PYTHON_SITELIBDIR%%/lxml/_elementpath.py +%%PYTHON_SITELIBDIR%%/lxml/_elementpath.pyc +%%PYTHON_SITELIBDIR%%/lxml/_elementpath.pyo +%%PYTHON_SITELIBDIR%%/lxml/etree.so +%%PYTHON_SITELIBDIR%%/lxml/objectify.so +%%PYTHON_SITELIBDIR%%/lxml/sax.py +%%PYTHON_SITELIBDIR%%/lxml/sax.pyc +%%PYTHON_SITELIBDIR%%/lxml/sax.pyo +%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt +%%PORTDOCS%%%%DOCSDIR%%/CREDITS.txt +%%PORTDOCS%%%%DOCSDIR%%/LICENSES.txt +%%PORTDOCS%%%%DOCSDIR%%/TODO.txt +%%PORTDOCS%%%%DOCSDIR%%/README.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/FAQ.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/api.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/build.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/capi.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/compatibility.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/element_classes.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/extensions.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/html/FAQ.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/api.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/build.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/capi.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/changes-1.1.2.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/compatibility.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/element_classes.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/extensions.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/index.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/installation.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/intro.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/objectify.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/performance.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/pubkey.asc +%%PORTDOCS%%%%DOCSDIR%%/doc/html/resolvers.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/sax.html +%%PORTDOCS%%%%DOCSDIR%%/doc/html/style.css +%%PORTDOCS%%%%DOCSDIR%%/doc/intro.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/BSD.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/GPL.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/ZopePublicLicense.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/licenses/elementtree.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/lxml.mgp +%%PORTDOCS%%%%DOCSDIR%%/doc/main.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/memorymanagement.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/mkhtml.py +%%PORTDOCS%%%%DOCSDIR%%/doc/objectify.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/performance.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/pubkey.asc +%%PORTDOCS%%%%DOCSDIR%%/doc/resolvers.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/rest2html.py +%%PORTDOCS%%%%DOCSDIR%%/doc/sax.txt +%%PORTDOCS%%%%DOCSDIR%%/doc/test.xml +%%PORTDOCS%%%%DOCSDIR%%/doc/valgrind.txt +%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/licenses +%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc/html +%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc +%%PORTDOCS%%@dirrm %%DOCSDIR%% +@dirrm %%PYTHON_SITELIBDIR%%/lxml |