1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/devel/py-twisted/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

43 lines
1.1 KiB
Makefile

# 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
PORTREVISION= 2
CATEGORIES= devel net python
MASTER_SITES= http://tmrc.mit.edu/mirror/twisted/
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Twisted_NoDocs-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= An event-based Python framework for internet applications
CONFLICTS= py??-twistedCore-[0-9]*
# - 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
PYDISTUTILS_PKGNAME= Twisted
PYDISTUTILS_PKGVERSION= 1.3.0rc1
PLIST_SUB+= S=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;}
WRKSRC= ${WRKDIR}/Twisted-${PORTVERSION}
post-install:
@ ${MKDIR} ${DATADIR}/admin
@ ${INSTALL_SCRIPT} ${WRKSRC}/admin/accepttests \
${WRKSRC}/admin/runtests ${DATADIR}/admin
.include <bsd.port.mk>