2007-02-19 14:56:00 +01:00
|
|
|
# Ports collection makefile for: py-lxml
|
|
|
|
# Date created: Feb 18, 2007
|
|
|
|
# Whom: Robert Gogolok <gogo@cs.uni-sb.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= lxml
|
2009-01-09 16:33:20 +01:00
|
|
|
PORTVERSION= 2.1.5
|
2007-02-19 14:56:00 +01:00
|
|
|
CATEGORIES= devel python
|
2007-02-22 10:56:43 +01:00
|
|
|
MASTER_SITES= http://codespeak.net/lxml/ \
|
2008-07-20 23:12:56 +02:00
|
|
|
CHEESESHOP \
|
2008-06-23 12:51:53 +02:00
|
|
|
http://pypi.python.org/packages/source/l/lxml/
|
2007-02-19 14:56:00 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
|
|
|
MAINTAINER= gogo@cs.uni-sb.de
|
|
|
|
COMMENT= Pythonic binding for the libxml2 and libxslt libraries
|
|
|
|
|
2008-09-24 11:23:07 +02:00
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
|
|
|
|
xslt.2:${PORTSDIR}/textproc/libxslt
|
2007-02-19 14:56:00 +01:00
|
|
|
|
|
|
|
USE_PYTHON= 2.4+
|
2008-01-10 18:59:03 +01:00
|
|
|
USE_PYDISTUTILS= easy_install
|
|
|
|
PYEASYINSTALL_ARCHDEP= yes
|
2007-02-19 14:56:00 +01:00
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
|
2008-06-21 20:26:03 +02:00
|
|
|
PORTDOCS= CHANGES.txt \
|
2007-02-19 14:56:00 +01:00
|
|
|
CREDITS.txt \
|
|
|
|
LICENSES.txt \
|
|
|
|
TODO.txt \
|
|
|
|
README.txt
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2008-09-24 11:23:07 +02:00
|
|
|
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${DOCSDIR}
|
2007-02-19 14:56:00 +01:00
|
|
|
.endif
|
|
|
|
|
2008-01-10 18:59:03 +01:00
|
|
|
.include <bsd.port.mk>
|