1 # Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
7 CATEGORIES= graphics python
8 MASTER_SITES= GOOGLE_CODE
9 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
10 DISTNAME= python-${PORTNAME}-${PORTVERSION}
12 MAINTAINER= demon@FreeBSD.org
13 COMMENT= Library for working with graphs in Python, dot module
15 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pydot>=0:${PORTSDIR}/graphics/py-pydot \
16 ${PYTHON_PKGNAMEPREFIX}graph-core>=${PORTVERSION}:${PORTSDIR}/graphics/py-graph-core
18 PROJECTHOST= python-graph
20 USE_PYTHON= distutils autoplist
22 # post-stage and add-plist-post should not act as reference on how to fix
23 # egg-based conflicts.
24 # https://code.google.com/p/python-graph/issues/detail?id=121 contains the
25 # report for this issue.
27 .for suffix in py pyc pyo
28 rm ${STAGEDIR}${PYTHON_SITELIBDIR}/pygraph/readwrite/__init__.${suffix}
32 @${REINPLACE_CMD} -e "/readwrite\/__init__.py/d" ${TMPPLIST}
34 .include <bsd.port.mk>