aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gkrellmbgchg2/Makefile
blob: c68629b817a4805a9a27166640a0de7c7aa9c525 (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
35
36
37
# New ports collection makefile for:    gkrellmbgchg
# Date Created:         8 Aug 2002
# Whom:             Chris Stuart <firewolf@lightningfire.net>
#
# $FreeBSD$
#

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

MAINTAINER= ports@FreeBSD.org
COMMENT=    A 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>