svn commit: r358349 - head/www/trac-fullblognotification

Marcus von Appen mva at FreeBSD.org
Thu Jun 19 06:22:04 UTC 2014


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>


More information about the svn-ports-head mailing list