summaryrefslogtreecommitdiffstats
path: root/security/obfsproxy/Makefile
blob: 8ecdbff4718a10e0eeaf2407147ab5995c75582d (plain)
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
31
32
33
34
35
36
37
# Created by: Carlo Strub
# $FreeBSD$
#

PORTNAME=	obfsproxy
PORTVERSION=	0.2.2
PORTEPOCH=	1
CATEGORIES=	security net python
MASTER_SITES=	http://www.c-s.li/ports/ \
		http://schema.filez.com/distfiles/
DISTNAME=	obfsproxy-${PORTVERSION}-${GIT_COMMIT}

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

LICENSE=	BSD

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

GIT_COMMIT=	ba6098
USE_PYTHON=	yes
USE_TWISTED=	yes
USE_PYDISTUTILS=easy_install
SUB_FILES=	pkg-message
PYDISTUTILS_PKGNAME=obfsproxy

post-extract:
	${MV} ${WRKDIR}/${DISTNAME} ${WRKDIR}/obfsproxy-${PORTVERSION}

WRKSRC=${WRKDIR}/obfsproxy-${PORTVERSION}

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

.include <bsd.port.mk>
OpenPOWER on IntegriCloud