Tweak deskutils/bijiben version 3.14.2
[dports.git] / graphics / py-graph-dot / Makefile
1 # Created by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw>
2 # $FreeBSD$
3
4 PORTNAME=       graph-dot
5 PORTVERSION=    1.8.2
6 PORTREVISION=   1
7 CATEGORIES=     graphics python
8 MASTER_SITES=   GOOGLE_CODE
9 PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
10 DISTNAME=       python-${PORTNAME}-${PORTVERSION}
11
12 MAINTAINER=     demon@FreeBSD.org
13 COMMENT=        Library for working with graphs in Python, dot module
14
15 RUN_DEPENDS=    ${PYTHON_PKGNAMEPREFIX}pydot>=0:${PORTSDIR}/graphics/py-pydot \
16                 ${PYTHON_PKGNAMEPREFIX}graph-core>=${PORTVERSION}:${PORTSDIR}/graphics/py-graph-core
17
18 PROJECTHOST=    python-graph
19 USES=           python
20 USE_PYTHON=     distutils autoplist
21
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.
26 post-stage:
27 .for suffix in py pyc pyo
28         rm ${STAGEDIR}${PYTHON_SITELIBDIR}/pygraph/readwrite/__init__.${suffix}
29 .endfor
30
31 add-plist-post:
32         @${REINPLACE_CMD} -e "/readwrite\/__init__.py/d" ${TMPPLIST}
33         
34 .include <bsd.port.mk>