freebsd-ports/devel/py-twistedCore/Makefile
Cheng-Lung Sung faa01190f3 - update to 2.4.0
PR:		98147
Submitted by:	maintainer (Neal Nelson)
2006-05-30 15:44:29 +00:00

41 lines
1.2 KiB
Makefile

# New ports collection makefile for: py-twisted
# Date created: 13 April 2005
# Whom: Neal Nelson <neal@nelson.name>
#
# $FreeBSD$
#
PORTNAME= twistedCore
PORTVERSION= 2.4.0
CATEGORIES= devel net python
MASTER_SITES= http://tmrc.mit.edu/mirror/twisted/Twisted/${PORTVERSION:R}/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= TwistedCore-${PORTVERSION}
MAINTAINER= neal@nelson.name
COMMENT= An asynchronous networking framework for Python - Core module
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/zope/interface:${PORTSDIR}/devel/py-zopeInterface
RUN_DEPENDS= ${BUILD_DEPENDS}
CONFLICTS= py??-twisted-[0-9]*
#WRKSRC= ${WRKDIR}/Twisted-${PORTVERSION}
# - 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.3+
USE_PYDISTUTILS= yes
PLIST_SUB+= S=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
post-install:
# permission safeness
@${CHMOD} -R ${SHAREMODE} ${PYTHONPREFIX_SITELIBDIR}/twisted/
@${CHMOD} -R a+X ${PYTHONPREFIX_SITELIBDIR}/twisted/
.include <bsd.port.mk>