summaryrefslogtreecommitdiffstats
path: root/x11/xidle/Makefile
blob: 3630be3aff938885e9096b9951398d9f4f5895ea (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
# Created by: Roman Bogorodskiy <novel@FreeBSD.org>
# $FreeBSD$

PORTNAME=	xidle
PORTVERSION=	26052015
CATEGORIES=	x11
MASTER_SITES=	LOCAL/novel

MAINTAINER=	novel@FreeBSD.org
COMMENT=	Run a program on X inactivity

USES=	tar:bzip2
CFLAGS+=	-I${LOCALBASE}/include -D__dead=static
MAKE_ARGS+=	X11BASE="${LOCALBASE}" \
		CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

USE_XORG=	x11 xscrnsaver xcb xau xdmcp xext
PLIST_FILES=	bin/xidle man/man1/xidle.1.gz

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xidle ${STAGEDIR}${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/xidle.1 ${STAGEDIR}${PREFIX}/man/man1

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