2013-12-10 18:56:23 +01:00
|
|
|
# $NetBSD: Makefile,v 1.16 2013/12/10 17:56:23 jperkin Exp $
|
2004-07-08 12:30:31 +02:00
|
|
|
#
|
|
|
|
|
2011-11-02 02:13:04 +01:00
|
|
|
DISTNAME= ucarp-1.5.2
|
2013-12-10 18:56:23 +01:00
|
|
|
PKGREVISION= 2
|
2004-07-08 12:30:31 +02:00
|
|
|
CATEGORIES= net
|
2006-01-13 19:42:48 +01:00
|
|
|
MASTER_SITES= ftp://ftp.ucarp.org/pub/ucarp/
|
2004-07-08 12:30:31 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2006-01-13 19:42:48 +01:00
|
|
|
MAINTAINER= joel@carnat.net
|
2007-02-22 20:01:13 +01:00
|
|
|
HOMEPAGE= http://www.ucarp.org/project/ucarp
|
2004-07-08 12:30:31 +02:00
|
|
|
COMMENT= Common Address Redundancy Protocol (CARP) for Unix
|
|
|
|
|
2006-01-13 19:42:48 +01:00
|
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
GNU_CONFIGURE= YES
|
2006-07-06 15:14:01 +02:00
|
|
|
USE_TOOLS+= msgfmt
|
2005-07-26 12:47:19 +02:00
|
|
|
|
|
|
|
# pcap_freecode with one argument only
|
2006-04-06 08:21:32 +02:00
|
|
|
BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.6.0
|
2004-07-08 12:30:31 +02:00
|
|
|
|
2010-02-11 23:57:40 +01:00
|
|
|
INSTALLATION_DIRS+= share/doc/ucarp share/examples/ucarp
|
|
|
|
|
2006-01-13 19:42:48 +01:00
|
|
|
post-install:
|
|
|
|
for DOC in AUTHORS COPYING NEWS README; do \
|
2010-02-11 23:57:40 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$DOC ${DESTDIR}${PREFIX}/share/doc/ucarp; \
|
2006-01-13 19:42:48 +01:00
|
|
|
done
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/*sh \
|
2010-02-11 23:57:40 +01:00
|
|
|
${DESTDIR}${PREFIX}/share/examples/ucarp
|
2006-01-13 19:42:48 +01:00
|
|
|
|
2004-07-08 12:30:31 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|