1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/net/py-tofu/Makefile
2021-04-06 16:31:07 +02:00

32 lines
756 B
Makefile

# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
PORTNAME= tofu
PORTVERSION= 0.5
PORTREVISION= 1
CATEGORIES= net python
MASTER_SITES= http://download.gna.org/soya/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Tofu-${PORTVERSION}
DIST_SUBDIR= python
MAINTAINER= acm@FreeBSD.org
COMMENT= Practical high-level network game engine
LICENSE= GPLv2+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR}
NO_ARCH= yes
USES= python:3.6+ tar:bzip2
USE_PYTHON= autoplist distutils
EXAMPLESDIR= ${PREFIX}/share/examples/py-tofu
PORTEXAMPLES= *
OPTIONS_DEFINE= EXAMPLES
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>