pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/bkpupsd Add proper support for RCD_SCRIPTS_EX...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/acfafebd30d5
branches:  trunk
changeset: 486870:acfafebd30d5
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Jan 04 14:13:59 2005 +0000

description:
Add proper support for RCD_SCRIPTS_EXAMPLEDIR change.

diffstat:

 sysutils/bkpupsd/Makefile         |   5 +++--
 sysutils/bkpupsd/distinfo         |   3 ++-
 sysutils/bkpupsd/patches/patch-ae |  13 +++++++++++++
 3 files changed, 18 insertions(+), 3 deletions(-)

diffs (50 lines):

diff -r d247030dccb3 -r acfafebd30d5 sysutils/bkpupsd/Makefile
--- a/sysutils/bkpupsd/Makefile Tue Jan 04 14:09:57 2005 +0000
+++ b/sysutils/bkpupsd/Makefile Tue Jan 04 14:13:59 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/01/04 13:37:30 taca Exp $
+# $NetBSD: Makefile,v 1.16 2005/01/04 14:13:59 taca Exp $
 #
 
 DISTNAME=      bkpupsd-2.1.2
@@ -21,7 +21,8 @@
 .include "../../mk/bsd.prefs.mk"
 
 DOCDIR=                ${PREFIX}/share/doc/bkpupsd
-MAKE_ENV+=     DEFAULT_DEVICE=${DEFAULT_SERIAL_DEVICE} DOCDIR=${DOCDIR}
+MAKE_ENV+=     DEFAULT_DEVICE=${DEFAULT_SERIAL_DEVICE} DOCDIR=${DOCDIR} \
+               RCD_SCRIPTS_EXAMPLEDIR=${RCD_SCRIPTS_EXAMPLEDIR}
 
 MESSAGE_SUBST+=        DOCDIR=${DOCDIR}
 
diff -r d247030dccb3 -r acfafebd30d5 sysutils/bkpupsd/distinfo
--- a/sysutils/bkpupsd/distinfo Tue Jan 04 14:09:57 2005 +0000
+++ b/sysutils/bkpupsd/distinfo Tue Jan 04 14:13:59 2005 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2005/01/04 13:37:30 taca Exp $
+$NetBSD: distinfo,v 1.11 2005/01/04 14:13:59 taca Exp $
 
 SHA1 (bkpupsd-2.1.2.tar.bz2) = 742e6d7bc99c777077b9e0cc8cf6016fc63d18a6
 Size (bkpupsd-2.1.2.tar.bz2) = 35054 bytes
@@ -6,3 +6,4 @@
 SHA1 (patch-ab) = 60d5d9e1e26df8cb12c6ab26709e488c113e741f
 SHA1 (patch-ac) = 07b68a843f6369addaebb2ad1bb24684a734ab84
 SHA1 (patch-ad) = d1b146b6b2aa804bdb4d5e660f0fe797311a3a09
+SHA1 (patch-ae) = 409c352c643dd90dc68a2c853e5338e1b879301d
diff -r d247030dccb3 -r acfafebd30d5 sysutils/bkpupsd/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/bkpupsd/patches/patch-ae Tue Jan 04 14:13:59 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2005/01/04 14:13:59 taca Exp $
+
+--- scripts/Makefile.orig      2002-12-22 02:32:59.000000000 +0900
++++ scripts/Makefile
+@@ -29,7 +29,7 @@
+ #
+ SCRIPTS=      battery.shutdown line.lost line.recover line.shutdown
+ FILESDIR?=    ${PREFIX}/libexec/bkpupsd
+-RCDIR?=               ${PREFIX}/etc/rc.d
++RCDIR?=               ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
+ DOCDIR?=      ${PREFIX}/share/doc/bkpupsd
+ CLEANFILES+=  ${RCFILE} ${RCDFILE}
+ OPSYS!=uname -s



Home | Main Index | Thread Index | Old Index