summaryrefslogtreecommitdiff
path: root/security/py-RestrictedPython/Makefile
blob: 082ae4aab19fe60aae65b0148cb0cbd520b030d6 (plain) (blame)
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
# $FreeBSD$

PORTNAME=	RestrictedPython
PORTVERSION=	3.6.0
PORTREVISION=	1
CATEGORIES=	security python zope
MASTER_SITES=	CHEESESHOP
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR=	zope

MAINTAINER=	zope@FreeBSD.org
COMMENT=	Restricted execution environment for Python

LICENSE=	ZPL21

USE_PYTHON=	2
USE_PYDISTUTILS=easy_install
USE_ZIP=	yes

NO_STAGE=	yes

.include <bsd.port.pre.mk>

.if ${PYTHON_REL} >= 270
PLIST_SUB+=	PYTHON27=""
.else
PLIST_SUB+=	PYTHON27="@comment "
.endif

.include <bsd.port.post.mk>