2004-02-12 20:04:26 -05:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: pyxmlsec
|
|
|
|
# Date created: Feb 3, 2004
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xmlsec
|
2006-09-05 12:49:44 -04:00
|
|
|
PORTVERSION= 0.3.0
|
2004-02-12 20:04:26 -05:00
|
|
|
CATEGORIES= security python
|
2006-09-05 12:49:44 -04:00
|
|
|
MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/430/
|
2004-02-12 20:04:26 -05:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= A set of Python bindings for XML Security Library
|
|
|
|
|
|
|
|
LIB_DEPENDS= xmlsec1.3:${PORTSDIR}/security/xmlsec1
|
2005-09-19 13:38:46 -04:00
|
|
|
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
|
2004-02-12 20:04:26 -05:00
|
|
|
|
|
|
|
USE_PYTHON= 2.2+
|
2006-09-05 12:49:44 -04:00
|
|
|
USE_PYDISTUTILS=yes
|
2004-02-12 20:04:26 -05:00
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} -R ${WRKSRC}/docs/html/* ${DOCSDIR}
|
|
|
|
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|