openbsd-ports/net/ntp/Makefile

39 lines
967 B
Makefile
Raw Normal View History

2001-02-13 15:50:30 -05:00
# $OpenBSD: Makefile,v 1.6 2001/02/13 20:50:30 brad Exp $
VERSION= 4.0.99k
DISTNAME= ntp-${VERSION}
CATEGORIES= net
NEED_VERSION= 1.352
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/ \
ftp://ftp.cs.umn.edu/mirrors00/ftp.udel.edu/pub/ntp/ntp4/
2001-02-13 15:50:30 -05:00
HOMEPAGE= http://www.ntp.org/
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?=
.if ${SUBPACKAGE} == "-doc"
PKGNAME= ntp-doc-${VERSION}
2001-02-07 13:13:43 -05:00
.endif
2001-02-07 13:21:05 -05:00
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --bindir='${PREFIX}/sbin' \
--enable-accurate-adjtime --disable-IRIG
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
.include <bsd.port.mk>