diff options
author | obache <obache@pkgsrc.org> | 2008-01-21 03:04:30 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-01-21 03:04:30 +0000 |
commit | e4571189bc38b11797535a48401313cf86998f95 (patch) | |
tree | 2cd285e2699fed1d865678f246fd8460d867bd53 /converters | |
parent | a94f28f582f07d78a7695aae77d8ee8fada6f98a (diff) | |
download | pkgsrc-e4571189bc38b11797535a48401313cf86998f95.tar.gz |
Honor PKGMANDIR and add DESTDIR support.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/kcc/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
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" |