mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
8a4f928396
PR: ports/148959 Submitted by: Jin-Sih Lin <linpct AT gmail.com> Approved by: Robert Gogolok <gogo AT cs.uni-sb.de> (maintainer)
40 lines
846 B
Makefile
40 lines
846 B
Makefile
# Ports collection makefile for: py-lxml
|
|
# Date created: Feb 18, 2007
|
|
# Whom: Robert Gogolok <gogo@cs.uni-sb.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lxml
|
|
PORTVERSION= 2.2.7
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= gogo@cs.uni-sb.de
|
|
COMMENT= Pythonic binding for the libxml2 and libxslt libraries
|
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
|
|
xslt.2:${PORTSDIR}/textproc/libxslt
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
PORTDOCS= CHANGES.txt \
|
|
CREDITS.txt \
|
|
LICENSES.txt \
|
|
TODO.txt \
|
|
README.txt
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|