summaryrefslogtreecommitdiffstats
path: root/sysutils/massadmin/Makefile
blob: 0cde7072dc958ccd19e296cf49a2bf92ab36dd9b (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
# Created by: Sascha Klauder <sklauder@trimind.de>
# $FreeBSD$

PORTNAME=	massadmin
PORTVERSION=	2.3
CATEGORIES=	sysutils
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}

MAINTAINER=	sklauder@trimind.de
COMMENT=	Send system commands to a group of remote servers simultaneously

RUN_DEPENDS=	p5-Expect>=1.21:${PORTSDIR}/lang/p5-Expect \
		p5-Net-Telnet>=3.03:${PORTSDIR}/net/p5-Net-Telnet \
		p5-Net-Ping>=2.36:${PORTSDIR}/net/p5-Net-Ping \
		p5-Proc-Queue>=1.23:${PORTSDIR}/devel/p5-Proc-Queue \
		p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty

NO_BUILD=	yes
USES=		perl5

LICENSE=	GPLv3

.if !defined(NO_INSTALL_MANPAGES)
MAN1=		massadmin.1
.endif
PLIST_FILES=	bin/massadmin

NO_STAGE=	yes
do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/massadmin ${PREFIX}/bin
.if !defined(NO_INSTALL_MANPAGES)
	(cd ${WRKSRC}/doc && ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1)
.endif

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