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
commit55daea10d15a6331bb8211a1f977a5b3258eb100 (patch)
treeac335c0ebabcd57ee27d323f97e1f7bfa7d54d6a /time/emiclock/Makefile
parenta69a223efd85bbb9bfc0fb041ff92d6d0dce17fa (diff)
downloadpkgsrc-55daea10d15a6331bb8211a1f977a5b3258eb100.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"