Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 19:39:12 +0000 (UTC)
From:      Ruslan Mahmatkhanov <rm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r306695 - head/www/trac-navadd
Message-ID:  <201210301939.q9UJdC7O060331@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Oct 30 19:39:11 2012
New Revision: 306695
URL: http://svn.freebsd.org/changeset/ports/306695

Log:
  - do not directly depend on setuptools, use USE_DISTUTILS instead
  - bump PORTREVISION because of dependency change
  - trim Makefile header
  - remove indefinite article in COMMENT
  - limit python version to 2.x only
  
  PR:		173101
  Submitted by:	rm (myself)
  Approved by:	brooks (maintainer, by mail)
  Feature safe:	yes

Modified:
  head/www/trac-navadd/Makefile

Modified: head/www/trac-navadd/Makefile
==============================================================================
--- head/www/trac-navadd/Makefile	Tue Oct 30 19:38:15 2012	(r306694)
+++ head/www/trac-navadd/Makefile	Tue Oct 30 19:39:11 2012	(r306695)
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-navadd
-# Date created:                      January 23, 2009
-# Whom:                              Brooks Davis <brooks@freebsd.org>
-#
+# Created by: Brooks Davis <brooks@freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;:L}
 PORTVERSION=	0.1
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	www devel python
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	brooks
@@ -15,21 +11,14 @@ PKGNAMEPREFIX=	trac-
 DISTNAME=	${PORTNAME}plugin-${PORTVERSION}
 
 MAINTAINER=	brooks@FreeBSD.org
-COMMENT=	A plugin for adding navigation items into Trac navigation bars
+COMMENT=	Plugin for adding navigation items into Trac navigation bars
 
 RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 
-USE_PYTHON=	yes
-NO_BUILD=	yes
-USE_PYDISTUTILS=yes
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	NavAdd
-WRKSRC=		${WRKDIR}/${PORTNAME}plugin
-PYDISTUTILS_NOEGGINFO=	yes
-
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
-
-do-build:
-	@${DO_NADA}
+WRKSRC=			${WRKDIR}/${PORTNAME}plugin
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
 .include <bsd.port.mk>



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