2001-08-14 08:10:41 +02:00
|
|
|
# $NetBSD: Makefile,v 1.19 2001/08/14 06:10:41 fredb Exp $
|
1999-07-24 20:29:34 +02:00
|
|
|
#
|
|
|
|
|
2001-08-14 08:10:41 +02:00
|
|
|
DISTNAME= ntp-4.1.0
|
1999-07-24 21:02:40 +02:00
|
|
|
CATEGORIES= net
|
2000-08-18 21:39:53 +02:00
|
|
|
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
|
|
|
|
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
|
1999-07-24 20:29:34 +02:00
|
|
|
|
2001-07-12 18:24:58 +02:00
|
|
|
MAINTAINER= fredb@netbsd.org
|
1999-07-24 23:23:52 +02:00
|
|
|
HOMEPAGE= http://www.ntp.org/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Network Time Protocol Version 4
|
1999-07-24 20:29:34 +02:00
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
|
2001-07-12 18:24:58 +02:00
|
|
|
CONFIGURE_ENV+= PATH_PERL="${PERL5}"
|
2001-07-12 19:38:18 +02:00
|
|
|
CONFIGURE_ENV+= ac_cv_lib_readline_readline=no
|
2000-08-18 21:39:53 +02:00
|
|
|
|
2001-08-14 08:10:41 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/html
|
1999-08-13 10:54:28 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples
|
1999-07-29 21:06:05 +02:00
|
|
|
|
2001-07-12 18:24:58 +02:00
|
|
|
pre-configure:
|
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${TOUCH} stamp-h.in COPYRIGHT \
|
|
|
|
`${FIND} . -name aclocal.m4 -print` \
|
|
|
|
`${FIND} . -name configure -print` \
|
|
|
|
`${FIND} . -name Makefile.in -print`
|
|
|
|
|
1999-07-24 20:29:34 +02:00
|
|
|
post-install:
|
2001-07-12 18:24:58 +02:00
|
|
|
cd ${WRKSRC} && \
|
|
|
|
${RM} conf/.cvsignore* 2> /dev/null || ${TRUE}; \
|
|
|
|
${RM} html/.cvsignore* 2> /dev/null || ${TRUE}; \
|
|
|
|
${PAX} -r -w -s "/html/ntp4/" html ${DOCDIR}; \
|
1999-11-14 06:23:26 +01:00
|
|
|
${PAX} -r -w -s "/conf/ntp4/" conf ${EXAMPLESDIR}
|
1999-08-13 10:54:28 +02:00
|
|
|
${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"
|