aboutsummaryrefslogblamecommitdiff
path: root/net/py-tofu/Makefile
blob: 2dead8cced30ba251dddbaeef55deb0014cef6d2 (plain) (tree)
1
2
3
4
5
6
7
8
9
                    
                   
                 



                                             
                      
 
                               
                                                        
                                                                
 

                      
                                                                               
 
                   
                                     
                                   
                                                


                        
 
                         

                                                                  
 
                      
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
WWW=		http://home.gna.org/oomadness/en/tofu/index.html

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>