2013-09-20 20:35:44 +02:00
|
|
|
# Created by: Hye-Shik Chang <perky@fallin.lv>
|
2002-03-19 07:35:34 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= graphviz
|
2015-01-17 16:58:01 +01:00
|
|
|
PORTVERSION= 1.2
|
2015-03-13 14:21:50 +01:00
|
|
|
PORTREVISION= 1
|
2002-03-19 07:35:34 +01:00
|
|
|
CATEGORIES= graphics python
|
2009-02-13 02:44:22 +01:00
|
|
|
MASTER_SITES= CHEESESHOP \
|
|
|
|
http://networkx.lanl.gov/download/pygraphviz/
|
2002-03-19 07:35:34 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2006-04-11 16:46:43 +02:00
|
|
|
DISTNAME= pygraphviz-${PORTVERSION}
|
2002-03-19 07:35:34 +01:00
|
|
|
|
2015-01-16 18:28:13 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-25 07:25:35 +01:00
|
|
|
COMMENT= Python interface to GraphViz agraph
|
2002-03-19 07:35:34 +01:00
|
|
|
|
2006-04-11 16:46:43 +02:00
|
|
|
BUILD_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
|
2005-11-01 15:18:52 +01:00
|
|
|
RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz
|
2002-03-19 07:35:34 +01:00
|
|
|
|
2014-10-21 18:36:12 +02:00
|
|
|
USES= python
|
|
|
|
USE_PYTHON= distutils
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= pygraphviz
|
2009-02-13 02:44:22 +01:00
|
|
|
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
2002-03-19 07:35:34 +01:00
|
|
|
|
|
|
|
post-patch:
|
2007-03-05 15:10:58 +01:00
|
|
|
@${REINPLACE_CMD} -e 's+%%LOCALBASE%%+${LOCALBASE}+; \
|
|
|
|
s+^docdirbase.*=.*+docdirbase = "${DOCSDIR:S/${PREFIX}\///}"+' ${WRKSRC}/setup.py
|
2002-03-19 07:35:34 +01:00
|
|
|
|
2015-03-13 14:21:50 +01:00
|
|
|
post-install:
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pygraphviz/_graphviz.so
|
|
|
|
|
2002-03-19 07:35:34 +01:00
|
|
|
.include <bsd.port.mk>
|