openbsd-ports/net/ntp/Makefile

43 lines
1.2 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.55 2012/04/22 11:41:55 ajacoutot Exp $
2001-03-16 11:35:19 -05:00
COMMENT= Network Time Protocol reference implementation
# 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.6p5
DISTNAME= ntp-${VERSION}
PKGNAME= ntp-${VERSION:S/p/pl/}
REVISION= 0
2004-06-05 00:54:53 -04:00
CATEGORIES= net
MASTER_SITES= http://archive.ntp.org/ntp4/ntp-4.2/
2004-06-05 00:54:53 -04:00
HOMEPAGE= http://www.ntp.org/
# modified ISC
PERMIT_PACKAGE_CDROM= Yes
2004-06-05 00:54:53 -04:00
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
2004-06-05 00:54:53 -04:00
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c crypto edit kvm m termcap
# enabling SEPARATE_BUILD causes the parser to be rebuilt .y -> .c,
# which requires bison
2004-06-05 00:54:53 -04:00
USE_LIBTOOL= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --enable-parse-clocks \
--with-binsubdir=sbin
CONFIGURE_ENV= CPPFLAGS='-DCONFIG_FILE="\"${SYSCONFDIR}/ntp.conf\"" \
-DKEYFILE="\"${SYSCONFDIR}/ntp.keys\""'
2004-06-05 00:54:53 -04: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
.include <bsd.port.mk>