freebsd-ports/devel/py-lxml/Makefile
2013-12-15 16:54:02 +00:00

33 lines
790 B
Makefile

# Created by: Robert Gogolok <gogo@cs.uni-sb.de>
# $FreeBSD$
PORTNAME= lxml
PORTVERSION= 3.2.4
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= Pythonic binding for the libxml2 and libxslt libraries
LICENSE= BSD
LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
libxslt.so:${PORTSDIR}/textproc/libxslt
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
DOCS_FILES= CHANGES.txt CREDITS.txt TODO.txt README.rst
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${DOCS_FILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
@cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>