mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
7202d2a4df
PR: 119533 Submitted by: bsam (me) Approved by: Robert Gogolok <gogo at cs.uni-sb.de> (maintainer)
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Ports collection makefile for: py-lxml
|
|
# Date created: Feb 18, 2007
|
|
# Whom: Robert Gogolok <gogo@cs.uni-sb.de>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= lxml
|
|
PORTVERSION= 1.3.6
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://codespeak.net/lxml/ \
|
|
http://cheeseshop.python.org/packages/source/l/lxml/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= gogo@cs.uni-sb.de
|
|
COMMENT= Pythonic binding for the libxml2 and libxslt libraries
|
|
|
|
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt
|
|
|
|
USE_PYTHON= 2.4+
|
|
USE_PYDISTUTILS= easy_install
|
|
PYEASYINSTALL_INSTALLARGS= -N ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
|
|
PYEASYINSTALL_UNINSTALLARGS= -q -m -N ${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
BASEDOCS= CHANGES.txt \
|
|
CREDITS.txt \
|
|
LICENSES.txt \
|
|
TODO.txt \
|
|
README.txt
|
|
|
|
PYLXML_EGG= ${PORTNAME}-${PORTVERSION}-py${PYTHON_VER}${PYEASYINSTALL_OSARCH}.egg
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
. for f in ${BASEDOCS}
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
. endfor
|
|
@${MKDIR} ${DOCSDIR}/doc
|
|
${CP} -R ${WRKSRC}/doc/* ${DOCSDIR}/doc
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|