# Created by: Carlo Strub
# $FreeBSD: tags/RELEASE_10_1_0/security/obfsproxy/Makefile 362470 2014-07-21 19:29:14Z cs $

PORTNAME=	obfsproxy
PORTVERSION=	0.2.10
PORTEPOCH=	1
CATEGORIES=	security net python
MASTER_SITES=	http://www.c-s.li/ports/

MAINTAINER=	cs@FreeBSD.org
COMMENT=	Pluggable transport proxy

LICENSE=	BSD3CLAUSE

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyptlib>=0.0.5:${PORTSDIR}/security/py-pyptlib \
		${PYTHON_PKGNAMEPREFIX}argparse>0:${PORTSDIR}/devel/py-argparse \
		${PYTHON_PKGNAMEPREFIX}pycrypto>=2.1:${PORTSDIR}/security/py-pycrypto \
		${PYTHON_PKGNAMEPREFIX}yaml>=0:${PORTSDIR}/devel/py-yaml

USE_PYTHON=	yes
USES=		twisted
USE_PYDISTUTILS=yes
SUB_FILES=	pkg-message
PYDISTUTILS_PKGNAME=obfsproxy

post-install:
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
