diff options
author | obache <obache> | 2011-03-18 12:09:31 +0000 |
---|---|---|
committer | obache <obache> | 2011-03-18 12:09:31 +0000 |
commit | c535344191ae9274cdd0b278c0ce96cdefdb7ab9 (patch) | |
tree | 68d60fe51ad50a7cd4203accacaa81bff6a9b1d2 /sysutils/gkrellm-share | |
parent | f7cb1198596d1c3088dfe2fdde5e0bdc0bdd48f1 (diff) | |
download | pkgsrc-c535344191ae9274cdd0b278c0ce96cdefdb7ab9.tar.gz |
Add user-destdir installation support.
Diffstat (limited to 'sysutils/gkrellm-share')
-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" |