blob: 314068f4ac59bbfb94791bf1ec2dac6e32b1903c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# Created by: Robert Gogolok <gogo@cs.uni-sb.de>
# $FreeBSD$
PORTNAME= lxml
PORTVERSION= 3.3.4
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
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST= yes
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>
|