summaryrefslogtreecommitdiff
path: root/converters/kcc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'converters/kcc/Makefile')
-rw-r--r--converters/kcc/Makefile12
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"