Line 0
Link Here
|
|
|
1 |
# $FreeBSD: head/security/exscript/Makefile$ |
2 |
|
3 |
PORTNAME= exscript |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 2.6 |
6 |
CATEGORIES= security python |
7 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
|
9 |
MAINTAINER= jhay@FreeBSD.org |
10 |
COMMENT= Automating Telnet and SSH |
11 |
|
12 |
LICENSE= MIT |
13 |
LICENSE_FILE= ${WRKSRC}/COPYING |
14 |
|
15 |
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}future>=0:devel/py-future@${PY_FLAVOR} \ |
16 |
${PYTHON_PKGNAMEPREFIX}configparser>=0:devel/py-configparser@${PY_FLAVOR} \ |
17 |
${PYTHON_PKGNAMEPREFIX}pycryptodomex>=0:security/py-pycryptodomex@${PY_FLAVOR} \ |
18 |
${PYTHON_PKGNAMEPREFIX}paramiko>=1.17:security/py-paramiko@${PY_FLAVOR} |
19 |
|
20 |
NO_ARCH= yes |
21 |
USES= python |
22 |
USE_PYTHON= autoplist concurrent distutils |
23 |
USE_GITHUB= yes |
24 |
GH_ACCOUNT= knipknap |
25 |
|
26 |
post-patch: |
27 |
@${REINPLACE_CMD} -e \ |
28 |
"{s#__version__ = '[^']*'#__version__ = '${PORTVERSION}'#;}" \ |
29 |
${BUILD_WRKSRC}/VERSION.in |
30 |
@${REINPLACE_CMD} -e \ |
31 |
"{s#__version__ = '[^']*'#__version__ = '${PORTVERSION}'#;}" \ |
32 |
${BUILD_WRKSRC}/Exscript/version.py |
33 |
|
34 |
.include <bsd.port.mk> |