From 79cfcc0b754afd61e2655ac7e85a6f8679a62658 Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Tue, 30 Oct 2012 19:35:20 +0000 Subject: [PATCH] - do not directly depend on setuptools, use USE_DISTUTILS instead - bump PORTREVISION because of dependency change - remove indefinite article in COMMENT - trim Makefile header - limit python version to 2.x only - move pkg-plist contents into Makefile:PLIST_FILES PR: 173058 Submitted by: rm (myself) Approved by: brooks (maintainer, by mail) Feature safe: yes --- www/trac-tags/Makefile | 23 +++++++---------------- www/trac-tags/pkg-plist | 1 - 2 files changed, 7 insertions(+), 17 deletions(-) delete mode 100644 www/trac-tags/pkg-plist diff --git a/www/trac-tags/Makefile b/www/trac-tags/Makefile index b8511aedd890..ec72ff763bb9 100644 --- a/www/trac-tags/Makefile +++ b/www/trac-tags/Makefile @@ -1,12 +1,9 @@ -# New ports collection makefile for: trac-tags -# Date created: December 28 2006 -# Whom: Gerrit Beine -# +# Created by: Gerrit Beine # $FreeBSD$ -# PORTNAME= tags DISTVERSION= 0.7.r${SVN_REV} +PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= brooks @@ -14,19 +11,16 @@ PKGNAMEPREFIX= trac- DIST_SUBDIR= trac MAINTAINER= brooks@FreeBSD.org -COMMENT= A generic tags frontend for trac +COMMENT= Generic tags frontend for trac RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac -BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools USE_BZIP2= yes -USE_PYTHON= yes -NO_BUILD= yes -USE_PYDISTUTILS=yes +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= TracTags -EGGVERSION= ${PORTVERSION:C/\.r.*/dev/} -PLIST_SUB+= EGGVERSION=${EGGVERSION} PYTHONVERSION=${_PYTHON_VERSION} -PYDISTUTILS_NOEGGINFO= yes +PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/\.r.*/dev/} +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% .include @@ -54,7 +48,4 @@ do-fetch: .endif .endif -do-build: - @${DO_NADA} - .include diff --git a/www/trac-tags/pkg-plist b/www/trac-tags/pkg-plist deleted file mode 100644 index fea5199d5042..000000000000 --- a/www/trac-tags/pkg-plist +++ /dev/null @@ -1 +0,0 @@ -%%PYTHON_SITELIBDIR%%/TracTags-%%EGGVERSION%%-py%%PYTHONVERSION%%.egg