summaryrefslogtreecommitdiffstats
path: root/x11/fluxbg/Makefile
blob: 68270693f2e5d4dabd3f01d373980bec9480c9b8 (plain)
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
# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$

PORTNAME=	fluxbg
PORTVERSION=	0.7
PORTREVISION=	13
CATEGORIES=	x11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	jgh@FreeBSD.org
COMMENT=	Background changer for fluxbox/blackbox

LIB_DEPENDS=	libgtkmm-2.0.so:${PORTSDIR}/x11-toolkits/gtkmm20
RUN_DEPENDS=	fbsetbg:${PORTSDIR}/x11-wm/fluxbox

GNU_CONFIGURE=	yes
USES=		pathfix pkgconfig
PLIST_FILES=	bin/fluxbg \
		bin/fluxbgd \
		bin/fluxbg_conf
SUB_FILES=	pkg-message
SUB_LIST=	PORTNAME=${PORTNAME}

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
		s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/src/fluxbg_conf.cc

.include <bsd.port.mk>
OpenPOWER on IntegriCloud