mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Fix pkg-plist and create option menu.
This commit is contained in:
parent
13fa57c38d
commit
5d538a8fb7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=246473
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ntp
|
||||
PORTVERSION?= 4.2.6p1.r1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net ipv6
|
||||
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
|
||||
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
|
||||
@ -22,11 +23,24 @@ LATEST_LINK= ${PORTNAME}
|
||||
GNU_CONFIGURE= yes
|
||||
USE_AUTOTOOLS= automake:110
|
||||
|
||||
.if defined(ENABLE_RAWDCF)
|
||||
MAN1= sntp.1 \
|
||||
ntpd.1 \
|
||||
ntpdc.1 \
|
||||
ntpq.1 \
|
||||
ntpsnmpd.1 \
|
||||
ntp-keygen.1 \
|
||||
|
||||
OPTIONS= NTPSNMPD "Build and install ntpsnmpd" OFF \
|
||||
RAWDCF "Enable RAWDCF option" OFF \
|
||||
SSL "Enable SSL" ON
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_RAWDCF)
|
||||
CONFIGURE_ARGS+= --enable-RAWDCF
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_SSL)
|
||||
.if !defined(WITH_SSL)
|
||||
CONFIGURE_ARGS+= --without-crypto
|
||||
PLIST_SUB+= SSL="@comment "
|
||||
.else
|
||||
@ -37,14 +51,13 @@ PLIST_SUB+= SSL=""
|
||||
.endif
|
||||
CONFIGURE_ARGS+= --enable-ipv6
|
||||
|
||||
MAN1= sntp.1 \
|
||||
ntpd.1 \
|
||||
ntpdc.1 \
|
||||
ntpq.1 \
|
||||
ntpsnmpd.1 \
|
||||
ntp-keygen.1 \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if defined(WITH_NTPSNMPD)
|
||||
PLIST_FILES+= sbin/ntpsnmpd
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/include/net-snmp/net-snmp-config.h:${PORTSDIR}/net-mgmt/net-snmp
|
||||
RUN_DEPENDS+= ${LOCALBASE}/include/net-snmp/net-snmp-config.h:${PORTSDIR}/net-mgmt/net-snmp
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-ntpsnmpd
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC} && ./bootstrap
|
||||
|
@ -8,7 +8,6 @@ bin/ntptime
|
||||
bin/ntptrace
|
||||
bin/sntp
|
||||
bin/tickadj
|
||||
sbin/ntpsnmpd
|
||||
%%PORTDOCS%%%%DOCSDIR%%/accopt.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/assoc.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/audio.html
|
||||
|
Loading…
Reference in New Issue
Block a user