svn commit: r367710 - head/net/beacon

John Marino marino at FreeBSD.org
Mon Sep 8 23:26:10 UTC 2014


Author: marino
Date: Mon Sep  8 23:26:09 2014
New Revision: 367710
URL: http://svnweb.freebsd.org/changeset/ports/367710
QAT: https://qat.redports.org/buildarchive/r367710/

Log:
  Stage net/beacon and assign maintainership to submitter
  
  PR:		193183
  Submitted by:	Chris Hutchinson
  Tweaked by:	marino

Modified:
  head/net/beacon/Makefile
  head/net/beacon/pkg-descr
  head/net/beacon/pkg-plist

Modified: head/net/beacon/Makefile
==============================================================================
--- head/net/beacon/Makefile	Mon Sep  8 22:41:01 2014	(r367709)
+++ head/net/beacon/Makefile	Mon Sep  8 23:26:09 2014	(r367710)
@@ -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 at FreeBSD.org
+MAINTAINER=	portmaster at 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>

Modified: head/net/beacon/pkg-descr
==============================================================================
--- head/net/beacon/pkg-descr	Mon Sep  8 22:41:01 2014	(r367709)
+++ head/net/beacon/pkg-descr	Mon Sep  8 23:26:09 2014	(r367710)
@@ -1,7 +1,6 @@
-The NLANR/DAST Multicast Beacon is a program written in Perl which uses the 
-RTP protocol to provide useful statistics and diagnostic information about 
-a given multicast group. 
-The Multicast Beacon can be used as a general-purpose active multicast 
-measurement tool.
+The NLANR/DAST Multicast Beacon is a program written in Perl which uses
+the RTP protocol to provide useful statistics and diagnostic information
+about a given multicast group.  The Multicast Beacon can be used as a
+general-purpose active multicast measurement tool.
 
-WWW: http://sourceforge.net/projects/multicastbeacon/
+WWW: http://sourceforge.net/projects/multicastbeacon

Modified: head/net/beacon/pkg-plist
==============================================================================
--- head/net/beacon/pkg-plist	Mon Sep  8 22:41:01 2014	(r367709)
+++ head/net/beacon/pkg-plist	Mon Sep  8 23:26:09 2014	(r367710)
@@ -1,16 +1,10 @@
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/Beacon/Beacon.so
 %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/Beacon/.packlist
 %%SITE_PERL%%/%%PERL_ARCH%%/Net/Multicast/Beacon.pm
-lib/perl5/%%PERL_VER%%/%%PERL_ARCH%%/perllocal.pod
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/Beacon
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/Multicast/
- at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
 @dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Net/Multicast/
 @dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Net
 bin/beacon
- at unexec if cmp -s %D/etc/beacon.conf.sample %D/etc/beacon.conf; then rm -f %D/etc/beacon.conf; fi
-etc/beacon.conf.sample
- at exec if [ ! -f %D/etc/beacon.conf ] ; then cp -p %D/%F %B/beacon.conf; fi
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+ at sample etc/beacon.conf.sample
 etc/rc.d/beacon


More information about the svn-ports-head mailing list