summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorobache <obache>2008-01-21 03:04:30 +0000
committerobache <obache>2008-01-21 03:04:30 +0000
commitadcd9c601ab771d6bbf8e7b59613ed1798631d50 (patch)
tree2cd285e2699fed1d865678f246fd8460d867bd53 /converters
parentcb8e8e6d9d9af67c0749382df64ca9d79836cbff (diff)
downloadpkgsrc-adcd9c601ab771d6bbf8e7b59613ed1798631d50.tar.gz
Honor PKGMANDIR and add DESTDIR support.
Diffstat (limited to 'converters')
-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"