Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 11:34:41 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r338089 - head/security/py-xmlsec
Message-ID:  <201312301134.rBUBYfo9095660@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312301134.rBUBYfo9095660>