pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/misc/ppower Use the CONF_FILES mechanism to automatica...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8a9a80009a4a
branches: trunk
changeset: 520669:8a9a80009a4a
user: dsainty <dsainty%pkgsrc.org@localhost>
date: Wed Oct 25 12:44:26 2006 +0000
description:
Use the CONF_FILES mechanism to automatically install the example configuration.
diffstat:
misc/ppower/MESSAGE | 6 +++---
misc/ppower/Makefile | 5 ++++-
2 files changed, 7 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r f47c76978218 -r 8a9a80009a4a misc/ppower/MESSAGE
--- a/misc/ppower/MESSAGE Wed Oct 25 09:39:54 2006 +0000
+++ b/misc/ppower/MESSAGE Wed Oct 25 12:44:26 2006 +0000
@@ -1,8 +1,8 @@
===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2005/02/26 13:09:11 dsainty Exp $
+$NetBSD: MESSAGE,v 1.2 2006/10/25 12:44:26 dsainty Exp $
-You will need to create a ${PKG_SYSCONFDIR}/ppower.conf file that matches
-your environment.
+You will need to update ${PKG_SYSCONFDIR}/ppower.conf to match
+your X10 environment.
See the file ${PREFIX}/share/examples/ppower/ppower.conf for an example
configuration.
diff -r f47c76978218 -r 8a9a80009a4a misc/ppower/Makefile
--- a/misc/ppower/Makefile Wed Oct 25 09:39:54 2006 +0000
+++ b/misc/ppower/Makefile Wed Oct 25 12:44:26 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2006/06/09 16:05:11 minskim Exp $
+# $NetBSD: Makefile,v 1.6 2006/10/25 12:44:26 dsainty Exp $
#
DISTNAME= ppower-0.1.5
@@ -16,6 +16,9 @@
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+EGDIR= ${PREFIX}/share/examples/ppower
+CONF_FILES+= ${EGDIR}/ppower.conf ${PKG_SYSCONFDIR}/ppower.conf
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ppower
${INSTALL_DATA} \
Home |
Main Index |
Thread Index |
Old Index