1999-08-30 13:15:13 +02:00
|
|
|
# $NetBSD: Makefile,v 1.9 1999/08/30 11:15:13 fredb Exp $
|
1999-07-24 20:29:34 +02:00
|
|
|
#
|
|
|
|
|
1999-07-28 10:55:12 +02:00
|
|
|
DISTNAME= ntp-4.0.95
|
1999-08-30 13:15:13 +02:00
|
|
|
PKGNAME= ntp-4.0.97d
|
1999-07-24 21:02:40 +02:00
|
|
|
CATEGORIES= net
|
1999-07-27 19:45:15 +02:00
|
|
|
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/ \
|
1999-07-24 20:29:34 +02:00
|
|
|
ftp://ftp.udel.edu/pub/ntp/ntp4/
|
|
|
|
|
1999-08-13 10:54:28 +02:00
|
|
|
PATCH_SITES= ${MASTER_SITES}
|
1999-08-19 10:52:57 +02:00
|
|
|
PATCHFILES= ntp-4.0.95-4.0.96.diff.gz \
|
|
|
|
ntp-4.0.96-4.0.96p1.diff.gz \
|
1999-08-30 13:15:13 +02:00
|
|
|
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
|
1999-08-13 10:54:28 +02:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
1999-07-24 20:29:34 +02:00
|
|
|
MAINTAINER= fb@enteract.com
|
1999-07-24 23:23:52 +02:00
|
|
|
HOMEPAGE= http://www.ntp.org/
|
1999-07-24 20:29:34 +02:00
|
|
|
|
1999-08-13 10:54:28 +02:00
|
|
|
BUILD_DEPENDS+= autoconf:../../devel/autoconf
|
|
|
|
BUILD_DEPENDS+= automake:../../devel/automake
|
|
|
|
|
|
|
|
# gmake, automake, autoconf are only required for patch releases
|
|
|
|
|
1999-07-24 20:29:34 +02:00
|
|
|
GNU_CONFIGURE= YES
|
1999-08-13 10:54:28 +02:00
|
|
|
USE_GMAKE= YES
|
1999-07-24 20:29:34 +02:00
|
|
|
|
|
|
|
DOCDIR= ${PREFIX}/share/doc
|
1999-08-13 10:54:28 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples
|
1999-07-29 21:06:05 +02:00
|
|
|
MESSAGE_FILE= ${WRKDIR}/MESSAGE
|
1999-07-24 20:29:34 +02:00
|
|
|
|
|
|
|
post-configure:
|
|
|
|
cd ${WRKSRC}; \
|
|
|
|
${SED} /ac_cv_make_ntptime/s/no/yes/ < config.cache > config.cache~; \
|
|
|
|
${MV} config.cache~ config.cache
|
|
|
|
@${MAKE} do-configure
|
|
|
|
|
1999-07-29 21:06:05 +02:00
|
|
|
post-build:
|
|
|
|
${SED} 's#@PREFIX@#${PREFIX}#g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
|
|
|
|
|
1999-07-24 20:29:34 +02:00
|
|
|
post-install:
|
|
|
|
cd ${WRKSRC}; \
|
1999-08-13 10:54:28 +02:00
|
|
|
${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
|
1999-07-24 20:29:34 +02:00
|
|
|
${CHMOD} a+x ${DOCDIR}/ntp4 ${DOCDIR}/ntp4/hints ${DOCDIR}/ntp4/pic
|
1999-08-13 10:54:28 +02:00
|
|
|
${CHMOD} a+x ${EXAMPLESDIR}/ntp4
|
1999-07-24 20:29:34 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|