From 4a493f3219fcd51944da17a05381c4dc17e9464f Mon Sep 17 00:00:00 2001 From: joerg Date: Tue, 7 Jul 2009 17:38:09 +0000 Subject: user-destdir support --- textproc/ja-groff/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'textproc') 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 -- cgit v1.2.3