1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

- 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 # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# Date created: December 28 2006
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= tags PORTNAME= tags
DISTVERSION= 0.7.r${SVN_REV} DISTVERSION= 0.7.r${SVN_REV}
PORTREVISION= 1
CATEGORIES= www devel python CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks MASTER_SITE_SUBDIR= brooks
@ -14,19 +11,16 @@ PKGNAMEPREFIX= trac-
DIST_SUBDIR= trac DIST_SUBDIR= trac
MAINTAINER= brooks@FreeBSD.org MAINTAINER= brooks@FreeBSD.org
COMMENT= A generic tags frontend for trac COMMENT= Generic tags frontend for trac
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
USE_BZIP2= yes USE_BZIP2= yes
USE_PYTHON= yes USE_PYTHON= -2.7
NO_BUILD= yes USE_PYDISTUTILS= easy_install
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= TracTags PYDISTUTILS_PKGNAME= TracTags
EGGVERSION= ${PORTVERSION:C/\.r.*/dev/} PYDISTUTILS_PKGVERSION= ${PORTVERSION:C/\.r.*/dev/}
PLIST_SUB+= EGGVERSION=${EGGVERSION} PYTHONVERSION=${_PYTHON_VERSION} PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
PYDISTUTILS_NOEGGINFO= yes
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -54,7 +48,4 @@ do-fetch:
.endif .endif
.endif .endif
do-build:
@${DO_NADA}
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View File

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