2001-12-20 16:07:21 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.19 2001/12/20 21:07:21 danh Exp $
|
2001-03-16 11:35:19 -05:00
|
|
|
|
2001-12-20 01:14:15 -05:00
|
|
|
COMMENT= "network time protocol implementation"
|
|
|
|
COMMENT-doc= "network time protocol documentation"
|
2001-02-07 12:43:21 -05:00
|
|
|
|
2001-12-20 16:07:21 -05:00
|
|
|
VERSION= 4.1.72
|
2001-02-08 09:01:17 -05:00
|
|
|
DISTNAME= ntp-${VERSION}
|
2001-12-20 16:07:21 -05:00
|
|
|
PKGNAME= ntp-${VERSION}
|
2001-04-19 10:51:27 -04:00
|
|
|
PKGNAME-doc= ntp-doc-${VERSION}
|
2001-02-07 12:43:21 -05:00
|
|
|
CATEGORIES= net
|
2001-12-20 10:12:11 -05:00
|
|
|
NEED_VERSION= 1.502
|
2001-02-07 12:43:21 -05:00
|
|
|
MASTER_SITES= ftp://ftp.udel.edu/pub/ntp/ntp4/ \
|
2001-02-13 15:50:30 -05:00
|
|
|
http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
|
2001-02-11 01:16:33 -05:00
|
|
|
ftp://ftp.cs.umn.edu/mirrors00/ftp.udel.edu/pub/ntp/ntp4/
|
2001-02-07 12:43:21 -05:00
|
|
|
|
2001-02-13 15:50:30 -05:00
|
|
|
HOMEPAGE= http://www.ntp.org/
|
2001-02-07 12:43:21 -05:00
|
|
|
|
|
|
|
MAINTAINER= Dan Harnett <danh@openbsd.org>
|
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2001-02-07 13:13:43 -05:00
|
|
|
MULTI_PACKAGES= -doc
|
|
|
|
SUBPACKAGE?=
|
|
|
|
|
2001-02-07 13:21:05 -05:00
|
|
|
SEPARATE_BUILD= concurrent
|
2001-02-07 12:43:21 -05:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= --bindir='${PREFIX}/sbin' \
|
2001-10-03 15:52:52 -04:00
|
|
|
--enable-accurate-adjtime --disable-IRIG \
|
|
|
|
--with-openssl-libdir=/usr/lib \
|
|
|
|
--with-openssl-incdir=/usr/include \
|
|
|
|
--with-crypto=openssl
|
2001-02-07 12:43:21 -05:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ntp
|
|
|
|
@cd ${WRKSRC}/html && pax -rw * ${PREFIX}/share/doc/ntp
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ntp
|
|
|
|
@cd ${WRKSRC}/conf && pax -rw * ${PREFIX}/share/examples/ntp
|
2001-10-04 16:44:45 -04:00
|
|
|
@mv ${PREFIX}/sbin/genkeys ${PREFIX}/sbin/ntp-genkeys
|
2001-02-07 12:43:21 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|