- do not directly depend on setuptools

- no PORTREVISION bump is needed, because it already had run/build dependency
- trim Makefile header
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES

Approved by:	brooks (maintainer, implicit)
Feature safe:	yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-10-31 08:43:33 +00:00
parent 32fef11eca
commit ff7dd53665
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306738
2 changed files with 5 additions and 10 deletions

View File

@ -1,9 +1,5 @@
# New ports collection makefile for: trac-fivestarvote
# 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
@ -14,14 +10,14 @@ MASTER_SITE_SUBDIR= brooks
PKGNAMEPREFIX= trac-
MAINTAINER= brooks@FreeBSD.org
COMMENT= A 5 star plugin for voting on Trac resources
COMMENT= Five star 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= FiveStarVote
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
# Maintainter targets below this point

View File

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