From owner-svn-ports-all@FreeBSD.ORG  Sun Jul 13 05:28:17 2014
Return-Path: <owner-svn-ports-all@FreeBSD.ORG>
Delivered-To: svn-ports-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by hub.freebsd.org (Postfix) with ESMTPS id AD39B712;
 Sun, 13 Jul 2014 05:28:17 +0000 (UTC)
Received: from svn.freebsd.org (svn.freebsd.org
 [IPv6:2001:1900:2254:2068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 945AE253B;
 Sun, 13 Jul 2014 05:28:17 +0000 (UTC)
Received: from svn.freebsd.org ([127.0.1.70])
 by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6D5SGcv050881;
 Sun, 13 Jul 2014 05:28:16 GMT (envelope-from cy@svn.freebsd.org)
Received: (from cy@localhost)
 by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6D5SGWn050878;
 Sun, 13 Jul 2014 05:28:16 GMT (envelope-from cy@svn.freebsd.org)
Message-Id: <201407130528.s6D5SGWn050878@svn.freebsd.org>
From: Cy Schubert <cy@FreeBSD.org>
Date: Sun, 13 Jul 2014 05:28:16 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r361654 - head/net/ntp-devel
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Jul 2014 05:28:17 -0000

Author: cy
Date: Sun Jul 13 05:28:16 2014
New Revision: 361654
URL: http://svnweb.freebsd.org/changeset/ports/361654
QAT: https://qat.redports.org/buildarchive/r361654/

Log:
  Remove perl as a hard dependency. Move ntpsnmpd PLIST from Makefile to
  pkg-plist.
  
  PR:		191235

Modified:
  head/net/ntp-devel/Makefile
  head/net/ntp-devel/Makefile.inc
  head/net/ntp-devel/pkg-plist

Modified: head/net/ntp-devel/Makefile
==============================================================================
--- head/net/ntp-devel/Makefile	Sat Jul 12 23:20:28 2014	(r361653)
+++ head/net/ntp-devel/Makefile	Sun Jul 13 05:28:16 2014	(r361654)
@@ -17,13 +17,15 @@ GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	automake
 AUTOMAKE_ARGS=	--add-missing
 OPTIONS_SUB=	yes
-USES=		pathfix perl5 shebangfix libtool
+USES=		pathfix shebangfix libtool
 LIB_DEPENDS=	libevent-2.0.so:${PORTSDIR}/devel/libevent2
 
 NTP_SHEBANG_FILES=	sbin/ntp-wait sbin/ntptrace
 
 .include "Makefile.inc"
 
+PERL_UTILS_USES=	perl5
+
 SSL_USE=		OPENSSL=yes
 SSL_CONFIGURE_OFF=	--without-crypto
 
@@ -31,7 +33,6 @@ IPV6_CONFIGURE_ENABLE=	ipv6
 
 NTP_SIGND_CONFIGURE_ENABLE=	ntp-signd
 
-NTPSNMPD_PLIST_FILES=	sbin/ntpsnmpd
 NTPSNMPD_LIB_DEPENDS=	libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp
 NTPSNMPD_CONFIGURE_OFF=	--without-ntpsnmpd
 
@@ -54,13 +55,6 @@ BROKEN=		Fails to compile when MX4200 is
  
 DOCSDIR=	${PREFIX}/share/doc/${PORTNAME}4
 
-pre-everything::
-	@${ECHO}
-	@${ECHO} If you wish to build this port with SNMP support, please make
-	@${ECHO} sure that the net-mgmt/net-snmp port is installed before
-	@${ECHO} building and installing this port.
-	@${ECHO}
-
 AUTOTOOLSFILES=	aclocal.m4
 
 post-patch:

Modified: head/net/ntp-devel/Makefile.inc
==============================================================================
--- head/net/ntp-devel/Makefile.inc	Sat Jul 12 23:20:28 2014	(r361653)
+++ head/net/ntp-devel/Makefile.inc	Sun Jul 13 05:28:16 2014	(r361654)
@@ -32,6 +32,7 @@ OPTIONS_DEFINE=	NTPSNMPD \
   		ONCORE \
   		PALISADE \
   		PCF \
+		PERL_UTILS \
   		PST \
   		RIPENCC \
   		SHM \
@@ -56,6 +57,7 @@ OPTIONS_DEFINE=	NTPSNMPD \
 OPTIONS_DEFAULT=	SSL \
 		NTP_SIGND \
   		ATOM \
+		PERL_UTILS \
   		NMEA
 
 NTPSNMPD_DESC=	Build and install ntpsnmpd
@@ -88,6 +90,7 @@ NMEA_DESC=	Enable NMEA GPS receiver
 ONCORE_DESC=	Enable Motorola VP/UT Oncore GPS receiver
 PALISADE_DESC=	Enable Palisade clock
 PCF_DESC=	Enable Conrad parallel port radio clock
+PERL_UTILS_DESC=	Install ntp-wait and ntptrace utilities
 PST_DESC=	Enable PST/Traconex 1020 WWV/WWVH receiver
 RIPENCC_DESC=	Enable RIPENCC specific Trimble driver
 SHM_DESC=	Enable SHM clock attached thru shared memory

Modified: head/net/ntp-devel/pkg-plist
==============================================================================
--- head/net/ntp-devel/pkg-plist	Sat Jul 12 23:20:28 2014	(r361653)
+++ head/net/ntp-devel/pkg-plist	Sun Jul 13 05:28:16 2014	(r361654)
@@ -1,23 +1,24 @@
 man/man5/ntp.conf.5.gz
 man/man5/ntp.keys.5.gz
 man/man8/ntp-keygen.8.gz
-man/man8/ntp-wait.8.gz
+%%PERL%%man/man8/ntp-wait.8.gz
 man/man8/ntpd.8.gz
 man/man8/ntpdc.8.gz
 man/man8/ntpq.8.gz
-man/man8/ntptrace.8.gz
+%%PERL%%man/man8/ntptrace.8.gz
 %%NTPSNMPD%%man/man8/ntpsnmpd.8.gz
 man/man8/sntp.8.gz
 %%SSL%%sbin/ntp-keygen
-sbin/ntp-wait
+%%PERL%%sbin/ntp-wait
 sbin/ntpd
 sbin/ntpdate
 sbin/ntpdc
 sbin/ntpq
+%%NTPSNMPD%%sbin/ntpsnmpd
 sbin/ntptime
-sbin/ntptrace
+%%PERL%%sbin/ntptrace
 sbin/sntp
-share/ntp/lib/NTP/Util.pm
+%%PERL%%share/ntp/lib/NTP/Util.pm
 %%PORTDOCS%%%%DOCSDIR%%/access.html
 %%PORTDOCS%%%%DOCSDIR%%/accopt.html
 %%PORTDOCS%%%%DOCSDIR%%/assoc.html