- do not directly depend on setuptools, use USE_DISTUTILS instead

- bump PORTREVISION because of dependency change
- trim Makefile header
- remove indefinite article in COMMENT
- limit python version to 2.x only
- move pkg-plist contents into Makefile:PLIST_FILES
- update WWW

PR:		173103
Submitted by:	rm (myself)
Approved by:	glarkin (maintainer, by mail)
Feature safe:	yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-10-26 18:55:38 +00:00
parent c21014b47d
commit 750bdec754
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306460
3 changed files with 8 additions and 15 deletions

View file

@ -1,29 +1,23 @@
# New ports collection makefile for: trac-nav # Created by: Gerrit Beine <gerrit.beine@gmx.de>
# Date created: January 03 2007
# Whom: Gerrit Beine <gerrit.beine@gmx.de>
#
# $FreeBSD$ # $FreeBSD$
#
PORTNAME= nav PORTNAME= nav
PORTVERSION= 4.1 PORTVERSION= 4.1
PORTREVISION= 2 PORTREVISION= 3
CATEGORIES= www devel python CATEGORIES= www devel python
MASTER_SITES= http://www.gerritbeine.de/download/trac/ MASTER_SITES= http://www.gerritbeine.de/download/trac/
PKGNAMEPREFIX= trac- PKGNAMEPREFIX= trac-
DISTNAME= trac${PORTNAME}-${PORTVERSION} DISTNAME= trac${PORTNAME}-${PORTVERSION}
MAINTAINER= glarkin@FreeBSD.org MAINTAINER= glarkin@FreeBSD.org
COMMENT= A fully customizable navigation bar for Trac COMMENT= Fully customizable navigation bar for Trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac
WRKSRC= ${WRKDIR}/trac${PORTNAME} WRKSRC= ${WRKDIR}/trac${PORTNAME}
NO_BUILD= yes USE_PYTHON= -2.7
USE_PYTHON= yes USE_PYDISTUTILS= easy_install
USE_PYDISTUTILS=yes PYDISTUTILS_PKGNAME= TracNav
PLIST_SUB+= PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION} PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
PYDISTUTILS_NOEGGINFO= yes
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -3,4 +3,4 @@ wiki engine. The contents of the navigation bar is a wiki page itself and can
be edited like any other wiki page. The navigation bar supports hierarchical be edited like any other wiki page. The navigation bar supports hierarchical
ordering of topics. ordering of topics.
WWW: http://trac-hacks.org/wiki/TracNav WWW: http://svn.ipd.kit.edu/trac/javaparty/wiki/TracNav

View file

@ -1 +0,0 @@
%%PYTHON_SITELIBDIR%%/TracNav-%%PORTVERSION%%-py%%PYTHONVERSION%%.egg