summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2008-04-06 13:17:22 +0000
committerheinz <heinz@pkgsrc.org>2008-04-06 13:17:22 +0000
commitd9cc8de1238f4ae2278a02f5aa326db2dd6b1d7b (patch)
tree647955fabf60a21f262e3b4b8031851e4b5b8603 /time
parent3111a0353e88dc5c2e35cfe38bf9aadfab0c390d (diff)
downloadpkgsrc-d9cc8de1238f4ae2278a02f5aa326db2dd6b1d7b.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'time')
-rw-r--r--time/zonetab/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/time/zonetab/Makefile b/time/zonetab/Makefile
index ba2f0ae527b..c2f5517ab43 100644
--- a/time/zonetab/Makefile
+++ b/time/zonetab/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/11/03 21:46:38 drochner Exp $
+# $NetBSD: Makefile,v 1.2 2008/04/06 13:17:22 heinz Exp $
DISTNAME= zonetab-0
CATEGORIES= time
@@ -7,6 +7,8 @@ DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= zone.tab file
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CHECKSUM= yes
NO_BUILD= yes
@@ -14,8 +16,9 @@ NO_BUILD= yes
ONLY_FOR_PLATFORM= NetBSD-*-*
ZTDIR= ${PREFIX}/share/examples/zoneinfo
+
do-install:
- ${INSTALL_DATA_DIR} ${ZTDIR}
- ${INSTALL_DATA} ${FILESDIR}/zone.tab ${ZTDIR}
+ ${INSTALL_DATA_DIR} ${DESTDIR}${ZTDIR}
+ ${INSTALL_DATA} ${FILESDIR}/zone.tab ${DESTDIR}${ZTDIR}
.include "../../mk/bsd.pkg.mk"