From e4571189bc38b11797535a48401313cf86998f95 Mon Sep 17 00:00:00 2001 From: obache Date: Mon, 21 Jan 2008 03:04:30 +0000 Subject: Honor PKGMANDIR and add DESTDIR support. --- converters/kcc/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'converters') diff --git a/converters/kcc/Makefile b/converters/kcc/Makefile index 71d70d08798..f843e5c1d64 100644 --- a/converters/kcc/Makefile +++ b/converters/kcc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2007/04/01 01:58:37 obache Exp $ +# $NetBSD: Makefile,v 1.4 2008/01/21 03:04:30 obache Exp $ DISTNAME= kcc PKGNAME= kcc-1.0 @@ -10,11 +10,13 @@ MAINTAINER= obache@NetBSD.org HOMEPAGE= # empty COMMENT= Kanji code converter with auto encoding detection -MAKE_FLAGS+= BINPATH=${PREFIX:Q}/bin -MAKE_FLAGS+= MANPATH=${PREFIX:Q}/man -MAKE_FLAGS+= JMANDIR=ja_JP.EUC +PKG_DESTDIR_SUPPORT= user-destdir + +INSTALL_MAKE_FLAGS+= BINPATH=${DESTDIR}${PREFIX}/bin +INSTALL_MAKE_FLAGS+= MANPATH=${DESTDIR}${PREFIX}/${PKGMANDIR} +INSTALL_MAKE_FLAGS+= JMANDIR=ja_JP.EUC INSTALL_TARGET= install install.man -INSTALLATION_DIRS= ${PKGMANDIR}/ja_JP.EUC/man1 +INSTALLATION_DIRS= bin ${PKGMANDIR}/ja_JP.EUC/man1 .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3