summaryrefslogtreecommitdiff
path: root/misc/dt/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-11-11 22:41:35 +0000
committerjoerg <joerg@pkgsrc.org>2011-11-11 22:41:35 +0000
commit2e6ba3f1f249503322487a6b697796d724719732 (patch)
tree2182478e4906028ccaf95163160032762bd6f6c0 /misc/dt/Makefile
parent08a53f1d24dba6d20de4665d292296fa1ed4e426 (diff)
downloadpkgsrc-2e6ba3f1f249503322487a6b697796d724719732.tar.gz
DESTDIR support. Drop NO_SRC_ON_FTP.
Diffstat (limited to 'misc/dt/Makefile')
-rw-r--r--misc/dt/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/misc/dt/Makefile b/misc/dt/Makefile
index c7a079d735c..c110d00c4a4 100644
--- a/misc/dt/Makefile
+++ b/misc/dt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/12/12 20:42:30 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2011/11/11 22:41:35 joerg Exp $
#
DISTNAME= dt-1.1.7
@@ -9,7 +9,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Virtual consoles for NetBSD/mac68k (and macppc?)
-NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL
+PKG_DESTDIR_SUPPORT= destdir
+
ONLY_FOR_PLATFORM= NetBSD-*-m68k
WRKSRC= ${WRKDIR}/dt
@@ -18,9 +19,10 @@ CPPFLAGS+= -D${DT_LAYOUT}_LAYOUT
DTDOCSDIR= ${PREFIX}/share/doc/dt
+INSTALLATION_DIRS= bin ${DTDOCSDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DTDOCSDIR}
- cd ${WRKSRC}; ${INSTALL_DATA} README dt.html example.dtrc ${DTDOCSDIR}
+ cd ${WRKSRC}; ${INSTALL_DATA} README dt.html example.dtrc ${DESTDIR}${DTDOCSDIR}
.include "../../mk/bsd.prefs.mk"