summaryrefslogtreecommitdiff
path: root/time/xchrono
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 19:46:23 +0000
committerjoerg <joerg>2009-07-07 19:46:23 +0000
commitbae68567ec2433bde1b394f391f221daa7bdf7ab (patch)
treeaf3aa682f13ad4edbf6e80898cb23b80af8ab0b2 /time/xchrono
parent3288a9639a5eeea632e3d1c2200dc25b813eb955 (diff)
downloadpkgsrc-bae68567ec2433bde1b394f391f221daa7bdf7ab.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"