# Created by: Pav Lucistnik # $FreeBSD: head/misc/gkrellm-xkb/Makefile 428152 2016-12-08 19:52:19Z tijl $ PORTNAME= gkrellm-xkb PORTVERSION= 1.05 PORTREVISION= 11 CATEGORIES= misc x11 MASTER_SITES= http://www.sweb.cz/tripie/gkrellm/xkb/dist/ MAINTAINER= ports@FreeBSD.org COMMENT= X keyboard layout plugin for GKrellM BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:sysutils/gkrellm2 RUN_DEPENDS= gkrellm:sysutils/gkrellm2 USES= pkgconfig PLIST_FILES= libexec/gkrellm2/plugins/xkb.so 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} .include