Lines 17-66
GNU_CONFIGURE= yes
Link Here
|
17 |
USE_AUTOTOOLS= automake |
17 |
USE_AUTOTOOLS= automake |
18 |
AUTOMAKE_ARGS= --add-missing |
18 |
AUTOMAKE_ARGS= --add-missing |
19 |
OPTIONS_SUB= yes |
19 |
OPTIONS_SUB= yes |
20 |
USES= pathfix perl5 shebangfix libtool |
20 |
USES= pathfix shebangfix libtool |
21 |
LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2 |
21 |
LIB_DEPENDS= libevent-2.0.so:${PORTSDIR}/devel/libevent2 |
22 |
|
22 |
|
23 |
NTP_SHEBANG_FILES= sbin/ntp-wait sbin/ntptrace |
23 |
NTP_SHEBANG_FILES= sbin/ntp-wait sbin/ntptrace |
24 |
|
24 |
|
25 |
.include "Makefile.inc" |
25 |
.include "Makefile.inc" |
26 |
|
26 |
|
|
|
27 |
PERL_USES= perl5 |
28 |
|
27 |
SSL_USE= OPENSSL=yes |
29 |
SSL_USE= OPENSSL=yes |
|
|
30 |
SSL_CONFIGURE_ON= --with-openssl-incdir=${OPENSSLINC} \ |
31 |
--with-openssl-libdir=${OPENSSLLIB} |
28 |
SSL_CONFIGURE_OFF= --without-crypto |
32 |
SSL_CONFIGURE_OFF= --without-crypto |
29 |
|
33 |
|
30 |
IPV6_CONFIGURE_ENABLE= ipv6 |
34 |
IPV6_CONFIGURE_ENABLE= ipv6 |
31 |
|
35 |
|
32 |
NTP_SIGND_CONFIGURE_ENABLE= ntp-signd |
36 |
NTP_SIGND_CONFIGURE_ENABLE= ntp-signd |
33 |
|
37 |
|
34 |
NTPSNMPD_PLIST_FILES= sbin/ntpsnmpd |
|
|
35 |
NTPSNMPD_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp |
38 |
NTPSNMPD_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp |
36 |
NTPSNMPD_CONFIGURE_OFF= --without-ntpsnmpd |
39 |
NTPSNMPD_CONFIGURE_OFF= --without-ntpsnmpd |
37 |
|
40 |
|
38 |
.include <bsd.port.pre.mk> |
|
|
39 |
|
40 |
.if ${PORT_OPTIONS:MSSL} |
41 |
CONFIGURE_ARGS+= --with-openssl-incdir=${OPENSSLINC} \ |
42 |
--with-openssl-libdir=${OPENSSLLIB} |
43 |
.endif |
44 |
|
45 |
.for D in ${NTP_DRIVERS} |
41 |
.for D in ${NTP_DRIVERS} |
46 |
.if ${PORT_OPTIONS:M${D}} |
42 |
${D}_CONFIGURE_ON= --enable-${D} |
47 |
CONFIGURE_ARGS+= --enable-${D} |
|
|
48 |
.endif |
49 |
.endfor |
43 |
.endfor |
50 |
|
44 |
|
51 |
.if ${PORT_OPTIONS:MMX4200} |
|
|
52 |
BROKEN= Fails to compile when MX4200 is enabled. |
53 |
.endif |
54 |
|
55 |
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}4 |
45 |
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}4 |
56 |
|
46 |
|
57 |
pre-everything:: |
|
|
58 |
@${ECHO} |
59 |
@${ECHO} If you wish to build this port with SNMP support, please make |
60 |
@${ECHO} sure that the net-mgmt/net-snmp port is installed before |
61 |
@${ECHO} building and installing this port. |
62 |
@${ECHO} |
63 |
|
64 |
AUTOTOOLSFILES= aclocal.m4 |
47 |
AUTOTOOLSFILES= aclocal.m4 |
65 |
|
48 |
|
66 |
post-patch: |
49 |
post-patch: |
Lines 77-80
post-install:
Link Here
|
77 |
@cd ${STAGEDIR}${PREFIX}; \ |
60 |
@cd ${STAGEDIR}${PREFIX}; \ |
78 |
${ECHO_CMD} ${NTP_SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS} |
61 |
${ECHO_CMD} ${NTP_SHEBANG_FILES} | ${XARGS} ${SED} -i '' ${_SHEBANG_REINPLACE_ARGS} |
79 |
|
62 |
|
80 |
.include <bsd.port.post.mk> |
63 |
.include <bsd.port.mk> |