- 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
This commit is contained in:
Ruslan Makhmatkhanov 2012-10-30 19:35:20 +00:00
parent 360b08d857
commit 79cfcc0b75
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306691
2 changed files with 7 additions and 17 deletions

View file

@ -1,12 +1,9 @@
# New ports collection makefile for: trac-tags
# Date created: December 28 2006
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
#
# Created by: Gerrit Beine <gerrit.beine@gmx.de>
# $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 <bsd.port.pre.mk>
@ -54,7 +48,4 @@ do-fetch:
.endif
.endif
do-build:
@${DO_NADA}
.include <bsd.port.post.mk>

View file

@ -1 +0,0 @@
%%PYTHON_SITELIBDIR%%/TracTags-%%EGGVERSION%%-py%%PYTHONVERSION%%.egg