summaryrefslogtreecommitdiff
path: root/net/ucarp/Makefile
blob: 7e94471f2721780696b5384837268ec556e2d761 (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.17 2021/04/25 06:16:28 wiz Exp $

DISTNAME=		ucarp-1.5.2
PKGREVISION=		2
CATEGORIES=		net
#MASTER_SITES=		ftp://ftp.ucarp.org/pub/ucarp/
EXTRACT_SUFX=		.tar.bz2

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

USE_PKGLOCALEDIR=	YES
GNU_CONFIGURE=		YES
USE_TOOLS+=		msgfmt

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

INSTALLATION_DIRS+=	share/doc/ucarp share/examples/ucarp

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

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