pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/mtscan Add full DESTDIR support.
details: https://anonhg.NetBSD.org/pkgsrc/rev/e6d3b6ac0cbd
branches: trunk
changeset: 539433:e6d3b6ac0cbd
user: jlam <jlam%pkgsrc.org@localhost>
date: Wed Mar 05 17:14:10 2008 +0000
description:
Add full DESTDIR support.
diffstat:
sysutils/mtscan/Makefile | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r e335bf947c1e -r e6d3b6ac0cbd sysutils/mtscan/Makefile
--- a/sysutils/mtscan/Makefile Wed Mar 05 17:12:44 2008 +0000
+++ b/sysutils/mtscan/Makefile Wed Mar 05 17:14:10 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/02/22 19:27:11 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2008/03/05 17:14:10 jlam Exp $
DISTNAME= mtscan-20050129
CATEGORIES= sysutils
@@ -11,6 +11,8 @@
NOT_FOR_PLATFORM= Interix-*-* # no local tape ioctls
+PKG_DESTDIR_SUPPORT= user-destdir
+
NO_CHECKSUM= yes
INSTALLATION_DIRS= bin
@@ -22,6 +24,6 @@
cd ${WRKSRC} && ${CC} -O2 -DMTIO -o mtscan mtscan.c -ltermcap
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/mtscan ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/mtscan ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index