summaryrefslogtreecommitdiffstats
path: root/security/clusterssh/Makefile
blob: 874cc7915136f113486c19a8044b46762a8be55f (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Created by: lx
# $FreeBSD$

PORTNAME=	clusterssh
PORTVERSION=	4.05
CATEGORIES=	security net
MASTER_SITES=	SF/${PORTNAME}/2.%20ClusterSSH%20Series%204
DISTNAME=	App-ClusterSSH-${PORTVERSION}

MAINTAINER=	lx@FreeBSD.org
COMMENT=	Controls multiple hosts simultaneously via xterms and ssh

LICENSE=	GPLv2

BUILD_DEPENDS=	p5-File-Which>=0:${PORTSDIR}/sysutils/p5-File-Which \
		p5-Readonly>=0:${PORTSDIR}/devel/p5-Readonly \
		p5-Test-Pod>=0:${PORTSDIR}/devel/p5-Test-Pod \
		p5-Test-Pod-Coverage>=0:${PORTSDIR}/devel/p5-Test-Pod-Coverage \
		p5-Test-Trap>=0:${PORTSDIR}/devel/p5-Test-Trap \
		p5-Module-Manifest>=0:${PORTSDIR}/devel/p5-Module-Manifest \
		p5-File-Slurp>=0:${PORTSDIR}/devel/p5-File-Slurp \
		p5-Capture-Tiny>0:${PORTSDIR}/devel/p5-Capture-Tiny \
		p5-Exception-Class>=0:${PORTSDIR}/devel/p5-Exception-Class \
		p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
		p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk \
		p5-X11-Protocol>=0:${PORTSDIR}/x11/p5-X11-Protocol \
		p5-Sort-Naturally>=1:${PORTSDIR}/textproc/p5-Sort-Naturally \
		xterm:${PORTSDIR}/x11/xterm
RUN_DEPENDS=	p5-Tk>=0:${PORTSDIR}/x11-toolkits/p5-Tk \
		p5-X11-Protocol>=0:${PORTSDIR}/x11/p5-X11-Protocol \
		p5-Exception-Class>=0:${PORTSDIR}/devel/p5-Exception-Class \
		p5-Try-Tiny>=0:${PORTSDIR}/lang/p5-Try-Tiny \
		p5-Sort-Naturally>=1:${PORTSDIR}/textproc/p5-Sort-Naturally \
		xterm:${PORTSDIR}/x11/xterm
TEST_DEPENDS=	p5-CPAN-Changes>=0:${PORTSDIR}/devel/p5-CPAN-Changes

USES=		perl5
USE_PERL5=	modbuild

OPTIONS_SUB=	yes
OPTIONS_DEFINE=	BASH

post-install-BASH-off:
	@${RM} ${STAGEDIR}${PREFIX}/bin/clusterssh_bash_completion.dist

post-install-BASH-on:
	@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
	${MV} ${STAGEDIR}${PREFIX}/bin/clusterssh_bash_completion.dist \
		${STAGEDIR}${PREFIX}/etc/bash_completion.d/clusterssh

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