mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
b2848559e0
- Add LICENSE It explicitly requires user agreement (thus no-auto-accept) and forbids distribution for a fee `beyond reasonable duplication charges` which is too vague I don't think can be guaranteed in any case (thus no-*-sell) tdir port uses another variant of license, which also forbids modification, and since the port requires shebangfix and Makefile patching, also mark it no-pkg-mirror and BROKEN. - Don't install licenses with documentation, since our license framework already handles this - Fix python shebangs - Limit python version to 2.7, as no port is compatible with python3 - Add NO_ARCH - User options targets helpers - Simplify installation in a few cases Approved by: portmgr blanket
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# Created by: Tim Daneliuk <tsshbatch@tundraware.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tsshbatch
|
|
PORTVERSION= 1.317
|
|
PORTREVISION= 1
|
|
CATEGORIES= security python
|
|
MASTER_SITES= http://www.tundraware.com/Software/tsshbatch/
|
|
|
|
MAINTAINER= tsshbatch@tundraware.com
|
|
COMMENT= Batch SSH operations
|
|
|
|
LICENSE= TundraWare
|
|
LICENSE_NAME= TundraWare license
|
|
LICENSE_FILE= ${WRKSRC}/tsshbatch-license.txt
|
|
LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell no-auto-accept
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}paramiko>=1.7.7.1:security/py-paramiko@${PY_FLAVOR}
|
|
|
|
USES= python:2.7,run shebangfix
|
|
SHEBANG_FILES= tsshbatch.py
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/tsshbatch.py \
|
|
man/man1/tsshbatch.1.gz
|
|
PORTDOCS= WHATSNEW.txt \
|
|
tsshbatch.html \
|
|
tsshbatch.pdf \
|
|
tsshbatch.ps \
|
|
tsshbatch.rst
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-install:
|
|
cp -p ${WRKSRC}/Docs/* ${WRKSRC}/
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tsshbatch.py ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/tsshbatch.1.gz ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|