aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-lxml/Makefile
blob: c0d863f5333cb8e6c9abc5ac20e4f7e0477fa9f6 (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
36
37
38
# 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
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= 2.6+
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>