summaryrefslogtreecommitdiff
path: root/graphics/py-pydot/Makefile
blob: 94e2df1ca968a17667012c9592e9ef2318829a65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Created by: Stefan Walter <sw@gegenunendlich.de>
# $FreeBSD$

PORTNAME=	pydot
PORTVERSION=	1.0.28
PORTREVISION=	1
CATEGORIES=	graphics python
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	Python interface to the Graphviz Dot language

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyparsing>=0:devel/py-pyparsing \
		dot:graphics/graphviz

NO_ARCH=	yes
USE_PYTHON=	autoplist concurrent distutils
USES=		python

GH_ACCOUNT=	erocarrera
GH_TAGNAME=	ec21a11
USE_GITHUB=	yes

post-patch:
	@${REINPLACE_CMD} -e "s|__version__ = .*|__version__ = '${PORTVERSION}'|" ${WRKSRC}/pydot.py

.include <bsd.port.mk>