From 0f43fa0931f5677c030de7db7d37fa7a8e697723 Mon Sep 17 00:00:00 2001 From: obache Date: Fri, 18 Mar 2011 12:33:54 +0000 Subject: Add user-destdir installation support. --- sysutils/gkrellm/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'sysutils') diff --git a/sysutils/gkrellm/Makefile b/sysutils/gkrellm/Makefile index f02c94b70b3..bd57103d4f5 100644 --- a/sysutils/gkrellm/Makefile +++ b/sysutils/gkrellm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.63 2011/01/13 13:36:43 wiz Exp $ +# $NetBSD: Makefile,v 1.64 2011/03/18 12:33:54 obache Exp $ .include "Makefile.common" PKGREVISION= 6 @@ -10,6 +10,8 @@ COMMENT= GTK2 based system monitor DEPENDS+= gkrellm-share-${GKRELLM_VERSION}:../../sysutils/gkrellm-share +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= pkg-config .include "../../mk/bsd.prefs.mk" @@ -31,6 +33,8 @@ MAKE_ENV+= PKG_LIBS="-L${BUILDLINK_PREFIX.${GKRELLM_SSL_TYPE}}/lib -Wl,-R${BUIL MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}/man1 MAKE_ENV+= SMANDIR=${PREFIX}/${PKGMANDIR}/man8 MAKE_FLAGS+= BINOWNER=${BINOWN} BINGROUP=${BINGRP} +INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 +INSTALL_MAKE_FLAGS+= SMANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 SUBST_STAGE.gkprefix= post-patch SUBST_FILES.gkprefix= src/gkrellm.h -- cgit v1.2.3