summaryrefslogtreecommitdiff
path: root/net-mgmt/resource-agents/Makefile
blob: c314a00c4e8816aa4abdf4f91fa9fd65ce2e3050 (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
46
47
48
49
# Created by: dpejesh@yahoo.com
# $FreeBSD$

PORTNAME=	resource-agents
PORTVERSION=	4.0.1
PORTREVISION=	1
DISTVERSIONPREFIX=v
CATEGORIES=	net-mgmt

MAINTAINER=	dpejesh@yahoo.com
COMMENT=	OCF Compliant Resource Agents

LICENSE=	GPLv2

BUILD_DEPENDS=	bash:shells/bash
RUN_DEPENDS=	bash:shells/bash

CONFLICTS=	heartbeat-[0-9]*

USE_GITHUB=	yes
GH_ACCOUNT=	ClusterLabs

USES=		autoreconf gmake pkgconfig python shebangfix
USE_GCC=	yes
USE_GNOME=	glib20
GNU_CONFIGURE=	yes

SHEBANG_LANG=	sh
sh_OLD_CMD=	/bin/sh
sh_CMD=		${LOCALBASE}/bin/bash
SHEBANG_FILES=	heartbeat/* \
		ldirectord/ldirectord.in \
		rgmanager/src/resources/*.sh \
		rgmanager/src/resources/*.sh.in \
		rgmanager/src/resources/ocf-shellfuncs \
		rgmanager/src/resources/svclib_nfslock \
		rgmanager/src/resources/utils/*.pl \
		rgmanager/src/resources/utils/*.sh \
		tools/ocft/ocft.in \
		tools/ocf-tester.in

OPTIONS_DEFINE=	MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB=	yes

MANPAGES_BUILD_DEPENDS=	docbook-xsl>0:textproc/docbook-xsl \
			xsltproc:textproc/libxslt

.include <bsd.port.mk>