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