2005-04-15 06:49:12 +02:00
|
|
|
# New ports collection makefile for: py-twisted
|
|
|
|
# Date created: 13 April 2005
|
|
|
|
# Whom: Neal Nelson <neal@nelson.name>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= twistedCore
|
2011-09-07 11:27:54 +02:00
|
|
|
PORTVERSION= 11.0.0
|
2011-09-29 23:18:00 +02:00
|
|
|
PORTREVISION= 1
|
2005-04-15 06:49:12 +02:00
|
|
|
CATEGORIES= devel net python
|
2011-09-07 11:27:54 +02:00
|
|
|
MASTER_SITES= http://twistedmatrix.com/Releases/Core/${PORTVERSION:R}/
|
2005-04-15 06:49:12 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2006-05-30 17:44:29 +02:00
|
|
|
DISTNAME= TwistedCore-${PORTVERSION}
|
2005-04-15 06:49:12 +02:00
|
|
|
|
|
|
|
MAINTAINER= neal@nelson.name
|
|
|
|
COMMENT= An asynchronous networking framework for Python - Core module
|
|
|
|
|
2011-09-07 11:27:54 +02:00
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2011-09-29 23:18:00 +02:00
|
|
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}zope.interface>=3.3.0_1:${PORTSDIR}/devel/py-zope.interface
|
2011-09-07 11:27:54 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2005-04-15 13:16:30 +02:00
|
|
|
|
2005-04-15 06:49:12 +02:00
|
|
|
# - 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
|
2009-01-31 10:53:10 +01:00
|
|
|
USE_PYTHON= yes
|
2005-04-15 06:49:12 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2009-01-31 10:53:10 +01:00
|
|
|
PYDISTUTILS_PKGNAME= Twisted_Core
|
2005-04-15 06:49:12 +02:00
|
|
|
|
2007-03-26 07:33:17 +02:00
|
|
|
MAN1= manhole.1 mktap.1 pyhtmlizer.1 tap2deb.1 tap2rpm.1 tapconvert.1 trial.1 twistd.1
|
|
|
|
|
2005-11-29 19:58:07 +01:00
|
|
|
post-install:
|
|
|
|
# permission safeness
|
|
|
|
@${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/twisted/
|
|
|
|
@${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/twisted/
|
2009-01-31 10:53:10 +01:00
|
|
|
.for i in ${MAN1}
|
2011-09-07 11:27:54 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/${i} ${MANPREFIX}/man/man1/
|
2009-01-31 10:53:10 +01:00
|
|
|
.endfor
|
2005-11-29 19:58:07 +01:00
|
|
|
|
2005-04-15 06:49:12 +02:00
|
|
|
.include <bsd.port.mk>
|