Lines 2-45
Link Here
|
2 |
# Date created: 26 February 2004 |
2 |
# Date created: 26 February 2004 |
3 |
# Whom: Janos.Mohacsi@bsd.hu |
3 |
# Whom: Janos.Mohacsi@bsd.hu |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/net/beacon/Makefile,v 1.22 2010/12/15 22:44:42 pgollucci Exp $ |
5 |
# $FreeBSD$ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= beacon |
8 |
PORTNAME= beacon |
9 |
PORTVERSION= 1.3 |
9 |
PORTVERSION= 1.4 |
10 |
PORTREVISION= 4 |
|
|
11 |
CATEGORIES= net perl5 mbone ipv6 |
10 |
CATEGORIES= net perl5 mbone ipv6 |
12 |
MASTER_SITES= http://dast.nlanr.net/Projects/Beacon/releases/ |
11 |
MASTER_SITES= http://dast.nlanr.net/Projects/Beacon/releases/ |
|
|
12 |
DISTNAME= ${PORTNAME}-${PORTVERSION} |
13 |
|
13 |
|
14 |
MAINTAINER= janos.mohacsi@bsd.hu |
14 |
MAINTAINER= janos.mohacsi@bsd.hu |
15 |
COMMENT= Beacon active measurement tool to monitor multicast |
15 |
COMMENT= Beacon active measurement tool to monitor multicast |
16 |
|
16 |
|
17 |
BUILD_DEPENDS= ${SITE_PERL}/Net/Domain.pm:${PORTSDIR}/net/p5-Net |
17 |
BUILD_DEPENDS= ${SITE_PERL}/Net/Domain.pm:${PORTSDIR}/net/p5-Net |
18 |
RUN_DEPENDS= ${SITE_PERL}/Net/Domain.pm:${PORTSDIR}/net/p5-Net |
18 |
RUN_DEPENDS= ${BUILD_DEPENDS} |
19 |
|
19 |
|
20 |
WWW_DIR?= ${PREFIX}/www/ |
20 |
WWW_DIR?= ${PREFIX}/www/ |
21 |
PLIST_SUB+= VERSION=${PORTVERSION} |
21 |
PLIST_SUB+= VERSION=${PORTVERSION} |
22 |
USE_PERL5= yes |
22 |
USE_PERL5= yes |
23 |
USE_AUTOTOOLS= autoconf |
23 |
USE_AUTOTOOLS= autoconf |
24 |
USE_RC_SUBR= beacon |
|
|
25 |
|
24 |
|
26 |
.ifdef(WITHOUT_IPV6) |
|
|
27 |
CONFIGURE_ARGS= |
25 |
CONFIGURE_ARGS= |
|
|
26 |
|
27 |
OPTIONS= IPv6 "Enable IPv6 PTR lookups" off |
28 |
|
29 |
.ifdef(WITHOUT_IPV6) |
28 |
.else |
30 |
.else |
29 |
#enable IPv6 name lookup, and sending IPv6 multicast |
|
|
30 |
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6 |
31 |
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Socket6.pm:${PORTSDIR}/net/p5-Socket6 |
31 |
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src_beacon.in |
|
|
32 |
CONFIGURE_ARGS+= --enable-ipv6 |
32 |
CONFIGURE_ARGS+= --enable-ipv6 |
33 |
.endif |
33 |
.endif |
34 |
|
34 |
|
35 |
.include <bsd.port.pre.mk> |
35 |
.include <bsd.port.mk> |
36 |
|
|
|
37 |
post-install: |
38 |
@${ECHO} "Sample config installed at ${PREFIX}/etc/beacon.conf.sample" |
39 |
@${ECHO} "Copy the customised version to ${PREFIX}/etc/beacon.conf" |
40 |
.ifndef(NOPORTDOCS) |
41 |
@${MKDIR} ${DOCSDIR}/ |
42 |
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ |
43 |
.endif |
44 |
|
45 |
.include <bsd.port.post.mk> |