9637f7852e
pkglint -r --network --only "migrate" As a side-effect of migrating the homepages, pkglint also fixed a few indentations in unrelated lines. These and the new homepages have been checked manually.
44 lines
1.3 KiB
Makefile
44 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.40 2020/01/26 17:31:48 rillig Exp $
|
|
|
|
DISTNAME= chrony-3.5
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://download.tuxfamily.org/chrony/
|
|
|
|
MAINTAINER= hannken@NetBSD.org
|
|
HOMEPAGE= https://chrony.tuxfamily.org/
|
|
COMMENT= Daemon for maintaining the accuracy of computer clocks
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= gmake
|
|
HAS_CONFIGURE= YES
|
|
BUILD_DEFS+= VARBASE
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
CONFIGURE_ARGS+= --with-pidfile=${VARBASE}/run/chronyd.pid
|
|
AUTO_MKDIRS= yes
|
|
|
|
OWN_DIRS= ${VARBASE}/lib/chrony
|
|
|
|
EGDIR= ${PREFIX}/share/examples/chrony
|
|
EGFILES= chrony.conf.example3 chrony.keys.example
|
|
RCD_SCRIPTS= chronyd
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_FILES.paths= ${EGFILES:S/^/examples\//} conf.c
|
|
SUBST_VARS.paths+= PKG_SYSCONFDIR
|
|
SUBST_VARS.paths+= VARBASE
|
|
SUBST_STAGE.paths= pre-configure
|
|
|
|
post-install:
|
|
${INSTALL_DATA} "${WRKSRC}/examples/chrony.conf.example3" \
|
|
"${DESTDIR}${EGDIR}/chrony.conf.example";
|
|
${INSTALL_DATA} "${WRKSRC}/examples/chrony.keys.example" \
|
|
"${DESTDIR}${EGDIR}/chrony.keys.example";
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|