summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm-trayicons/Makefile
blob: 8e0722c88155f5f86c39da1d5e889100474ff413 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Tobias Roth <ports@fsck.ch>
# $FreeBSD$

PORTNAME=	trayicons
PORTVERSION=	1.03
PORTREVISION=	7
CATEGORIES=	sysutils
MASTER_SITES=	http://tripie.sweb.cz/gkrellm/trayicons/dist/
PKGNAMEPREFIX=	gkrellm-
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GKrellM2 plugin to display definable icons as notifiers or launchers

BUILD_DEPENDS=	${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2
RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2

USES=		pkgconfig
PLIST_FILES=	libexec/gkrellm2/plugins/trayicons.so

ALL_TARGET=	trayicons.so

post-patch:
	@${REINPLACE_CMD} -e 's|$$(CC) $$(FLAGS)|$$(CC) $$(CFLAGS)|g' \
		${WRKSRC}/Makefile

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}.so ${PREFIX}/libexec/gkrellm2/plugins/

.include <bsd.port.mk>