aboutsummaryrefslogtreecommitdiff
path: root/x11/xrsi/Makefile
blob: d2e85a421dcc078a8414fba191dcc9f3c61235ec (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
PORTNAME=	xrsi
PORTVERSION=	0.9
PORTREVISION=	2
CATEGORIES=	x11
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Minimalist break enforcer for Linux/Unix for the prevention of RSI
WWW=		https://sourceforge.net/projects/xrsi/

LICENSE=	ART10
LICENSE_FILE=	${WRKSRC}/Licence

USES=		xorg
USE_XORG=	x11
PLIST_FILES=	bin/xrsi
PORTDOCS=	Readme

OPTIONS_DEFINE=	DOCS

do-build:
	${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib -lX11 -o ${WRKSRC}/xrsi ${WRKSRC}/xrsi.c

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xrsi ${STAGEDIR}${PREFIX}/bin/

do-install-DOCS-on:
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/Readme ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>