aboutsummaryrefslogtreecommitdiff
path: root/net/beacon/Makefile
blob: ea4cb8e75de0eada0f28e537fa8a961f59e47398 (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
# New ports collection makefile for:	beacon
# Date created:		26 February 2004
# Whom:	      		Janos.Mohacsi@bsd.hu
#
# $FreeBSD$
#

PORTNAME=	beacon
PORTVERSION=	1.4
PORTREVISION=	1
CATEGORIES=	net perl5 mbone ipv6
MASTER_SITES=	SF/multicastbeacon/multicastbeacon/beacon%20v${PORTVERSION}

MAINTAINER=	janos.mohacsi@bsd.hu
COMMENT=	Beacon active measurement tool to monitor multicast

BUILD_DEPENDS=	p5-Net>=0:${PORTSDIR}/net/p5-Net
RUN_DEPENDS=	p5-Net>=0:${PORTSDIR}/net/p5-Net

WWW_DIR?=	${PREFIX}/www/
PLIST_SUB+=	VERSION=${PORTVERSION}
USE_PERL5=	yes
USE_AUTOTOOLS=	autoconf

OPTIONS=	IPV6	"Enable IPv6 PTR lookups" off

.ifdef(WITH_IPV6)
BUILD_DEPENDS+=	p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6
CONFIGURE_ARGS+=	--enable-ipv6
.endif

post-install:
.ifndef(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}/
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
.endif

.include <bsd.port.mk>