fd16266315
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It provides safe and convenient access to these libraries using the ElementTree API. It extends the ElementTree API significantly to offer support for XPath, RelaxNG, XML Schema, XSLT, C14N and much more. from Benoit Chesneau <benoitc at metavers dot net>
38 lines
738 B
Makefile
38 lines
738 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2008/04/03 11:31:59 ajacoutot Exp $
|
|
|
|
COMMENT= Python binding for the libxml2 and libxslt libraries
|
|
|
|
VERSION= 2.0.3
|
|
DISTNAME= lxml-${VERSION}
|
|
PKGNAME= py-lxml-${VERSION}
|
|
CATEGORIES= textproc devel
|
|
|
|
MAINTAINER= Benoit Chesneau <benoitc@metavers.net>
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
HOMEPAGE= http://codespeak.net/lxml/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
WANTLIB= m xml2 z
|
|
|
|
MODULES= lang/python
|
|
|
|
LIB_DEPENDS= exslt,xslt::textproc/libxslt
|
|
|
|
MODPY_SETUPTOOLS=Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-lxml
|
|
@cp -r ${WRKSRC}/doc/* ${PREFIX}/share/doc/py-lxml/
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
.include <bsd.port.mk>
|