summaryrefslogtreecommitdiff
path: root/x11/i3status/Makefile
blob: 2bfb53408218a69518b65acb9f9d8588bec3f50e (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
29
30
31

PORTNAME=	i3status
PORTVERSION=	2.13
CATEGORIES=	x11
MASTER_SITES=	http://i3wm.org/i3status/

MAINTAINER=	bapt@FreeBSD.org
COMMENT=	Small program for generating a status bar

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libconfuse.so:devel/libconfuse \
		libyajl.so:devel/yajl

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	ac_cv_path_PATH_ASCIIDOC=${TRUE} \
		ac_cv_path_PATH_XMLTO=${TRUE} \
		--disable-dependency-tracking
USES=		gmake pkgconfig tar:bzip2
BUILD_WRKSRC=	${WRKSRC}/${CONFIGURE_TARGET}
INSTALL_WRKSRC=	${WRKSRC}/${CONFIGURE_TARGET}

post-patch:
	@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/i3status.c

post-install:
	${INSTALL_DATA} ${WRKSRC}/i3status.conf \
		${STAGEDIR}${PREFIX}/etc/i3status.conf.sample

.include <bsd.port.mk>