summaryrefslogtreecommitdiff
path: root/security/py-xmlsec
diff options
context:
space:
mode:
Diffstat (limited to 'security/py-xmlsec')
-rw-r--r--security/py-xmlsec/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/py-xmlsec/Makefile b/security/py-xmlsec/Makefile
index c10539940417..a0396b200d25 100644
--- a/security/py-xmlsec/Makefile
+++ b/security/py-xmlsec/Makefile
@@ -3,7 +3,7 @@
PORTNAME= xmlsec
PORTVERSION= 0.3.0
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security python
MASTER_SITES= http://labs.libre-entreprise.org/frs/download.php/430/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,9 @@ DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python bindings for XML Security Library
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
LIB_DEPENDS= libxmlsec1.so:${PORTSDIR}/security/xmlsec1
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
@@ -24,6 +27,7 @@ PORTDOCS= *
PORTEXAMPLES= *
post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/xmlsecmod.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}