svn commit: r337138 - head/net/py-zsi

William Grzybowski wg at FreeBSD.org
Sat Dec 21 11:03:04 UTC 2013


Author: wg
Date: Sat Dec 21 11:03:03 2013
New Revision: 337138
URL: http://svnweb.freebsd.org/changeset/ports/337138

Log:
  devel/py-zsi: allow staging and minor fixes
  
  - Allow staging
  - Switch from easy_install to install
  - Remove leading article from COMMENT
  - Remove now useless NOPORTDOCS NOPORTEXAMPLES
  - Use python auto plist

Deleted:
  head/net/py-zsi/pkg-plist
Modified:
  head/net/py-zsi/Makefile

Modified: head/net/py-zsi/Makefile
==============================================================================
--- head/net/py-zsi/Makefile	Sat Dec 21 10:39:29 2013	(r337137)
+++ head/net/py-zsi/Makefile	Sat Dec 21 11:03:03 2013	(r337138)
@@ -3,6 +3,7 @@
 
 PORTNAME=	zsi
 PORTVERSION=	2.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net python
 MASTER_SITES=	SF/pywebsvcs/ZSI/ZSI-${PORTVERSION}
@@ -10,30 +11,30 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	${PORTNAME:U}-${PORTVERSION}
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A pure Python module that provides an implementation of SOAP 1.1
+COMMENT=	Pure Python module that provides an implementation of SOAP 1.1
 
 BUILD_DEPENDS=	${PYXML}
 RUN_DEPENDS=	${PYXML}
 
 CONFLICTS=	py-zsi-devel-2.*
 
-USE_PYTHON=	2.5+
-USE_PYDISTUTILS=	easy_install
-PYDISTUTILS_PKGNAME=	ZSI
+USE_PYTHON=	2
+USE_PYDISTUTILS=yes
+PYDISTUTILS_AUTOPLIST=	yes
+
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for docfile in CHANGES README doc/zsi.* doc/*.tex
-	@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
 .for subdir in interop samples test
-	@${MKDIR} ${EXAMPLESDIR}/${subdir}
-	@${CP} -rp ${WRKSRC}/${subdir}/* ${EXAMPLESDIR}/${subdir}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/${subdir}
+	${CP} -rp ${WRKSRC}/${subdir}/* ${STAGEDIR}${EXAMPLESDIR}/${subdir}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list