blob: ac4d0e5ec1cf67fadf9e8f4b47801bb69eb8c105 (
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# Created by: dpejesh@yahoo.com
# $FreeBSD$
PORTNAME= pacemaker
PORTVERSION= 1.1.14
DISTVERSIONPREFIX= Pacemaker-
PORTREVISION= 2
CATEGORIES= net
MAINTAINER= dpejesh@yahoo.com
COMMENT= Scalable High-Availability cluster resource manager
LICENSE= GPLv2
BUILD_DEPENDS= bash:shells/bash \
corosync:net/corosync
LIB_DEPENDS= libgnutls.so:security/gnutls \
libltdl.so:devel/libltdl \
libqb.so:devel/libqb \
libuuid.so:misc/e2fsprogs-libuuid \
libxml2.so:textproc/libxml2 \
libxslt.so:textproc/libxslt
RUN_DEPENDS= bash:shells/bash \
corosync:net/corosync
BROKEN_armv6= fails to install: help2man: can't get '--help' info from pacemakerd
BROKEN_powerpc64= fails to build
CONFLICTS= heartbeat-[0-9]*
USERS= hacluster
GROUPS= haclient
USE_GITHUB= yes
GH_ACCOUNT= ClusterLabs
USES= autoreconf gmake libtool pathfix pkgconfig python shebangfix
USE_GCC= yes
USE_GNOME= glib20
USE_LDCONFIG= yes
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-fatal-warnings \
--with-corosync \
--without-heartbeat
INSTALL_TARGET= install-strip
SHEBANG_LANG= sh
sh_OLD_CMD= ${SH}
sh_CMD= ${LOCALBASE}/bin/bash
SHEBANG_FILES= extra/resources/* \
fencing/* \
lrmd/* \
mcp/* \
tools/* \
xml/*
REPLACE_ARGS= -e 's,/usr/lib/ocf,${PREFIX}/etc/ocf,'
OPTIONS_DEFINE= DBUS DOCS MANPAGES SNMP
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
DBUS_LIB_DEPENDS= libdbus-1.so:devel/dbus
DBUS_VARS_OFF= REPLACE_ARGS+="-e 's/HAVE_dbus=1/HAVE_dbus=0/'"
DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc
MANPAGES_BUILD_DEPENDS= docbook-xsl>0:textproc/docbook-xsl \
help2man:misc/help2man \
xsltproc:textproc/libxslt
SNMP_LIB_DEPENDS= libnetsnmp.so:net-mgmt/net-snmp
SNMP_CONFIGURE_WITH= snmp
post-patch:
@${REINPLACE_CMD} ${REPLACE_ARGS} ${WRKSRC}/configure.ac
post-install:
${RM} ${STAGEDIR}${PREFIX}/etc/rc.d/pacemaker
${RM} ${STAGEDIR}${PREFIX}/etc/rc.d/pacemaker_remote
.include <bsd.port.mk>
|