2003-01-28 23:03:00 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2003/01/28 22:03:49 jlam Exp $
|
2002-03-23 00:01:52 +01:00
|
|
|
|
|
|
|
DISTNAME= chrony-1.17
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= ftp://chrony.sunsite.dk/projects/chrony/
|
|
|
|
|
|
|
|
MAINTAINER= hannken@netbsd.org
|
2002-10-23 04:15:11 +02:00
|
|
|
HOMEPAGE= http://chrony.sunsite.dk/index.php
|
2002-03-23 00:01:52 +01:00
|
|
|
COMMENT= Daemon for maintaining the accuracy of computer clocks
|
|
|
|
|
2002-10-25 19:51:44 +02:00
|
|
|
USE_BUILDLINK2= YES
|
2003-01-28 23:03:00 +01:00
|
|
|
USE_PKGINSTALL= YES
|
2002-03-23 00:01:52 +01:00
|
|
|
HAS_CONFIGURE= YES
|
2002-09-19 11:04:02 +02:00
|
|
|
CONFIGURE_ARGS+= --prefix=${PREFIX}
|
2002-03-23 00:01:52 +01:00
|
|
|
|
|
|
|
EGDIR= ${LOCALBASE}/share/examples/chrony
|
|
|
|
EGFILES= chrony.conf.example chrony.keys.example
|
|
|
|
RCD_SCRIPTS= chronyd
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
for file in ${EGFILES}; do \
|
|
|
|
${SED} ${FILES_SUBST_SED} \
|
|
|
|
${WRKSRC}/examples/$${file} > \
|
|
|
|
${WRKDIR}/$${file}; \
|
|
|
|
done
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
for file in ${EGFILES}; do \
|
|
|
|
${INSTALL_DATA} ${WRKDIR}/$${file} \
|
|
|
|
${EGDIR}/$${file}; \
|
|
|
|
done
|
|
|
|
|
2002-10-25 19:51:44 +02:00
|
|
|
.include "../../devel/readline/buildlink2.mk"
|
|
|
|
.include "../../devel/ncurses/buildlink2.mk"
|
2002-03-23 00:01:52 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|