1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

- do not directly depend on setuptools, use USE_DISTUTILS instead

- do not bump PORTREVISION because it had dependended on setuptools both
  directly and via USE_PYDISTUTILS, so dependencies list isn't changed
- remove indefinite article in COMMENT
- move pkg-plist contents into Makefile:PLIST_FILES
- trim Makefile header
- limit python version to 2.x only

PR:		173060
Submitted by:	rm (myself)
Approved by:	brooks (maintainer, by mail)
Feature safe:	yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-10-30 19:37:20 +00:00
parent 7e3d17f14d
commit ef5041404c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306693
2 changed files with 5 additions and 10 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: trac-vote
# Date created: Dec 31, 2009
# Whom: Brooks Davis <brooks@freebsd.org>
#
# Created by: Brooks Davis <brooks@freebsd.org>
# $FreeBSD$
#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 0.1.2
@ -14,14 +10,14 @@ MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
MAINTAINER= brooks@FreeBSD.org
COMMENT= A plugin for voting on Trac resources
COMMENT= Plugin for voting on Trac resources
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
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= TracVote
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
# Maintainter targets below this point

View File

@ -1 +0,0 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%