aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm-trayicons/Makefile
blob: 30db9e69739302016f35233d56022579145059e1 (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

ALL_TARGET= trayicons.so

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

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

.include <bsd.port.mk>