aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/heartbeat2/Makefile
blob: d78260cffe2e6571afa50f3462d93a14f4329085 (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
# New ports collection makefile for:    hearbeat
# Date created:             18 March 2005
# Whom:                 Scott Kleihege <scott-ports@tummy.com>
#
# $FreeBSD$
#

PORTNAME=   heartbeat
PORTVERSION=    1.2.3
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   http://linux-ha.org/download/

MAINTAINER= scott-ports@tummy.com
COMMENT=    Subsystem for High-Availability Clustering

BUILD_DEPENDS=  libnet*>=1.1.2,1:${PORTSDIR}/net/libnet

USE_PERL5=  yes
USE_GMAKE=  yes
USE_GNOME=  glib12
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
USE_INC_LIBTOOL_VER=    13
USE_REINPLACE=  yes
CONFIGURE_ARGS= --disable-fatal-warnings

SUB_FILES=  pkg-install

PKGDEINSTALL=   ${PKGINSTALL}

MAN1=       cl_status.1
MAN8=       apphbd.8 heartbeat.8 ldirectord.8 meatclient.8 \
        stonith.8 supervise-ldirectord-config.8

post-patch:
    ${REINPLACE_CMD} -e "s#logrotate.d##"   ${WRKSRC}/heartbeat/Makefile.in \
                        ${WRKSRC}/ldirectord/Makefile.in

post-deinstall:
    @${SH} ${PKGINSTALL} ${PKGNAME} DEINSTALL

post-install:
    @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

.include <bsd.port.mk>