aboutsummaryrefslogtreecommitdiffstats
path: root/security/py-paramiko/Makefile
blob: ca8920cea91088d68fb84f5733f678ce1edd63f6 (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
34
35
36
# Ports collection makefile for:      paramiko
# Date created:               4 Feb   2006
# Whom:                       Ulf Lilleengen
#
# $FreeBSD$
#

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

MAINTAINER= sbz@FreeBSD.org
COMMENT=    A python library for making SSH2 connections

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

LICENSE=    GPLv2
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

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

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

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

.include <bsd.port.mk>