summaryrefslogtreecommitdiff
path: root/net/chrony
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-19 09:04:02 +0000
committerjlam <jlam@pkgsrc.org>2002-09-19 09:04:02 +0000
commit5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6 (patch)
tree185ab29c04b06eec36c6497410047b36b8b6958d /net/chrony
parent26ffd9ecf001eea6ac61f806c06dfb733a4c6634 (diff)
downloadpkgsrc-5c053dd06ad27d113b1bf46e8eecd3cf6f7ed7c6.tar.gz
Take advantage of the auto-generation and installation of rc.d scripts.
Diffstat (limited to 'net/chrony')
-rw-r--r--net/chrony/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/net/chrony/Makefile b/net/chrony/Makefile
index 78b26ab1969..ff52565ffa0 100644
--- a/net/chrony/Makefile
+++ b/net/chrony/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2002/09/19 08:41:50 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2002/09/19 09:04:14 jlam Exp $
DISTNAME= chrony-1.17
CATEGORIES= net
@@ -9,15 +9,13 @@ HOMEPAGE= http://go.to/chrony
COMMENT= Daemon for maintaining the accuracy of computer clocks
HAS_CONFIGURE= YES
-CONFIGURE_ARGS+= --prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --prefix=${PREFIX}
EGDIR= ${LOCALBASE}/share/examples/chrony
EGFILES= chrony.conf.example chrony.keys.example
RCD_SCRIPTS= chronyd
pre-install:
- ${SED} ${FILES_SUBST_SED} \
- ${FILESDIR}/chronyd.sh > ${WRKDIR}/chronyd
for file in ${EGFILES}; do \
${SED} ${FILES_SUBST_SED} \
${WRKSRC}/examples/$${file} > \
@@ -25,10 +23,6 @@ pre-install:
done
post-install:
- for script in ${RCD_SCRIPTS}; do \
- ${INSTALL_SCRIPT} ${WRKDIR}/$${script} \
- ${LOCALBASE}/etc/rc.d/$${script}; \
- done
${INSTALL_DATA_DIR} ${EGDIR}
for file in ${EGFILES}; do \
${INSTALL_DATA} ${WRKDIR}/$${file} \