openbsd-ports/net/ntp/Makefile

49 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.42 2010/01/20 20:43:59 naddy Exp $
2001-03-16 11:35:19 -05:00
COMMENT= Network Time Protocol reference implementation
# ISC's NTP has a 'pN' in its version number, which we don't want
# to confuse with the ports system's 'pN' convention, so we
# convert it to 'pl' for local use.
VERSION= 4.2.4p7
DISTNAME= ntp-${VERSION}
PKGNAME= ntp-${VERSION:S/p/pl/}p0
2004-06-05 00:54:53 -04:00
CATEGORIES= net
MASTER_SITES= ftp://archive.ntp.org/ntp4/ntp-4.2/ \
http://archive.ntp.org/ntp4/ntp-4.2/
2004-06-05 00:54:53 -04:00
HOMEPAGE= http://www.ntp.org/
# modified ISC license. However, some files include different
# copyrights.
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto curses kvm m readline
2004-06-05 00:54:53 -04:00
SEPARATE_BUILD= simple
USE_LIBTOOL= Yes
AUTOCONF_VERSION= 2.59
2004-06-05 00:54:53 -04:00
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= --bindir='${PREFIX}/sbin' \
--with-binsubdir=sbin \
2004-06-05 00:54:53 -04:00
--enable-accurate-adjtime --disable-IRIG \
--enable-parse-clocks \
2004-06-05 00:54:53 -04:00
--with-openssl-libdir=/usr/lib \
--with-openssl-incdir=/usr/include \
--with-crypto=openssl
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
@${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD ${WRKBUILD}/README.OpenBSD
${INSTALL_DATA} ${WRKBUILD}/README.OpenBSD \
${PREFIX}/share/examples/ntp/
2004-06-05 00:54:53 -04:00
.include <bsd.port.mk>