aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-paramiko/Makefile
blob: ba560f65029cb882eb18dee077b5cc27efc71557 (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
31
32
33
# Created by: Ulf Lilleengen
# $FreeBSD$

PORTNAME=   paramiko
PORTVERSION=    1.10.1
CATEGORIES= security python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= sbz@FreeBSD.org
COMMENT=    Python SSH2 protocol library

LICENSE=    GPLv2

RUN_DEPENDS=    ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
    @${MKDIR} ${EXAMPLESDIR}
    @(cd ${WRKSRC}/demos && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
.endif

regression-test: extract
    @(cd ${WRKSRC} && ${PYTHON_CMD} test.py)

.include <bsd.port.mk>