summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-11 22:41:35 +0000
committerjoerg <joerg>2011-11-11 22:41:35 +0000
commit951d49c81945f20af4985ffc8dbed3a3c1315081 (patch)
tree2182478e4906028ccaf95163160032762bd6f6c0 /misc
parentc5e5b5d352a98d6cdb03338a7f7d25df16ec9a9c (diff)
downloadpkgsrc-951d49c81945f20af4985ffc8dbed3a3c1315081.tar.gz
DESTDIR support. Drop NO_SRC_ON_FTP.
Diffstat (limited to 'misc')
-rw-r--r--misc/dt/Makefile10
-rw-r--r--misc/dt/distinfo4
-rw-r--r--misc/dt/patches/patch-aa4
3 files changed, 10 insertions, 8 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"
diff --git a/misc/dt/distinfo b/misc/dt/distinfo
index 4c8d6475c41..77774e3c507 100644
--- a/misc/dt/distinfo
+++ b/misc/dt/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2005/05/25 12:45:56 wiz Exp $
+$NetBSD: distinfo,v 1.9 2011/11/11 22:41:35 joerg Exp $
SHA1 (dt-1.1.7.tar.gz) = 024c3137185dd93ced163e82227f53cfb79b993e
RMD160 (dt-1.1.7.tar.gz) = a7563972f23cae2cfa0791cc4695b5dbcb320eb9
Size (dt-1.1.7.tar.gz) = 119975 bytes
-SHA1 (patch-aa) = 9877c123f2f7f13ece91b40a70fb490524e53f18
+SHA1 (patch-aa) = a67d809b32c6cd0235073c622a5386f8ec41230a
SHA1 (patch-ab) = 2ae1300185208c2ad251f088eec28dcbc48c56f6
SHA1 (patch-ac) = 2dfde914d866b3ad5ded30be4252d2675984ce74
SHA1 (patch-ad) = 68320e1b2bda509cd940cf531d19ec8511ceca91
diff --git a/misc/dt/patches/patch-aa b/misc/dt/patches/patch-aa
index a0edc2def10..01205dfc6c2 100644
--- a/misc/dt/patches/patch-aa
+++ b/misc/dt/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2000/01/10 03:07:09 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2011/11/11 22:41:35 joerg Exp $
--- Makefile.orig Sun Nov 24 12:41:26 1996
+++ Makefile Mon Jan 10 03:56:02 2000
@@ -13,7 +13,7 @@ $NetBSD: patch-aa,v 1.3 2000/01/10 03:07:09 wiz Exp $
DT = dt
# where to install the executable
-BINDIR = /usr/local/bin
-+BINDIR = ${PREFIX}/bin
++BINDIR = ${DESTDIR}${PREFIX}/bin
all: $(DT)
@@ -14,5 +14,5 @@