2011-01-16 04:27:28 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.8 2011/01/16 09:27:28 phessler Exp $
|
2008-04-03 07:31:59 -04:00
|
|
|
|
|
|
|
COMMENT= Python binding for the libxml2 and libxslt libraries
|
|
|
|
|
2011-01-16 04:27:28 -05:00
|
|
|
MODPY_EGG_VERSION= 2.2.8
|
2009-01-03 16:34:01 -05:00
|
|
|
DISTNAME= lxml-${MODPY_EGG_VERSION}
|
2009-11-19 08:04:23 -05:00
|
|
|
PKGNAME= py-lxml-${MODPY_EGG_VERSION}
|
2008-04-03 07:31:59 -04:00
|
|
|
CATEGORIES= textproc devel
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2010-11-10 17:24:16 -05:00
|
|
|
WANTLIB= m xml2 z exslt xslt
|
2008-04-03 07:31:59 -04:00
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2010-11-20 14:56:47 -05:00
|
|
|
LIB_DEPENDS= textproc/libxslt
|
2011-01-16 04:27:28 -05:00
|
|
|
RUN_DEPENDS= www/py-beautifulsoup
|
2008-04-03 07:31:59 -04:00
|
|
|
|
|
|
|
MODPY_SETUPTOOLS=Yes
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-lxml
|
|
|
|
@cp -r ${WRKSRC}/doc/* ${PREFIX}/share/doc/py-lxml/
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|