diff options
Diffstat (limited to 'net/beacon/Makefile')
-rw-r--r-- | net/beacon/Makefile | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/net/beacon/Makefile b/net/beacon/Makefile index 1a794160999e..069c09f93b3e 100644 --- a/net/beacon/Makefile +++ b/net/beacon/Makefile @@ -3,13 +3,16 @@ PORTNAME= beacon PORTVERSION= 1.4 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net perl5 mbone ipv6 MASTER_SITES= SF/multicastbeacon/multicastbeacon/beacon%20v${PORTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= portmaster@bsdforge.com COMMENT= Beacon active measurement tool to monitor multicast +LICENSE= BSD4CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + BUILD_DEPENDS= p5-Net>=0:${PORTSDIR}/net/p5-Net RUN_DEPENDS= p5-Net>=0:${PORTSDIR}/net/p5-Net @@ -17,27 +20,24 @@ WWW_DIR?= ${PREFIX}/www/ PLIST_SUB+= VERSION=${PORTVERSION} USES= perl5 +USE_PERL5+= fixpacklist USE_AUTOTOOLS= autoconf +PORTDOCS= README -OPTIONS_DEFINE= IPV6 -OPTIONS_DEFAULT= +OPTIONS_DEFINE= DOCS IPV6 IPV6_DESC= Enable IPv6 PTR lookups +IPV6_CONFIGURE_ENABLE= ipv6 +IPV6_BUILD_DEPENDS= p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 -NO_STAGE= yes .include <bsd.port.options.mk> -.if ${PORT_OPTIONS:MIPV6} -BUILD_DEPENDS+= p5-Socket6>=0:${PORTSDIR}/net/p5-Socket6 -CONFIGURE_ARGS+= --enable-ipv6 -.else -CONFIGURE_ARGS+= --disable-ipv6 -.endif - post-install: -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR}/ - @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ -.endif + ${STRIP_CMD} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto/Net/Multicast/Beacon/Beacon.so + cd ${WRKSRC}/src/FreeBSD/ && \ + ${INSTALL_DATA} beacon ${STAGEDIR}${PREFIX}/etc/rc.d + ${RM} ${STAGEDIR}${PREFIX}/lib/perl5/${PERL_VER}/${PERL_ARCH}/perllocal* + @${MKDIR} ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |