diff options
author | jlam <jlam> | 2008-03-05 17:14:10 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-05 17:14:10 +0000 |
commit | eb2135e3104eefca251ad81f973202551e1be3ee (patch) | |
tree | 12da99d019ab0ba5f4a60ff61df7302976f32139 /sysutils/mtscan | |
parent | 86732f3952c2ef250a574475500ff85f197e1361 (diff) | |
download | pkgsrc-eb2135e3104eefca251ad81f973202551e1be3ee.tar.gz |
Add full DESTDIR support.
Diffstat (limited to 'sysutils/mtscan')
-rw-r--r-- | sysutils/mtscan/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysutils/mtscan/Makefile b/sysutils/mtscan/Makefile index 5540ecb9ce6..30ff3c44c3f 100644 --- a/sysutils/mtscan/Makefile +++ b/sysutils/mtscan/Makefile @@ -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 @@ COMMENT= Magtape scanner - reports record and file-mark structure NOT_FOR_PLATFORM= Interix-*-* # no local tape ioctls +PKG_DESTDIR_SUPPORT= user-destdir + NO_CHECKSUM= yes INSTALLATION_DIRS= bin @@ -22,6 +24,6 @@ do-build: 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" |