1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/py-lxml/Makefile
William Grzybowski b80a42659e devel/py-lxml: update to 3.4.0
- USES python
2014-09-25 16:24:29 +00:00

35 lines
819 B
Makefile

# Created by: Robert Gogolok <gogo@cs.uni-sb.de>
# $FreeBSD$
PORTNAME= lxml
PORTVERSION= 3.4.0
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= wg@FreeBSD.org
COMMENT= Pythonic binding for the libxml2 and libxslt libraries
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libxml2.so:${PORTSDIR}/textproc/libxml2 \
libxslt.so:${PORTSDIR}/textproc/libxslt
USES= python
USE_PYTHON= autoplist distutils
LDFLAGS+= -Wl,-rpath=${LOCALBASE}/lib
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>