Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 19:24:33 +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: r358164 - head/www/trac-vote
Message-ID:  <201406171924.s5HJOXSI052229@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Tue Jun 17 19:24:33 2014
New Revision: 358164
URL: http://svnweb.freebsd.org/changeset/ports/358164
QAT: https://qat.redports.org/buildarchive/r358164/

Log:
  - 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)

Modified:
  head/www/trac-vote/Makefile

Modified: head/www/trac-vote/Makefile
==============================================================================
--- head/www/trac-vote/Makefile	Tue Jun 17 19:23:41 2014	(r358163)
+++ head/www/trac-vote/Makefile	Tue Jun 17 19:24:33 2014	(r358164)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
-PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl}
+PORTNAME=	vote
 PORTVERSION=	0.1.2
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www devel python
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	brooks
@@ -13,10 +13,9 @@ COMMENT=	Plugin for voting on Trac resou
 
 RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac
 
-USE_PYTHON=	2
-USE_PYDISTUTILS=	easy_install
-PYDISTUTILS_PKGNAME=	TracVote
-PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+USE_PYTHON=		2
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 # Maintainter targets below this point
 
@@ -31,15 +30,5 @@ do-fetch:
 	cd ${WRKDIR} && tar cvf ${DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
 .endif
 
-# Create a pkg-plist after the package is installed.
-EGGDIR=		${PYTHON_SITELIBDIR}/${PYEASYINSTALL_EGG}
-PLIST_EGGDIR=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
-build-plist:
-	${FIND} ${EGGDIR} -type f | \
-	    ${SED} -e 's|${EGGDIR}|${PLIST_EGGDIR}|' | \
-	    ${SORT} > pkg-plist
-	${FIND} ${EGGDIR} -type d | \
-	    ${SED} -e 's|${EGGDIR}|@dirrm ${PLIST_EGGDIR}|' | \
-	    ${SORT} -r >> pkg-plist
-
+.include "${.CURDIR}/../../www/trac/plugin.mk"
 .include <bsd.port.mk>



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