c508cd5496
fix regress while i'm here. sthen@ ok
39 lines
798 B
Makefile
39 lines
798 B
Makefile
# $OpenBSD: Makefile,v 1.9 2011/04/02 01:18:35 fgsch Exp $
|
|
|
|
COMMENT= Python binding for the libxml2 and libxslt libraries
|
|
|
|
MODPY_EGG_VERSION= 2.2.8
|
|
DISTNAME= lxml-${MODPY_EGG_VERSION}
|
|
PKGNAME= py-lxml-${MODPY_EGG_VERSION}
|
|
REVISION = 0
|
|
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
|
|
|
|
WANTLIB= m xml2 z exslt xslt
|
|
|
|
MODULES= lang/python
|
|
|
|
LIB_DEPENDS= textproc/libxslt
|
|
|
|
MODPY_SETUPTOOLS=Yes
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/py-lxml
|
|
@cp -r ${WRKSRC}/doc/* ${PREFIX}/share/doc/py-lxml/
|
|
|
|
do-regress:
|
|
cd ${WRKSRC} && cp lib.openbsd-*/lxml/*.so src/lxml; \
|
|
${MODPY_BIN} test.py
|
|
|
|
.include <bsd.port.mk>
|