summaryrefslogtreecommitdiff
path: root/net/ntp4/Makefile
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>1999-08-13 08:54:28 +0000
committerfredb <fredb@pkgsrc.org>1999-08-13 08:54:28 +0000
commit7314f855944adcbfb010f3268ce04481c97cec50 (patch)
tree140ab9db848b3ff6ea58cedcc2835445d248256e /net/ntp4/Makefile
parenta3b59be57bf8b5e2eb2b5e2828781eaa11329434 (diff)
downloadpkgsrc-7314f855944adcbfb010f3268ce04481c97cec50.tar.gz
Update ntp4 to 4.0.96p1
Highlights: - - Y2K patches from AT&T: readme, test results, in source directory - - various portability and configuration patches for Linux, WinNT This version of the package now requires "gmake", "autoconf", and "automake" as a consequence of its use of distribution patches. This requirement is expected to go away with the pending release.
Diffstat (limited to 'net/ntp4/Makefile')
-rw-r--r--net/ntp4/Makefile24
1 files changed, 19 insertions, 5 deletions
diff --git a/net/ntp4/Makefile b/net/ntp4/Makefile
index 1e111d80377..42e95125faf 100644
--- a/net/ntp4/Makefile
+++ b/net/ntp4/Makefile
@@ -1,19 +1,31 @@
-# $NetBSD: Makefile,v 1.6 1999/07/29 19:06:05 fredb Exp $
+# $NetBSD: Makefile,v 1.7 1999/08/13 08:54:28 fredb Exp $
#
DISTNAME= ntp-4.0.95
+PKGNAME= ntp-4.0.96p1
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
+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:
@@ -27,10 +39,12 @@ post-build:
post-install:
cd ${WRKSRC}; \
- ${PAX} -r -w -s "/html/ntp4/" html ${DOCDIR}
- -${RM} -R ${DOCDIR}/ntp4/.cvs*
- ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}/ntp4
- ${CHMOD} -R ${SHAREMODE} ${DOCDIR}/ntp4
+ ${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
+ ${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"