summaryrefslogtreecommitdiff
path: root/time/zonetab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'time/zonetab/Makefile')
-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"