aboutsummaryrefslogtreecommitdiff
path: root/net/ntp-devel
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2014-07-13 05:28:16 +0000
committerCy Schubert <cy@FreeBSD.org>2014-07-13 05:28:16 +0000
commit1435d9aaea1e19014122451dc1c47c2204f30d03 (patch)
tree4afd17e834e01618e861f995de54683456ee23b4 /net/ntp-devel
parent194bbed9930c0ef69d175ac9332d92d6184a9973 (diff)
downloadports-1435d9aaea1e19014122451dc1c47c2204f30d03.tar.gz
ports-1435d9aaea1e19014122451dc1c47c2204f30d03.zip
Remove perl as a hard dependency. Move ntpsnmpd PLIST from Makefile to
pkg-plist. PR: 191235
Notes
Notes: svn path=/head/; revision=361654
Diffstat (limited to 'net/ntp-devel')
-rw-r--r--net/ntp-devel/Makefile12
-rw-r--r--net/ntp-devel/Makefile.inc3
-rw-r--r--net/ntp-devel/pkg-plist11
3 files changed, 12 insertions, 14 deletions
diff --git a/net/ntp-devel/Makefile b/net/ntp-devel/Makefile
index a8349438c015..79c6d6ce3cdc 100644
--- a/net/ntp-devel/Makefile
+++ b/net/ntp-devel/Makefile
@@ -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 enabled.
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:
diff --git a/net/ntp-devel/Makefile.inc b/net/ntp-devel/Makefile.inc
index 527795807d28..12e15ed728f1 100644
--- a/net/ntp-devel/Makefile.inc
+++ b/net/ntp-devel/Makefile.inc
@@ -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
diff --git a/net/ntp-devel/pkg-plist b/net/ntp-devel/pkg-plist
index 15e7148dd7b6..e9e7e10c2eec 100644
--- a/net/ntp-devel/pkg-plist
+++ b/net/ntp-devel/pkg-plist
@@ -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