freebsd-ports/x11/i3status/Makefile
Baptiste Daroussin cb1c94b1f4 Readd the USE_BZIP2 removed by mistake
Submitted by:	flo
2013-07-05 13:51:13 +00:00

33 lines
758 B
Makefile

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