diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 05:51:07 +0000 |
commit | 43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/hztty | |
parent | 3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff) | |
download | pkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/hztty')
-rw-r--r-- | converters/hztty/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
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" |