1 # $NetBSD: Makefile,v 1.9 1999/08/30 11:15:13 fredb Exp $
6 MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/testing/ \
7 http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
8 ftp://ftp.udel.edu/pub/ntp/testing/ \
9 ftp://ftp.udel.edu/pub/ntp/ntp4/
11 MAINTAINER= fb@enteract.com
12 HOMEPAGE= http://www.ntp.org/
16 DOCDIR= ${PREFIX}/share/doc
17 EXAMPLESDIR= ${PREFIX}/share/examples
18 MESSAGE_FILE= ${WRKDIR}/MESSAGE
21 ${SED} 's#@PREFIX@#${PREFIX}#g' < ${PKGDIR}/MESSAGE > ${WRKDIR}/MESSAGE
25 ${RM} html/.cvsignore* 2> /dev/null || true; \
26 ${PAX} -r -w -s "/html/ntp4/" html ${DOCDIR}; \
27 ${PAX} -r -w -s "/conf/ntp4/" conf ${EXAMPLESDIR}
28 ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
29 ${CHMOD} -R ${SHAREMODE} ${DOCDIR}/ntp4 ${EXAMPLESDIR}/ntp4
30 ${CHMOD} a+x ${DOCDIR}/ntp4 ${DOCDIR}/ntp4/hints ${DOCDIR}/ntp4/pic
31 ${CHMOD} a+x ${EXAMPLESDIR}/ntp4
33 .include "../../mk/bsd.pkg.mk"