1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Add staging support

- Respect CFLAGS
This commit is contained in:
Pawel Pekala 2014-06-12 15:57:11 +00:00
parent c0235c57c6
commit 4e8f8dbb39
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357610

View File

@ -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>