pkgsrc/net/chrony/Makefile
jlam d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00

36 lines
929 B
Makefile

# $NetBSD: Makefile,v 1.6 2003/01/28 22:03:49 jlam Exp $
DISTNAME= chrony-1.17
CATEGORIES= net
MASTER_SITES= ftp://chrony.sunsite.dk/projects/chrony/
MAINTAINER= hannken@netbsd.org
HOMEPAGE= http://chrony.sunsite.dk/index.php
COMMENT= Daemon for maintaining the accuracy of computer clocks
USE_BUILDLINK2= YES
USE_PKGINSTALL= YES
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --prefix=${PREFIX}
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
.include "../../devel/readline/buildlink2.mk"
.include "../../devel/ncurses/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"