summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorheinz <heinz>2008-04-06 13:17:22 +0000
committerheinz <heinz>2008-04-06 13:17:22 +0000
commita1938775d6eab45b9428291afc8a15fa5321c77f (patch)
tree647955fabf60a21f262e3b4b8031851e4b5b8603 /time
parent7dd46ed7d29968c2cc1dfe150f26dd44e376a659 (diff)
downloadpkgsrc-a1938775d6eab45b9428291afc8a15fa5321c77f.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"