Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2014 06:22:03 +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: r358349 - head/www/trac-fullblognotification
Message-ID:  <201406190622.s5J6M3QK027101@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Thu Jun 19 06:22:03 2014
New Revision: 358349
URL: http://svnweb.freebsd.org/changeset/ports/358349
QAT: https://qat.redports.org/buildarchive/r358349/

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)

Deleted:
  head/www/trac-fullblognotification/pkg-plist
Modified:
  head/www/trac-fullblognotification/Makefile

Modified: head/www/trac-fullblognotification/Makefile
==============================================================================
--- head/www/trac-fullblognotification/Makefile	Thu Jun 19 06:19:35 2014	(r358348)
+++ head/www/trac-fullblognotification/Makefile	Thu Jun 19 06:22:03 2014	(r358349)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
-PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl}
+PORTNAME=	fullblognotification
 PORTVERSION=	0.2.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www devel python
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	brooks
@@ -15,9 +15,9 @@ COMMENT=	Plugin that provides a project 
 
 RUN_DEPENDS+=	trac-fullblog>=0.1.1:${PORTSDIR}/www/trac-fullblog
 
-USE_PYTHON=	2
-USE_PYDISTUTILS=	easy_install
-PYDISTUTILS_PKGNAME=	TracFullBlogNotificationPlugin
+USE_PYTHON=		2
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 
 .if defined(BOOTSTRAP)
 do-fetch:
@@ -29,13 +29,5 @@ do-fetch:
 	    tar cfvz ${_DISTDIR}/${DISTNAME}.tar.gz ${DISTNAME}
 .endif
 
-build-plist:
-	@${CAT} /dev/null > ${PLIST}
-	${FIND} ${EGG_PATH} -type f | \
-	    ${SED} -e 's|${EGG_PATH}|%%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-%%PORTVERSION%%-py%%PYTHON_VER%%.egg|' | \
-	    ${SORT} >> ${PLIST}
-	${FIND} ${EGG_PATH} -type d | \
-	    ${SED} -e 's|${EGG_PATH}|@dirrm %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-%%PORTVERSION%%-py%%PYTHON_VER%%.egg|' | \
-	    ${SORT} -r >> ${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?201406190622.s5J6M3QK027101>