summaryrefslogtreecommitdiff
path: root/sysutils/tpb
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-02-19 17:49:57 +0000
committerjmmv <jmmv>2004-02-19 17:49:57 +0000
commite62fcdb370091ca7888477505e173088ab146ff7 (patch)
tree5e23e3a198b6e8a438856f1cfea76b4e502a510d /sysutils/tpb
parent05723e596c63e0c41bdea70f8f10e1208a975594 (diff)
downloadpkgsrc-e62fcdb370091ca7888477505e173088ab146ff7.tar.gz
Honour PKG_SYSCONFDIR. Bump PKGREVISION to 1.
Diffstat (limited to 'sysutils/tpb')
-rw-r--r--sysutils/tpb/Makefile11
-rw-r--r--sysutils/tpb/PLIST6
-rw-r--r--sysutils/tpb/distinfo3
-rw-r--r--sysutils/tpb/patches/patch-ac13
4 files changed, 27 insertions, 6 deletions
diff --git a/sysutils/tpb/Makefile b/sysutils/tpb/Makefile
index 5e48727b516..9e970eda2cb 100644
--- a/sysutils/tpb/Makefile
+++ b/sysutils/tpb/Makefile
@@ -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 @@ ONLY_FOR_PLATFORM= *-*-i386
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 --git a/sysutils/tpb/PLIST b/sysutils/tpb/PLIST
index 207e6c1d3c4..fd8347cee0a 100644
--- a/sysutils/tpb/PLIST
+++ b/sysutils/tpb/PLIST
@@ -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 --git a/sysutils/tpb/distinfo b/sysutils/tpb/distinfo
index 326572aa447..474bf8dd542 100644
--- a/sysutils/tpb/distinfo
+++ b/sysutils/tpb/distinfo
@@ -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 --git a/sysutils/tpb/patches/patch-ac b/sysutils/tpb/patches/patch-ac
new file mode 100644
index 00000000000..afb1c5458b2
--- /dev/null
+++ b/sysutils/tpb/patches/patch-ac
@@ -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@