# Created by: andreas # $FreeBSD$ PORTNAME= ntp PORTVERSION= 4.2.8p3 PORTREVISION= 1 CATEGORIES= net ipv6 MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ \ http://archive.ntp.org/ntp4/ntp-4.2/ \ ftp://ftp.netlab.is.tsukuba.ac.jp/pub/network/ntp/ntp4/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/P/p/:S/.r/-RC/} MAINTAINER= cy@FreeBSD.org COMMENT= The Network Time Protocol Distribution CONFLICTS= ntp-rc-* ntp-devel-* GNU_CONFIGURE= yes OPTIONS_SUB= yes USES= cpe pathfix shebangfix libedit libtool pkgconfig LIB_DEPENDS= libevent.so:${PORTSDIR}/devel/libevent2 SHEBANG_FILES= scripts/ntptrace/ntptrace.in \ scripts/ntp-wait/ntp-wait.in perl_OLD_CMD= @PATH_PERL@ .include "Makefile.inc" PERL_UTILS_USES= perl5 SSL_USE= OPENSSL=yes SSL_CONFIGURE_OFF= --without-crypto IPV6_CONFIGURE_ENABLE= ipv6 NTP_SIGND_CONFIGURE_ENABLE= ntp-signd NTPSNMPD_LIB_DEPENDS= libnetsnmp.so:${PORTSDIR}/net-mgmt/net-snmp NTPSNMPD_CONFIGURE_OFF= --without-ntpsnmpd SSL_CONFIGURE_ON= --with-openssl-incdir=${OPENSSLINC} \ --with-openssl-libdir=${OPENSSLLIB} .for D in ${NTP_DRIVERS} ${D}_CONFIGURE_ON= --enable-${D} .endfor # XXX Temporary hack. Remember to remove this next commit. post-extract: @/usr/bin/touch ${WRKSRC}/scripts/build/checkHtmlFileDates @${CHMOD} +x ${WRKSRC}/scripts/build/checkHtmlFileDates post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @${INSTALL_DATA} ${WRKSRC}/conf/* ${STAGEDIR}${EXAMPLESDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} @${FIND} ${WRKSRC}/html -type f | ${XARGS} ${CHMOD} ${SHAREMODE} @cd ${WRKSRC}/html && ${FIND} . -print | \ ${CPIO} -pdu -R ${SHAREOWN}:${SHAREGRP} --quiet ${STAGEDIR}${DOCSDIR} .include