aboutsummaryrefslogtreecommitdiff
path: root/misc/gkrellmbgchg2/Makefile
blob: 7ec5fa9330e05c9ce04bca27d8e529a2139df1c7 (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
# 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

USES=		pkgconfig
USE_GNOME=	gtk20

PLIST_FILES=	libexec/gkrellm2/plugins/gkrellmbgchg.so

NO_STAGE=	yes
.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>