summaryrefslogtreecommitdiff
path: root/net/ucarp/Makefile
blob: 08707bc4896cd193e43b7a294d389369634b70d1 (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
# $NetBSD: Makefile,v 1.7 2006/02/05 23:10:32 joerg Exp $
#

DISTNAME=		ucarp-1.1
PKGREVISION=		1
CATEGORIES=		net
MASTER_SITES=		ftp://ftp.ucarp.org/pub/ucarp/
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		joel@carnat.net
HOMEPAGE=		http://www.ucarp.org/
COMMENT=		Common Address Redundancy Protocol (CARP) for Unix

USE_PKGLOCALEDIR=	YES
GNU_CONFIGURE=		YES

# pcap_freecode with one argument only
BUILDLINK_DEPENDS.libpcap+=	libpcap>=0.6.0

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ucarp
	for DOC in AUTHORS COPYING NEWS README; do \
		${INSTALL_DATA} ${WRKSRC}/$$DOC ${PREFIX}/share/doc/ucarp; \
	done
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ucarp
	${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/*sh \
		${PREFIX}/share/examples/ucarp

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"