aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-graphviz
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-09-24 17:46:53 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-09-24 17:46:53 +0000
commitd5bc897059b290a3091c04eb52d09a7fbab182a3 (patch)
tree62ecd2b554c738ccc477822248a4a9939c4521d1 /graphics/py-graphviz
parent0c120a6cfdcff9f031f28f0ad371b772db305b33 (diff)
downloadports-d5bc897059b290a3091c04eb52d09a7fbab182a3.tar.gz
ports-d5bc897059b290a3091c04eb52d09a7fbab182a3.zip
- Fix place of install when devel/py-setuptools is installed
- Pass maintainership to submitter PR: ports/103564 Submitted by: Soeren Straarup <xride@x12.dk>
Notes
Notes: svn path=/head/; revision=173731
Diffstat (limited to 'graphics/py-graphviz')
-rw-r--r--graphics/py-graphviz/Makefile4
-rw-r--r--graphics/py-graphviz/files/patch-setup.py24
2 files changed, 19 insertions, 9 deletions
diff --git a/graphics/py-graphviz/Makefile b/graphics/py-graphviz/Makefile
index 6942d0e0be85..51acfd412444 100644
--- a/graphics/py-graphviz/Makefile
+++ b/graphics/py-graphviz/Makefile
@@ -12,14 +12,12 @@ MASTER_SITE_SUBDIR= networkx
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pygraphviz-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= xride@x12.dk
COMMENT= Python interface to GraphViz agraph
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
-NO_CDROM= "Can't be included in a commercial product"
-
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
diff --git a/graphics/py-graphviz/files/patch-setup.py b/graphics/py-graphviz/files/patch-setup.py
index 890264e4dd0a..925341251626 100644
--- a/graphics/py-graphviz/files/patch-setup.py
+++ b/graphics/py-graphviz/files/patch-setup.py
@@ -1,9 +1,21 @@
-
-$FreeBSD$
-
---- setup.py.orig
-+++ setup.py
-@@ -25,7 +25,7 @@
+--- setup.py.orig Sun Mar 12 23:09:05 2006
++++ setup.py Sun Sep 24 15:05:50 2006
+@@ -7,13 +7,7 @@
+ import os
+ import sys
+
+-# use setuptools if we got it, else distutils
+-try:
+-# import ez_setup
+-# ez_setup.use_setuptools()
+- from setuptools import setup, Extension
+-except:
+- from distutils.core import setup, Extension
++from distutils.core import setup, Extension
+
+ if sys.argv[-1] == 'setup.py':
+ print "To install, run 'python setup.py install'"
+@@ -25,7 +19,7 @@
# If setting the prefix failed you should attempt to set the prefix here:
# prefix="/usr" # unix, Linux