summaryrefslogtreecommitdiff
path: root/sysutils/tpb
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 20:24:57 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 20:24:57 +0000
commitb87f3e206634ef180c5bb5bdb4e6563a3890eacd (patch)
tree0571cd0214eb3e1c9f5976e31047feee86233707 /sysutils/tpb
parent65e8efe6200456a31cc9b72b783e009f31730ad0 (diff)
downloadpkgsrc-b87f3e206634ef180c5bb5bdb4e6563a3890eacd.tar.gz
Untested destdir support
Diffstat (limited to 'sysutils/tpb')
-rw-r--r--sysutils/tpb/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/sysutils/tpb/Makefile b/sysutils/tpb/Makefile
index a640e753d06..26a8cdf54de 100644
--- a/sysutils/tpb/Makefile
+++ b/sysutils/tpb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2007/02/15 14:47:21 joerg Exp $
+# $NetBSD: Makefile,v 1.16 2010/01/27 20:24:57 joerg Exp $
#
DISTNAME= tpb-0.6.1
@@ -10,6 +10,8 @@ MAINTAINER= soren@NetBSD.org
HOMEPAGE= http://www.nongnu.org/tpb/
COMMENT= Utility to enable the IBM ThinkPad(tm) special keys
+PKG_DESTDIR_SUPPORT= user-destdir
+
ONLY_FOR_PLATFORM= *-*-i386
USE_PKGLOCALEDIR= yes
@@ -21,10 +23,11 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
EGDIR= ${PREFIX}/share/examples/tpb
CONF_FILES= ${EGDIR}/tpbrc ${PKG_SYSCONFDIR}/tpbrc
+INSTALLATION_DIRS+= share/doc/tpb
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tpb
.for f in callback_example.sh nvram.txt
- ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${PREFIX}/share/doc/tpb
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DESTDIR}${PREFIX}/share/doc/tpb
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"