summaryrefslogtreecommitdiff
path: root/time/xchrono
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 19:46:23 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 19:46:23 +0000
commit468bf1531b3cfd60ecdcce33c1754373a0b26bae (patch)
treeaf3aa682f13ad4edbf6e80898cb23b80af8ab0b2 /time/xchrono
parentfe79078a2efffa60049448ed9dde3ceafb580812 (diff)
downloadpkgsrc-468bf1531b3cfd60ecdcce33c1754373a0b26bae.tar.gz
user-destdir support
Diffstat (limited to 'time/xchrono')
-rw-r--r--time/xchrono/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/time/xchrono/Makefile b/time/xchrono/Makefile
index 62d50c32903..49952a84528 100644
--- a/time/xchrono/Makefile
+++ b/time/xchrono/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2008/11/12 13:18:50 obache Exp $
+# $NetBSD: Makefile,v 1.10 2009/07/07 19:52:35 joerg Exp $
#
DISTNAME= xchrono
@@ -11,11 +11,14 @@ EXTRACT_SUFX= .shar
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Multi-timezone X11-based clock
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= yes
+INSTALLATION_DIRS= share/doc/xchrono
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchrono
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchrono/
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xchrono/
.include "../../x11/libXaw/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"