svn commit: r338089 - head/security/py-xmlsec
William Grzybowski
wg at FreeBSD.org
Mon Dec 30 11:34:41 UTC 2013
Author: wg
Date: Mon Dec 30 11:34:40 2013
New Revision: 338089
URL: http://svnweb.freebsd.org/changeset/ports/338089
Log:
security/py-xmlsec: support staging and minor fixes
Deleted:
head/security/py-xmlsec/pkg-plist
Modified:
head/security/py-xmlsec/Makefile
Modified: head/security/py-xmlsec/Makefile
==============================================================================
--- head/security/py-xmlsec/Makefile Mon Dec 30 11:31:14 2013 (r338088)
+++ head/security/py-xmlsec/Makefile Mon Dec 30 11:34:40 2013 (r338089)
@@ -10,26 +10,24 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= ports at FreeBSD.org
-COMMENT= A set of Python bindings for XML Security Library
+COMMENT= Python bindings for XML Security Library
-LIB_DEPENDS= xmlsec1.3:${PORTSDIR}/security/xmlsec1
+LIB_DEPENDS= libxmlsec1.so:${PORTSDIR}/security/xmlsec1
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/libxml2.py:${PORTSDIR}/textproc/py-libxml2
-USE_PYTHON= 2.2+
+USE_PYTHON= 2
USE_PYDISTUTILS=yes
-PYDISTUTILS_PKGNAME= pyxmlsec
+PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
+PORTDOCS= *
+PORTEXAMPLES= *
-NO_STAGE= yes
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${CP} -R ${WRKSRC}/docs/html/* ${DOCSDIR}
-
- @${MKDIR} ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/examples/* ${EXAMPLESDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ (cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/)
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ (cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/)
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list