1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/x11/i3status/Makefile
John Baldwin 2bdeca5355 Properly check for the charging flag in the returned battery status
to determine if the battery is charging.

Reviewed by:	bapt (maintainer)
Differential Revision:	https://reviews.freebsd.org/D3849
2015-10-09 02:56:49 +00:00

30 lines
748 B
Makefile

# $FreeBSD$
PORTNAME= i3status
PORTVERSION= 2.8
PORTREVISION= 5
CATEGORIES= x11
MASTER_SITES= http://i3wm.org/i3status/
MAINTAINER= bapt@FreeBSD.org
COMMENT= Small program for generating a status bar
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libconfuse.so:${PORTSDIR}/devel/libconfuse \
libyajl.so:${PORTSDIR}/devel/yajl
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USES= gmake tar:bzip2
post-patch:
@${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/i3status.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/i3status ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/man/i3status.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/i3status.conf ${STAGEDIR}${PREFIX}/etc/i3status.conf.sample
.include <bsd.port.mk>