b7ccca6da5
this back until UDel change their license.
42 lines
1.2 KiB
Makefile
42 lines
1.2 KiB
Makefile
# $OpenBSD: Makefile.inc,v 1.4 2003/05/15 03:49:33 jakob Exp $
|
|
|
|
COMMENT= "network time protocol implementation"
|
|
COMMENT-doc= "network time protocol documentation"
|
|
|
|
DISTNAME= ntp-${NTP_VERSION}
|
|
PKGNAME= ntp-${NTP_VERSION:C/-rc.*//}
|
|
PKGNAME-doc= ntp-doc-${NTP_VERSION:C/-rc.*//}
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ \
|
|
ftp://ftp.udel.edu/pub/ntp/ntp4/ \
|
|
ftp://ftp.cs.umn.edu/ftp00/ftp.udel.edu/pub/ntp/ntp4/
|
|
|
|
HOMEPAGE= http://www.ntp.org/
|
|
|
|
MAINTAINER= Dan Harnett <danh@openbsd.org>
|
|
|
|
PERMIT_PACKAGE_CDROM= No
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= No
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MULTI_PACKAGES= -doc
|
|
SUBPACKAGE?=
|
|
|
|
SEPARATE_BUILD= concurrent
|
|
AUTOCONF_VERSION= 2.52
|
|
CONFIGURE_STYLE= autoconf
|
|
CONFIGURE_ARGS+= --bindir='${PREFIX}/sbin' \
|
|
--enable-accurate-adjtime --disable-IRIG
|
|
|
|
post-patch:
|
|
@touch ${WRKSRC}/aclocal.m4 ${WRKSRC}/config.h.in ${WRKSRC}/version
|
|
@find ${WRKSRC} -type f -name "Makefile.in" -exec touch {} \;
|
|
|
|
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
|
|
|