From 476ec7c0d7a0d8d737fe740f7d62431a25cd358c Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Thu, 12 Jun 2014 12:58:05 +0000 Subject: [PATCH] Add staging support --- misc/gkrellm-gamma/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/misc/gkrellm-gamma/Makefile b/misc/gkrellm-gamma/Makefile index ce78b5591ac2..3acf4c883c98 100644 --- a/misc/gkrellm-gamma/Makefile +++ b/misc/gkrellm-gamma/Makefile @@ -16,8 +16,11 @@ RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 USES= pkgconfig USE_XORG= x11 xxf86vm PLIST_FILES= libexec/gkrellm2/plugins/gamma.so -MAKE_ENV= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins +MAKE_ENV= PLUGIN_DIR=${PLUGINDIR} ALL_TARGET= gamma.so +PLUGINDIR= ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins + +pre-install: + @${MKDIR} ${PLUGINDIR} -NO_STAGE= yes .include