diff options
Diffstat (limited to 'misc/jhd/Makefile')
-rw-r--r-- | misc/jhd/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/misc/jhd/Makefile b/misc/jhd/Makefile index 16266c8b572..357227aa832 100644 --- a/misc/jhd/Makefile +++ b/misc/jhd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/01/07 09:14:01 rillig Exp $ +# $NetBSD: Makefile,v 1.9 2008/03/04 19:21:11 jlam Exp $ DISTNAME= jhd-2.3 CATEGORIES= japanese misc @@ -9,13 +9,15 @@ COMMENT= Japanese Hexadecimal Dump BUILD_DEPENDS+= nkf>=1.7:../../converters/nkf +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= bin ${PKGMANDIR}/ja_JP.EUC/man1 post-build: @(cd ${WRKSRC}; ${MV} jhd.1 jhd.1.org; nkf -e jhd.1.org > jhd.1) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/jhd ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/jhd.1 ${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/jhd ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/jhd.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man1 .include "../../mk/bsd.pkg.mk" |