pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/tpb Honour PKG_SYSCONFDIR. Bump PKGREVISION ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d2bbe005130e
branches:  trunk
changeset: 469083:d2bbe005130e
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Thu Feb 19 17:49:57 2004 +0000

description:
Honour PKG_SYSCONFDIR.  Bump PKGREVISION to 1.

diffstat:

 sysutils/tpb/Makefile         |  11 +++++++++--
 sysutils/tpb/PLIST            |   6 +++---
 sysutils/tpb/distinfo         |   3 ++-
 sysutils/tpb/patches/patch-ac |  13 +++++++++++++
 4 files changed, 27 insertions(+), 6 deletions(-)

diffs (79 lines):

diff -r 377cdf27e75e -r d2bbe005130e sysutils/tpb/Makefile
--- a/sysutils/tpb/Makefile     Thu Feb 19 17:48:17 2004 +0000
+++ b/sysutils/tpb/Makefile     Thu Feb 19 17:49:57 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2004/02/19 17:22:17 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2004/02/19 17:49:57 jmmv Exp $
 #
 
 DISTNAME=      tpb-0.6.1
+PKGREVISION=   1
 CATEGORIES=    sysutils
 MASTER_SITES=  http://savannah.nongnu.org/download/tpb/
 
@@ -13,11 +14,17 @@
 
 USE_X11=       YES
 USE_BUILDLINK3=        YES
+USE_PKGINSTALL=        YES
 GNU_CONFIGURE= YES
 
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR=         ${PREFIX}/share/examples/tpb
+CONF_FILES=    ${EGDIR}/tpbrc ${PKG_SYSCONFDIR}/tpbrc
+
 post-install:
        ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tpb
-.for f in callback_example.sh nvram.txt tpbrc
+.for f in callback_example.sh nvram.txt
        ${INSTALL_DATA} ${WRKSRC}/doc/${f}      ${PREFIX}/share/doc/tpb
 .endfor
 
diff -r 377cdf27e75e -r d2bbe005130e sysutils/tpb/PLIST
--- a/sysutils/tpb/PLIST        Thu Feb 19 17:48:17 2004 +0000
+++ b/sysutils/tpb/PLIST        Thu Feb 19 17:49:57 2004 +0000
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.2 2004/02/19 17:22:17 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/02/19 17:49:57 jmmv Exp $
 bin/tpb
-etc/tpbrc
 man/man1/tpb.1
 share/doc/tpb/callback_example.sh
 share/doc/tpb/nvram.txt
-share/doc/tpb/tpbrc
+share/examples/tpb/tpbrc
 ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/tpb.mo
 ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/tpb.mo
 ${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/tpb.mo
+@dirrm share/examples/tpb
 @dirrm share/doc/tpb
diff -r 377cdf27e75e -r d2bbe005130e sysutils/tpb/distinfo
--- a/sysutils/tpb/distinfo     Thu Feb 19 17:48:17 2004 +0000
+++ b/sysutils/tpb/distinfo     Thu Feb 19 17:49:57 2004 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2004/02/02 15:49:17 soren Exp $
+$NetBSD: distinfo,v 1.2 2004/02/19 17:49:57 jmmv Exp $
 
 SHA1 (tpb-0.6.1.tar.gz) = 096e00055a6cb56e98af850415b30dfce028442c
 Size (tpb-0.6.1.tar.gz) = 193520 bytes
 SHA1 (patch-aa) = 9bef74177f7754bea5f38df6de113eef8fec905d
 SHA1 (patch-ab) = a1e1d328f1fff84c3c10bcbfa093399c6d9917d6
+SHA1 (patch-ac) = f7089dea19846fccf90065eda210029080f1abb2
diff -r 377cdf27e75e -r d2bbe005130e sysutils/tpb/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tpb/patches/patch-ac     Thu Feb 19 17:49:57 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2004/02/19 17:49:57 jmmv Exp $
+
+--- doc/Makefile.in.orig       2004-02-19 18:43:01.000000000 +0100
++++ doc/Makefile.in
+@@ -23,7 +23,7 @@ bindir = @bindir@
+ sbindir = @sbindir@
+ libexecdir = @libexecdir@
+ datadir = @datadir@
+-sysconfdir = @sysconfdir@
++sysconfdir = @datadir@/examples/@PACKAGE@
+ sharedstatedir = @sharedstatedir@
+ localstatedir = @localstatedir@
+ libdir = @libdir@



Home | Main Index | Thread Index | Old Index