diff options
author | obache <obache@pkgsrc.org> | 2011-03-18 12:09:31 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-18 12:09:31 +0000 |
commit | e02c482510c4c604c01c73e2a00e96b99ed03ed9 (patch) | |
tree | 68d60fe51ad50a7cd4203accacaa81bff6a9b1d2 /sysutils | |
parent | d254a35172a78542634c754b8e055ec0cd501b1a (diff) | |
download | pkgsrc-e02c482510c4c604c01c73e2a00e96b99ed03ed9.tar.gz |
Add user-destdir installation support.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gkrellm-share/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/gkrellm-share/Makefile b/sysutils/gkrellm-share/Makefile index 562a9c6d34b..c0c4298f24d 100644 --- a/sysutils/gkrellm-share/Makefile +++ b/sysutils/gkrellm-share/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2006/04/13 19:14:45 cube Exp $ +# $NetBSD: Makefile,v 1.6 2011/03/18 12:09:31 obache Exp $ .include "../../sysutils/gkrellm/Makefile.common" PKGREVISION= # @@ -6,13 +6,17 @@ GKRELLM_PKGBASE= gkrellm-share COMMENT= GKrellM2 locale files +PKG_DESTDIR_SUPPORT= user-destdir + USE_TOOLS+= msgfmt +USE_PKGLOCALEDIR= yes MAKE_ENV+= MODULES=po +INSTALL_MAKE_FLAGS= LOCALEDIR=${DESTDIR}${PREFIX}/${PKGLOCALEDIR}/locale -INSTALLATION_DIRS= share/gkrellm2 +INSTALLATION_DIRS= share/gkrellm2 ${PKGLOCALEDIR}/locale post-install: - ${INSTALL_DATA} ${GKRELLM_SRCDIR}/README ${GKRELLM_SRCDIR}/COPYRIGHT ${PREFIX}/share/gkrellm2 + ${INSTALL_DATA} ${GKRELLM_SRCDIR}/README ${GKRELLM_SRCDIR}/COPYRIGHT ${DESTDIR}${PREFIX}/share/gkrellm2 .include "../../mk/bsd.pkg.mk" |