summaryrefslogtreecommitdiff
path: root/textproc/ja-groff
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ja-groff')
-rw-r--r--textproc/ja-groff/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/textproc/ja-groff/Makefile b/textproc/ja-groff/Makefile
index 17d78f07e66..5564c2590d6 100644
--- a/textproc/ja-groff/Makefile
+++ b/textproc/ja-groff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/06/30 00:07:23 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2009/07/07 17:38:43 joerg Exp $
DISTNAME= groff-1.10
PKGNAME= ja-groff-0.99
@@ -15,6 +15,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/groff/groff.html
COMMENT= Japanese enhancement of GNU groff
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
USE_TOOLS+= gmake perl:run
@@ -22,7 +24,9 @@ USE_LANGUAGES= c c++
GNU_CONFIGURE= yes
CONFIGURE_HAS_MANDIR= no
#CONFIGURE_ENV+= CXXFLAGS="-fno-rtti -fno-exceptions -O"
-MAKE_FLAGS+= manroot=${PREFIX}/${PKGMANDIR}
+MAKE_FLAGS+= manroot=${DESTDIR}${PREFIX}/${PKGMANDIR}
+INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin \
+ datadir=${DESTDIR}${PREFIX}/share
REPLACE_PERL= grog/grog.pl
REPLACE_PERL+= afmtodit/afmtodit.pl