aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2006-09-25 01:46:53 +0800
committermiwi <miwi@FreeBSD.org>2006-09-25 01:46:53 +0800
commitfb0093be5dd242f4742d541461662daaa16c3ac8 (patch)
treefa2c3f37e7e35432bad99b6eda6c67ba489192f2 /graphics
parenta4ef7d3c64b71e9fd0b2cda94899d625b8015cd3 (diff)
downloadfreebsd-ports-gnome-fb0093be5dd242f4742d541461662daaa16c3ac8.tar.gz
freebsd-ports-gnome-fb0093be5dd242f4742d541461662daaa16c3ac8.tar.zst
freebsd-ports-gnome-fb0093be5dd242f4742d541461662daaa16c3ac8.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>
Diffstat (limited to 'graphics')
-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