svn commit: r357610 - head/misc/gkrellm-xkb
Pawel Pekala
pawel at FreeBSD.org
Thu Jun 12 15:57:12 UTC 2014
Author: pawel
Date: Thu Jun 12 15:57:11 2014
New Revision: 357610
URL: http://svnweb.freebsd.org/changeset/ports/357610
QAT: https://qat.redports.org/buildarchive/r357610/
Log:
- Add staging support
- Respect CFLAGS
Modified:
head/misc/gkrellm-xkb/Makefile
Modified: head/misc/gkrellm-xkb/Makefile
==============================================================================
--- head/misc/gkrellm-xkb/Makefile Thu Jun 12 15:53:13 2014 (r357609)
+++ head/misc/gkrellm-xkb/Makefile Thu Jun 12 15:57:11 2014 (r357610)
@@ -15,8 +15,14 @@ RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutil
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>
More information about the svn-ports-all
mailing list