summaryrefslogtreecommitdiffstats
path: root/devel/py-twisted/Makefile
blob: f03b6587ee77b527c26b2c0f93eaa1dcb50f22e5 (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
32
33
34
35
36
37
38
# New ports collection makefile for:	py-twisted
# Date created:		16 August 2001
# Whom:	      		Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	twisted
PORTVERSION=	1.3.0
CATEGORIES=	devel net python
MASTER_SITES=	http://twisted.sourceforge.net/ \
		http://twistedmatrix.com/downloads/ \
		http://twistedmatrix.com/downloads/old/
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	Twisted_NoDocs-${PORTVERSION}
WRKSRC=		${WRKDIR}/Twisted-${PORTVERSION}

MAINTAINER=	nbm@FreeBSD.org
COMMENT=	An event-based Python framework for internet applications

# - Note that Twisted ships with some graphical examples and clients that
#   require PyGNOME to run.  These are not central to the funcitoning of
#   Twisted, but the user should feel free to install x11-toolits/py-gnome
#   separately if desired.

USE_BZIP2=	yes
USE_PYTHON=	2.2+
USE_PYDISTUTILS=	yes

PLIST_SUB+=	S=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}

post-install:
	@ ${MKDIR} ${DATADIR}/admin
	@ ${INSTALL_SCRIPT} ${WRKSRC}/admin/accepttests \
	  ${WRKSRC}/admin/runtests ${DATADIR}/admin

.include <bsd.port.mk>
OpenPOWER on IntegriCloud