aboutsummaryrefslogtreecommitdiff
path: root/misc/gkrellm-xkb/Makefile
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-06-12 15:57:11 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-06-12 15:57:11 +0000
commit4e8f8dbb39518d19bff69c754f5c70387f8ce0e2 (patch)
tree40e6a28534d1b3d8d52ea7acaa9cd272389d05db /misc/gkrellm-xkb/Makefile
parentc0235c57c66a9da888d745f24d58a33c0f981b3d (diff)
Notes
Diffstat (limited to 'misc/gkrellm-xkb/Makefile')
-rw-r--r--misc/gkrellm-xkb/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/misc/gkrellm-xkb/Makefile b/misc/gkrellm-xkb/Makefile
index 0034d1efa6d9..b00a46222313 100644
--- a/misc/gkrellm-xkb/Makefile
+++ b/misc/gkrellm-xkb/Makefile
@@ -15,8 +15,14 @@ RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2
USES= pkgconfig
PLIST_FILES= libexec/gkrellm2/plugins/xkb.so
-MAKE_ENV= PLUGIN_DIR=${PREFIX}/libexec/gkrellm2/plugins
+MAKE_ENV= PLUGIN_DIR=${PLUGINDIR}
ALL_TARGET= xkb.so
+PLUGINDIR= ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins
+
+post-patch:
+ @${REINPLACE_CMD} '/$$(CC)/ s|FLAGS|CFLAGS|' ${WRKSRC}/Makefile
+
+pre-install:
+ @${MKDIR} ${PLUGINDIR}
-NO_STAGE= yes
.include <bsd.port.mk>