e88979a706
It was changed in Makefile revision 1.49 in July 2006. Bump PKGREVISION.
71 lines
1.8 KiB
Makefile
71 lines
1.8 KiB
Makefile
# $NetBSD: Makefile,v 1.50 2006/11/22 23:07:39 reed Exp $
|
|
#
|
|
|
|
DISTNAME= ntp-4.2.0
|
|
PKGREVISION= 10
|
|
CATEGORIES= net time
|
|
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
|
|
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/
|
|
|
|
MAINTAINER= fredb@NetBSD.org
|
|
HOMEPAGE= http://www.ntp.org/
|
|
COMMENT= Network Time Protocol Version 4
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
CONFLICTS+= openntpd-[0-9]*
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= perl
|
|
|
|
CONFIGURE_ENV+= PATH_PERL=${PERL5:Q} ac_cv_header_sys_soundcard_h=no
|
|
|
|
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/ntp4
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/ntp4
|
|
ALL_NTP_DOCS= ${DOCDIR} ${EXAMPLESDIR}
|
|
|
|
RCD_SCRIPTS= ntpd ntpdate
|
|
|
|
post-install:
|
|
cd ${WRKSRC}/html && ${PAX} -rw . ${DOCDIR}
|
|
cd ${WRKSRC}/conf && ${PAX} -rw . ${EXAMPLESDIR}
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${ALL_NTP_DOCS}
|
|
${FIND} ${ALL_NTP_DOCS} -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE}
|
|
${FIND} ${ALL_NTP_DOCS} -type f -print | ${XARGS} ${CHMOD} ${SHAREMODE}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
TIMETRIM= ""
|
|
NO_TIMETRIM= "@comment "
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
#
|
|
# Use POSIX nanosecond timers when available, but not otherwise.
|
|
#
|
|
LOWER_OPSYS_VERSUFFIX= 1
|
|
MACHINE_GNU_PLATFORM= ${LOWER_ARCH}--${LOWER_OPSYS}${LOWER_OPSYS_VERSUFFIX}
|
|
. for __wildcard__ in 1.6[N-Z]* 2*
|
|
. if ${OS_VERSION:M${__wildcard__}} != ""
|
|
LOWER_OPSYS_VERSUFFIX= 2
|
|
. endif
|
|
. endfor
|
|
#
|
|
# Don't pick up libwww's -lmd5, until buildlink can be fixed.
|
|
#
|
|
CONFIGURE_ENV+= ac_cv_lib_md5_MD5Init=no
|
|
.elif ${OPSYS} == "IRIX"
|
|
TIMETRIM= "@comment "
|
|
NO_TIMETRIM= ""
|
|
.endif
|
|
|
|
PLIST_SUBST+= TIMETRIM=${TIMETRIM} NO_TIMETRIM=${NO_TIMETRIM}
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --with-openssl-incdir=${SSLBASE}/include
|
|
CONFIGURE_ARGS+= --with-openssl-libdir=${SSLBASE}/lib
|
|
CONFIGURE_ARGS+= --with-crypto=openssl
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|