svn commit: r357769 - head/net/pyrad

Marcus von Appen mva at FreeBSD.org
Sat Jun 14 11:18:25 UTC 2014


Author: mva
Date: Sat Jun 14 11:18:25 2014
New Revision: 357769
URL: http://svnweb.freebsd.org/changeset/ports/357769
QAT: https://qat.redports.org/buildarchive/r357769/

Log:
  - Enable stagedir support
  - Remove easy_install dependency
  - Convert to PYDISTUTILS_AUTOPLIST
  - Bump PORTREVISION to enforce a cleanup for the easy_install references
  
  With hat:	python@
  Approved by:	portmgr (implicit)

Deleted:
  head/net/pyrad/pkg-plist
Modified:
  head/net/pyrad/Makefile

Modified: head/net/pyrad/Makefile
==============================================================================
--- head/net/pyrad/Makefile	Sat Jun 14 11:13:34 2014	(r357768)
+++ head/net/pyrad/Makefile	Sat Jun 14 11:18:25 2014	(r357769)
@@ -3,6 +3,7 @@
 
 PORTNAME=	pyrad
 PORTVERSION=	2.0
+PORTREVISION=	1
 CATEGORIES=	net python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,15 +11,14 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	steve at energistic.com
 COMMENT=	Python implementation of RADIUS client
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=	easy_install
-PYDISTUTILS_PKGNAME=	pyrad
+USE_PYTHON=		yes
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	EXAMPLES
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -27,8 +27,8 @@ post-patch:
 
 .if ${PORT_OPTIONS:MEXAMPLES}
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/example && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list