mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
b80a42659e
- USES python
35 lines
819 B
Makefile
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>
|