svn commit: r306705 - head/www/trac-graphviz
Ruslan Mahmatkhanov
rm at FreeBSD.org
Tue Oct 30 19:47:34 UTC 2012
Author: rm
Date: Tue Oct 30 19:47:33 2012
New Revision: 306705
URL: http://svn.freebsd.org/changeset/ports/306705
Log:
- do not directly depend on setuptools, use USE_DISTUTILS instead
- bump PORTREVISION because of dependency change
- trim Makefile header
- limit python version to 2.x only
- whitespace fix in pkg-descr
PR: 173172
Submitted by: rm (myself)
Approved by: brooks (maintainer, by mail)
Feature safe: yes
Modified:
head/www/trac-graphviz/Makefile
head/www/trac-graphviz/pkg-descr
Modified: head/www/trac-graphviz/Makefile
==============================================================================
--- head/www/trac-graphviz/Makefile Tue Oct 30 19:46:49 2012 (r306704)
+++ head/www/trac-graphviz/Makefile Tue Oct 30 19:47:33 2012 (r306705)
@@ -1,13 +1,9 @@
-# New ports collection makefile for: trac-graphviz
-# Date created: January 14, 2009
-# Whom: Brooks Davis <brooks at freebsd.org>
-#
+# Created by: Brooks Davis <brooks at freebsd.org>
# $FreeBSD$
-#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 0.7.4
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= www devel graphics python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@@ -20,18 +16,12 @@ COMMENT= Graphviz plugin for Trac's wiki
RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/URW/fonts.dir:${PORTSDIR}/x11-fonts/urwfonts \
dot:${PORTSDIR}/graphics/graphviz \
tracd:${PORTSDIR}/www/trac
-BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
-USE_PYTHON= 2.5+
-NO_BUILD= yes
-USE_PYDISTUTILS=yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= graphviz
-WRKSRC= ${WRKDIR}/${PORTNAME}plugin
-PYDISTUTILS_NOEGGINFO= yes
-PLIST_SUB= PORTVERSION=${PORTVERSION} \
- PYTHON_VER=${PYTHON_VER}
-
-PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
+WRKSRC= ${WRKDIR}/${PORTNAME}plugin
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
@@ -39,7 +29,4 @@ post-patch:
-e 's|%%OSMAJOR%%|${OSREL:C/\..*$//}|' \
${WRKSRC}/graphviz/graphviz.py
-do-build:
- @${DO_NADA}
-
.include <bsd.port.mk>
Modified: head/www/trac-graphviz/pkg-descr
==============================================================================
--- head/www/trac-graphviz/pkg-descr Tue Oct 30 19:46:49 2012 (r306704)
+++ head/www/trac-graphviz/pkg-descr Tue Oct 30 19:47:33 2012 (r306705)
@@ -1,4 +1,4 @@
The GraphvizPlugin allows for the inline creation of diagrams for abstract
-graphs and networks using the Graphviz programs.
+graphs and networks using the Graphviz programs.
WWW: http://trac-hacks.org/wiki/GraphvizPlugin
More information about the svn-ports-head
mailing list