aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-graphviz
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 17:40:01 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-04-29 17:40:01 +0000
commitf5488c1391941a64c54c2d831e09a54f2b43b461 (patch)
tree7fdbc9b94c15c5457f34bb3161a446c3d3a5301b /graphics/py-graphviz
parent769b1b4ce8742e9d2df6cf34957cf5dcb6c008ac (diff)
downloadports-f5488c1391941a64c54c2d831e09a54f2b43b461.tar.gz
ports-f5488c1391941a64c54c2d831e09a54f2b43b461.zip
Notes
Diffstat (limited to 'graphics/py-graphviz')
-rw-r--r--graphics/py-graphviz/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/graphics/py-graphviz/Makefile b/graphics/py-graphviz/Makefile
index d7fdce2c4315..333d49acb413 100644
--- a/graphics/py-graphviz/Makefile
+++ b/graphics/py-graphviz/Makefile
@@ -25,6 +25,7 @@ WRKSRC= ${WRKDIR}/graphviz-${GV_VERSION}/agraph
GV_VERSION?= 1.7.7
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
SWIG_CMD= ${LOCALBASE}/bin/swig
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S,^${LOCALBASE}/,,g}
@@ -33,13 +34,7 @@ post-patch:
@${MKDIR} ${WRKSRC}/graphviz
@${CP} ${DISTDIR}/graphviz/__init__.py ${WRKSRC}/graphviz
-do-build:
- @cd ${WRKSRC} && ( \
- ${SWIG_CMD} -python gv.i; \
- ${PYTHON_CMD} setup.py build; \
- )
-
-do-install:
- @cd ${WRKSRC} && ${PYTHON_CMD} setup.py install
+pre-build:
+ @cd ${WRKSRC} && ${SWIG_CMD} -python gv.i
.include <bsd.port.mk>