summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2015-03-12 17:04:52 +0000
committertnn <tnn@pkgsrc.org>2015-03-12 17:04:52 +0000
commitad442ebef31f13dfa26bd175f0a86ba68bf6ba62 (patch)
tree56b01db15aea74b673aa3b87d5ac730a444b6f5d
parent7641620567b3da82a293379070a1f887ae558cc4 (diff)
downloadpkgsrc-ad442ebef31f13dfa26bd175f0a86ba68bf6ba62.tar.gz
honour PKGMANDIR
-rw-r--r--mail/faces/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/faces/Makefile b/mail/faces/Makefile
index 76917f57070..10b608545c9 100644
--- a/mail/faces/Makefile
+++ b/mail/faces/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.60 2014/05/29 23:36:45 wiz Exp $
+# $NetBSD: Makefile,v 1.61 2015/03/12 17:04:52 tnn Exp $
DISTNAME= faces-1.6.1
PKGREVISION= 8
@@ -25,6 +25,7 @@ USE_TOOLS+= perl:run yacc
MAKE_FLAGS+= PREFIX=${PREFIX:Q}
MAKE_FLAGS+= CCOMP=${CFLAGS:M*:Q}
+MAKE_FLAGS+= MANDIR=${PREFIX:Q}/${PKGMANDIR:Q}
.include "../../mk/bsd.prefs.mk"
@@ -39,7 +40,8 @@ MAKE_ENV+= CPPFLAGS=
MAKE_ENV+= NISLOOKUP=-DNISLOOKUP
.endif
-INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR:Q}${PREFIX:Q} \
+ MANDIR=${DESTDIR:Q}${PREFIX:Q}/${PKGMANDIR:Q}
INSTALLATION_DIRS+= bin lib include ${PKGMANDIR}/man1 ${PKGMANDIR}/man3