aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-06-12 20:58:05 +0800
committerpawel <pawel@FreeBSD.org>2014-06-12 20:58:05 +0800
commit0c17b4aaf439bca8170e5741f5c13fe2ec895d13 (patch)
treec366abe245d125cfc13b36bb958f317687495508
parentb817ee6b444721ec0f5437869df1b40470f84177 (diff)
downloadfreebsd-ports-gnome-0c17b4aaf439bca8170e5741f5c13fe2ec895d13.tar.gz
freebsd-ports-gnome-0c17b4aaf439bca8170e5741f5c13fe2ec895d13.tar.zst
freebsd-ports-gnome-0c17b4aaf439bca8170e5741f5c13fe2ec895d13.zip
Add staging support
-rw-r--r--misc/gkrellm-gamma/Makefile7
1 files 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 <bsd.port.mk>