2013-03-02 23:32:48 +01:00
|
|
|
# Created by: Johann Visagie <wjv@FreeBSD.org>
|
2001-09-03 12:45:18 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gato
|
2016-02-15 08:14:47 +01:00
|
|
|
PORTVERSION= 1.2.2
|
2018-02-19 12:10:43 +01:00
|
|
|
PORTREVISION= 1
|
2001-09-03 12:45:18 +02:00
|
|
|
CATEGORIES= math python
|
2016-02-15 08:14:47 +01:00
|
|
|
MASTER_SITES= CHEESESHOP
|
2001-09-03 12:45:18 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2006-09-12 15:02:42 +02:00
|
|
|
DISTNAME= Gato-${PORTVERSION}
|
2001-09-03 12:45:18 +02:00
|
|
|
|
2016-02-15 08:14:47 +01:00
|
|
|
MAINTAINER= python@FreeBSD.org
|
2013-12-28 11:59:13 +01:00
|
|
|
COMMENT= Python-based toolbox to visualise algorithms on graphs
|
2001-09-03 12:45:18 +02:00
|
|
|
|
2016-02-15 08:14:47 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LGPL.txt
|
2001-09-03 12:45:18 +02:00
|
|
|
|
2018-06-20 19:05:41 +02:00
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tkinter>0:x11-toolkits/py-tkinter@${PY_FLAVOR}
|
2001-09-03 12:45:18 +02:00
|
|
|
|
2016-02-15 08:14:47 +01:00
|
|
|
NO_ARCH= yes
|
|
|
|
PORTEXAMPLES= *
|
2018-02-19 12:10:43 +01:00
|
|
|
USES= python:2.7
|
2016-02-15 08:14:47 +01:00
|
|
|
USE_PYTHON= autoplist distutils
|
2001-09-03 12:45:18 +02:00
|
|
|
|
2018-09-10 15:15:47 +02:00
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
|
2016-02-15 08:14:47 +01:00
|
|
|
post-install:
|
2013-12-28 11:59:13 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2016-02-15 08:14:47 +01:00
|
|
|
.for sample in *.alg *.pro *.cat
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${sample} ${STAGEDIR}${EXAMPLESDIR}
|
2001-09-03 12:45:18 +02:00
|
|
|
.endfor
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|