aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm-trayicons/Makefile
blob: e70a9a8ea94bab5785779df72bafab753ec70fa9 (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:sysutils/gkrellm2
RUN_DEPENDS=    gkrellm: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>