# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD: tags/RELEASE_11_0_0/math/py-gato/Makefile 412348 2016-04-01 14:16:16Z mat $

PORTNAME=	gato
PORTVERSION=	1.2.2
CATEGORIES=	math python
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	Gato-${PORTVERSION}

MAINTAINER=	python@FreeBSD.org
COMMENT=	Python-based toolbox to visualise algorithms on graphs

LICENSE=	LGPL21
LICENSE_FILE=	${WRKSRC}/LGPL.txt

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter

NO_ARCH=	yes
PORTEXAMPLES=	*
USES=		python:2
USE_PYTHON=	autoplist distutils

post-install:
	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
.for sample in *.alg *.pro *.cat
	${INSTALL_DATA} ${WRKSRC}/${sample} ${STAGEDIR}${EXAMPLESDIR}
.endfor

.include <bsd.port.mk>
