Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2014 11:18:25 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357769 - head/net/pyrad
Message-ID:  <201406141118.s5EBIP3B018269@svn.freebsd.org>

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



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