summaryrefslogtreecommitdiff
path: root/sysutils/tpb/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2004-02-19 17:49:57 +0000
committerjmmv <jmmv>2004-02-19 17:49:57 +0000
commit673891521425bc5472457b1e24c8609d3a91504c (patch)
tree5e23e3a198b6e8a438856f1cfea76b4e502a510d /sysutils/tpb/Makefile
parent008d0fe2a1a05a37ddeb445a3b81831e8a90e107 (diff)
downloadpkgsrc-673891521425bc5472457b1e24c8609d3a91504c.tar.gz
Honour PKG_SYSCONFDIR. Bump PKGREVISION to 1.
Diffstat (limited to 'sysutils/tpb/Makefile')
-rw-r--r--sysutils/tpb/Makefile11
1 files changed, 9 insertions, 2 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