9fe9d71c52
- strict versions of FreeBSD that needs xlocale patch (it builds fine w/o patch after OSVERSION >= 1000010) changelog: http://lxml.de/2.3/changes-2.3.4.html PR: 166563 Submitted by: rm (myself) Approved by: Robert Gogolok <gogo at cs.uni-sb dot de> (maintainer) Feature safe: yes
42 lines
914 B
Makefile
42 lines
914 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.3.4
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= gogo@cs.uni-sb.de
|
|
COMMENT= Pythonic binding for the libxml2 and libxslt libraries
|
|
|
|
LICENSE= BSD
|
|
|
|
LIB_DEPENDS= xml2.5:${PORTSDIR}/textproc/libxml2 \
|
|
xslt.2:${PORTSDIR}/textproc/libxslt
|
|
|
|
# Python3 ready
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
PLIST_SUB= PORTVERSION=${PORTVERSION}
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
PORTDOCS= CHANGES.txt \
|
|
CREDITS.txt \
|
|
LICENSES.txt \
|
|
TODO.txt \
|
|
README.rst
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
@${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
|
@cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|