svn commit: r306699 - head/www/trac-discussion

Ruslan Mahmatkhanov rm at FreeBSD.org
Tue Oct 30 19:42:40 UTC 2012


Author: rm
Date: Tue Oct 30 19:42:39 2012
New Revision: 306699
URL: http://svn.freebsd.org/changeset/ports/306699

Log:
  - remove direct setuptools dependency
  - no PORTREVISION bump is needed, because it already depend on it via USE_DISTUTILS
  - trim Makefile header
  - remove indefinite article in COMMENT
  - limit python version to 2.x only
  - move pkg-plist contents into Makefile:PLIST_FILES
  
  PR:		173165
  Submitted by:	rm (myself)
  Approved by:	brooks (maintainer, by mail)
  Feature safe:	yes

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

Modified: head/www/trac-discussion/Makefile
==============================================================================
--- head/www/trac-discussion/Makefile	Tue Oct 30 19:41:46 2012	(r306698)
+++ head/www/trac-discussion/Makefile	Tue Oct 30 19:42:39 2012	(r306699)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: trac-discussion
-# Date created:                      March 23, 2010
-# Whom:                              Brooks Davis <brooks at freebsd.org>
-#
+# Created by: Brooks Davis <brooks at freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
 PORTVERSION=	0.7
@@ -14,15 +10,15 @@ MASTER_SITE_SUBDIR=	brooks
 PKGNAMEPREFIX=	trac-
 
 MAINTAINER=	brooks at FreeBSD.org
-COMMENT=	A discussion forum plugin for Trac
+COMMENT=	Discussion forum plugin for Trac
 
 RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac \
 		trac-TracSpamFilter>=0.2.1:${PORTSDIR}/www/trac-spam-filter
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 
-USE_PYTHON=	yes
-USE_PYDISTUTILS=easy_install
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	TracDiscussion
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
 # Maintainter targets below this point
 


More information about the svn-ports-all mailing list