summaryrefslogtreecommitdiff
path: root/net/ntp4/Makefile
diff options
context:
space:
mode:
authorfredb <fredb>1999-11-14 05:23:26 +0000
committerfredb <fredb>1999-11-14 05:23:26 +0000
commitd6d850a705510f938f4a0b6f782e4e3dcfc7e8aa (patch)
tree3781e4c2c8c4bc39dbc679216270ba0da0cf38ab /net/ntp4/Makefile
parent8e4b66ed5844b5097ed01ace4f6c92501cbfe94c (diff)
downloadpkgsrc-d6d850a705510f938f4a0b6f782e4e3dcfc7e8aa.tar.gz
Update ntp4 to 4.0.98f. Extensive clean ups, bug fixes in reference clock
drivers and in burst mode operation. Clean ups to and additional documentation. - - Package builds cleanly (including ntptime) for NetBSD-1.4.1, now that HAVE_PPSAPI depends on finding PPS_API_VERS_1 in sys/timepps.h, rather than simply checking for the presence of sys/timpepps.h. - - Remove dependencies on gmake and autoconf.
Diffstat (limited to 'net/ntp4/Makefile')
-rw-r--r--net/ntp4/Makefile33
1 files changed, 5 insertions, 28 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index 9ce2792ea43..c2d95a0c8d6 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,53 +1,30 @@
-# $NetBSD: Makefile,v 1.9 1999/08/30 11:15:13 fredb Exp $
+# $NetBSD: Makefile,v 1.10 1999/11/14 05:23:26 fredb Exp $
#
-DISTNAME= ntp-4.0.95
-PKGNAME= ntp-4.0.97d
+DISTNAME= ntp-4.0.98f
CATEGORIES= net
MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/testing/ \
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
ftp://ftp.udel.edu/pub/ntp/testing/ \
ftp://ftp.udel.edu/pub/ntp/ntp4/
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= ntp-4.0.95-4.0.96.diff.gz \
- ntp-4.0.96-4.0.96p1.diff.gz \
- ntp-4.0.96p1-4.0.97.diff.gz \
- ntp-4.0.97-4.0.97a.diff.gz \
- ntp-4.0.97a-4.0.97b.diff.gz \
- ntp-4.0.97b-4.0.97c.diff.gz \
- ntp-4.0.97c-4.0.97d.diff.gz
-PATCH_DIST_STRIP= -p1
-
MAINTAINER= fb@enteract.com
HOMEPAGE= http://www.ntp.org/
-BUILD_DEPENDS+= autoconf:../../devel/autoconf
-BUILD_DEPENDS+= automake:../../devel/automake
-
-# gmake, automake, autoconf are only required for patch releases
-
GNU_CONFIGURE= YES
-USE_GMAKE= YES
DOCDIR= ${PREFIX}/share/doc
EXAMPLESDIR= ${PREFIX}/share/examples
MESSAGE_FILE= ${WRKDIR}/MESSAGE
-post-configure:
- cd ${WRKSRC}; \
- ${SED} /ac_cv_make_ntptime/s/no/yes/ < config.cache > config.cache~; \
- ${MV} config.cache~ config.cache
- @${MAKE} do-configure
-
post-build:
${SED} 's#@PREFIX@#${PREFIX}#g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
post-install:
cd ${WRKSRC}; \
- ${PAX} -r -w -s "/html/ntp4/" html ${DOCDIR}; \
- ${PAX} -r -w -s "/conf/ntp4/" conf ${EXAMPLESDIR}
- -${RM} ${DOCDIR}/ntp4/.cvs* ${DOCDIR}/ntp4/*.orig ${DOCDIR}/ntp4/hints/*.orig
+ ${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