summaryrefslogtreecommitdiff
path: root/time/emiclock/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 20:25:27 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 20:25:27 +0000
commit99b23421ba6766aec8d6395e46736b7b19c2d009 (patch)
treeac335c0ebabcd57ee27d323f97e1f7bfa7d54d6a /time/emiclock/Makefile
parentaeb2d168e47ed0ee66a89960498014672ab4a148 (diff)
downloadpkgsrc-99b23421ba6766aec8d6395e46736b7b19c2d009.tar.gz
user-destdir support
Diffstat (limited to 'time/emiclock/Makefile')
-rw-r--r--time/emiclock/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/time/emiclock/Makefile b/time/emiclock/Makefile
index 12ddd57efa2..ac6392f1d4f 100644
--- a/time/emiclock/Makefile
+++ b/time/emiclock/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2009/05/30 00:24:00 zafer Exp $
+# $NetBSD: Makefile,v 1.22 2009/07/07 20:25:27 joerg Exp $
#
DISTNAME= emiclock-2.0.2
@@ -10,6 +10,8 @@ MAINTAINER= minoura@NetBSD.org
COMMENT= Analog clock with image in the middle
LICENSE= emiclock-license
+PKG_DESTDIR_SUPPORT= user-destdir
+
RESTRICTED= Do not distribute
NO_SRC_ON_FTP=${RESTRICTED}
NO_BIN_ON_FTP=${RESTRICTED}
@@ -28,10 +30,11 @@ post-patch:
${ECHO} "#undef USE_XAW3D" > ${WRKSRC}/xawconfig.h
.endif
+INSTALLATION_DIRS= lib/X11/ja_JP.eucJP/app-defaults
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults
${INSTALL_DATA} ${WRKSRC}/resources/R6/EUC/EmiClock.ad \
- ${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/EmiClock
+ ${DESTDIR}${PREFIX}/lib/X11/ja_JP.eucJP/app-defaults/EmiClock
.include "../../mk/xaw.buildlink3.mk"
.include "../../x11/libXp/buildlink3.mk"