aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellmbgchg2/Makefile
blob: db41a3e3a79b92b03ad14ad1fb8befe01631c645 (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
31
32
33
34
# Created by: Chris Stuart <firewolf@lightningfire.net>
# $FreeBSD$

PORTNAME=   gkrellmbgchg2
PORTVERSION=    0.1.11
PORTREVISION=   1
CATEGORIES= misc
MASTER_SITES=   http://www.bender-suhl.de/stefan/comp/sources/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Plugin for GKrellM, which changes the desktop's background image

LICENSE=    GPLv2

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

USE_GNOME=  gtk20

PLIST_FILES=    libexec/gkrellm2/plugins/gkrellmbgchg.so

.include <bsd.port.pre.mk>

do-build:
    cd ${BUILD_WRKSRC} && ${CC} -shared ${CFLAGS} -fPIC \
        `pkg-config --cflags --libs gkrellm` gkrellmbgchg.c \
        -o gkrellmbgchg.so

do-install:
    @${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins
    ${INSTALL_DATA} ${WRKSRC}/gkrellmbgchg.so \
        ${PREFIX}/libexec/gkrellm2/plugins

.include <bsd.port.post.mk>