Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 19:38:16 +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: r306694 - head/www/trac-wikitopdf
Message-ID:  <201210301938.q9UJcGPD060136@svn.freebsd.org>

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

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

Modified:
  head/www/trac-wikitopdf/Makefile

Modified: head/www/trac-wikitopdf/Makefile
==============================================================================
--- head/www/trac-wikitopdf/Makefile	Tue Oct 30 19:37:20 2012	(r306693)
+++ head/www/trac-wikitopdf/Makefile	Tue Oct 30 19:38:15 2012	(r306694)
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-wikitopdf
-# Date created:                      January 9, 2009
-# Whom:                              Brooks Davis <brooks@freebsd.org>
-#
+# Created by: Brooks Davis <brooks@freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
 PORTVERSION=	2.2.2
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	www devel python
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	brooks
@@ -19,18 +15,11 @@ COMMENT=	Plugin to generate PDF document
 
 RUN_DEPENDS+=	htmldoc:${PORTSDIR}/textproc/htmldoc \
 		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=	TracWikiToPdfPlugin
-WRKSRC=		${WRKDIR}/${PORTNAME}plugin
-PYDISTUTILS_NOEGGINFO=	yes
-
-PLIST_FILES=	%%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
-
-do-build:
-	@${DO_NADA}
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+WRKSRC=			${WRKDIR}/${PORTNAME}plugin
 
 .include <bsd.port.mk>



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