summaryrefslogtreecommitdiff
path: root/sysutils/p5-Schedule-Load/Makefile
blob: 60f36034a4a87d0377f16d11468d82ff40c1fb60 (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
37
38
39
40
41
42
43
44
45
# Created by: Sergey Skvortsov <skv@protey.ru>
# $FreeBSD$

PORTNAME=	Schedule-Load
PORTVERSION=	3.064
CATEGORIES=	sysutils perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Load distribution and status across multiple host machines

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

RUN_DEPENDS=	p5-Proc-ProcessTable>=0.40:${PORTSDIR}/devel/p5-Proc-ProcessTable \
		p5-Unix-Processors>=2.02:${PORTSDIR}/sysutils/p5-Unix-Processors \
		p5-IPC-Locker>=1.41:${PORTSDIR}/devel/p5-IPC-Locker
BUILD_DEPENDS:=	${RUN_DEPENDS}

MAKE_JOBS_UNSAFE=	yes

USES=		perl5
USE_PERL5=	configure

MAN1=		rschedule.1 slchoosed.1 slpolice.1 slreportd.1 slrsh.1 \
		slchoosed_watchd.1
MAN3=		Schedule::Load.3 Schedule::Load::Chooser.3 \
		Schedule::Load::FakeReporter.3 Schedule::Load::Hold.3 \
		Schedule::Load::Hosts.3 Schedule::Load::Hosts::Host.3 \
		Schedule::Load::Hosts::Proc.3 Schedule::Load::Reporter.3 \
		Schedule::Load::ResourceReq.3 Schedule::Load::Safe.3 \
		Schedule::Load::Schedule.3 \
		Schedule::Load::Reporter::Disk.3 Schedule::Load::Reporter::Filesys.3 \
		Schedule::Load::Reporter::Network.3

NO_STAGE=	yes
post-install:
.ifndef(NOPORTEXAMPLES)
	@${ECHO_MSG} "===>   Installing examples for ${PKGNAME}"
	@${MKDIR} ${EXAMPLESDIR}/init.d
	${INSTALL_SCRIPT} ${WRKSRC}/init.d/* ${EXAMPLESDIR}/init.d
.endif

.include <bsd.port.mk>