summaryrefslogtreecommitdiff
path: root/security/py-xmlsec
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-16 14:08:34 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-03-16 14:08:34 +0000
commit8f35087454173719fc8e6012c46030e59721203f (patch)
tree3c69fe8cbc6f077ddb6d1a8f2909ac6aaa786e95 /security/py-xmlsec
parent- Strip library (diff)
- Add LICENSE
- Strip library
Notes
Notes: svn path=/head/; revision=381400
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}