diff options
author | obache <obache@pkgsrc.org> | 2011-03-18 12:33:54 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-18 12:33:54 +0000 |
commit | 0f43fa0931f5677c030de7db7d37fa7a8e697723 (patch) | |
tree | ae88a7e11385e1bd11a28fb286098f61ef2293c3 /sysutils | |
parent | 06317dbc69b92c856b804567b05bd709c03d4be2 (diff) | |
download | pkgsrc-0f43fa0931f5677c030de7db7d37fa7a8e697723.tar.gz |
Add user-destdir installation support.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gkrellm/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |