From 43112f64cf453f5e24fc1a811650c98f7db2fe76 Mon Sep 17 00:00:00 2001 From: jlam Date: Mon, 3 Mar 2008 05:51:07 +0000 Subject: Mechanical changes to add full DESTDIR support to packages that install their files via a custom do-install target. --- converters/hztty/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'converters/hztty') diff --git a/converters/hztty/Makefile b/converters/hztty/Makefile index e6645286d88..0d5533d8c8b 100644 --- a/converters/hztty/Makefile +++ b/converters/hztty/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/12/02 11:54:49 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/03 05:51:08 jlam Exp $ DISTNAME= hztty-2.0 CATEGORIES= converters @@ -9,6 +9,7 @@ MAINTAINER= rxg@NetBSD.org COMMENT= Turns a tty session between Big5/GB/HZ/Unicode PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir .include "../../mk/bsd.prefs.mk" @@ -21,7 +22,7 @@ BUILD_TARGET= bsd INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/hztty ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/hztty.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/hztty ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/hztty.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3