d46d4d0feb
from the "ChangeLog" file below). Also, this NetBSD package now installs the HTML docs into "/usr/pkg/share/doc/html". * ntpd/refclock_oncore.c (oncore_start): Set pps_enable=1, just like the atom driver does. From: reg@dwf.com * ntpd/refclock_nmea.c (nmea_ppsapi): Set pps_enable=1, just like the atom driver does. From: Scott Allendorf <sca@newton.physics.uiowa.edu> * ntpd/ntp_config.c (getconfig): CONF_CLOCK_PANIC was using the wrong config flag. From: <justin_forrester@hp.com>
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.19 2001/08/14 06:10:41 fredb Exp $
|
|
#
|
|
|
|
DISTNAME= ntp-4.1.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
|
|
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
|
|
|
|
MAINTAINER= fredb@netbsd.org
|
|
HOMEPAGE= http://www.ntp.org/
|
|
COMMENT= Network Time Protocol Version 4
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ENV+= PATH_PERL="${PERL5}"
|
|
CONFIGURE_ENV+= ac_cv_lib_readline_readline=no
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/html
|
|
EXAMPLESDIR= ${PREFIX}/share/examples
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && \
|
|
${TOUCH} stamp-h.in COPYRIGHT \
|
|
`${FIND} . -name aclocal.m4 -print` \
|
|
`${FIND} . -name configure -print` \
|
|
`${FIND} . -name Makefile.in -print`
|
|
|
|
post-install:
|
|
cd ${WRKSRC} && \
|
|
${RM} conf/.cvsignore* 2> /dev/null || ${TRUE}; \
|
|
${RM} html/.cvsignore* 2> /dev/null || ${TRUE}; \
|
|
${PAX} -r -w -s "/html/ntp4/" html ${DOCDIR}; \
|
|
${PAX} -r -w -s "/conf/ntp4/" conf ${EXAMPLESDIR}
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
|
|
${CHMOD} -R ${SHAREMODE} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
|
|
${CHMOD} a+x ${DOCDIR}/ntp4 ${DOCDIR}/ntp4/hints ${DOCDIR}/ntp4/pic
|
|
${CHMOD} a+x ${EXAMPLESDIR}/ntp4
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|