diff options
Diffstat (limited to 'net/chrony/Makefile')
-rw-r--r-- | net/chrony/Makefile | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/net/chrony/Makefile b/net/chrony/Makefile index 7caceb6013c..e0cd6865bcd 100644 --- a/net/chrony/Makefile +++ b/net/chrony/Makefile @@ -1,38 +1,40 @@ -# $NetBSD: Makefile,v 1.25 2009/05/20 00:58:25 wiz Exp $ +# $NetBSD: Makefile,v 1.25.6.1 2010/03/07 00:10:17 tron Exp $ -DISTNAME= chrony-1.23 -PKGREVISION= 1 +DISTNAME= chrony-1.24 CATEGORIES= net -MASTER_SITES= ftp://chrony.sunsite.dk/projects/chrony/ +MASTER_SITES= http://download.tuxfamily.org/chrony/ MAINTAINER= hannken@NetBSD.org -HOMEPAGE= http://chrony.sunsite.dk/index.php +HOMEPAGE= http://chrony.tuxfamily.org/ COMMENT= Daemon for maintaining the accuracy of computer clocks +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= gmake HAS_CONFIGURE= YES +BUILD_DEFS+= VARBASE CONFIGURE_ARGS+= --prefix=${PREFIX:Q} +CONFIGURE_ARGS+= --mandir=${PREFIX:Q}/${PKGMANDIR:Q} +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} AUTO_MKDIRS= yes EGDIR= ${PREFIX}/share/examples/chrony EGFILES= chrony.conf.example chrony.keys.example RCD_SCRIPTS= chronyd -MAKE_ENV+= INSTALL_PROGRAM=${INSTALL_PROGRAM:Q} -MAKE_ENV+= INSTALL_DATA=${INSTALL_DATA:Q} -MAKE_ENV+= INSTALL_MAN=${INSTALL_MAN:Q} - SUBST_CLASSES+= paths -SUBST_FILES.paths= ${EGFILES:S/^/examples\//} chrony.conf.5 chronyd.8 +SUBST_FILES.paths= ${EGFILES:S/^/examples\//} conf.c chrony.conf.5 \ + chronyd.8 SUBST_SED.paths+= -e 's,@PREFIX@,${PREFIX},g' SUBST_SED.paths+= -e 's,@PKG_SYSCONFDIR@,${PKG_SYSCONFDIR},g' +SUBST_SED.paths+= -e 's,@VARBASE@,${VARBASE},g' SUBST_STAGE.paths= post-patch post-install: - ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR} for file in ${EGFILES}; do \ ${INSTALL_DATA} ${WRKSRC}/examples/$${file} \ - ${EGDIR}/$${file}; \ + ${DESTDIR}${EGDIR}/$${file}; \ done .include "../../devel/readline/buildlink3.mk" |