summaryrefslogtreecommitdiffstats
path: root/security/py-xmlsec/Makefile
blob: 28e3114b60acaa8725a0c35ca3c4b3e72b398ed3 (plain)
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
# ex:ts=8
# Ports collection makefile for:	pyxmlsec
# Date created:			Feb 3, 2004
# Whom:				ijliao
#
# $FreeBSD$
#

PORTNAME=	xmlsec
PORTVERSION=	0.2.1
CATEGORIES=	security python
MASTER_SITES=	http://pyxmlsec.labs.libre-entreprise.org/releases/sources/
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
RUN_DEPENDS=	${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2

USE_PYTHON=	2.2+
USE_PYDISTUTILS=	yes

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>
OpenPOWER on IntegriCloud