openbsd-ports/x11/i3status/Makefile
dcoppa 21469b28e1 In the configuration file, remove comments from the wireless stanza,
since wireless monitoring now works fine.
While here, add a message about how to deal with the configuration
of i3status.

ok jasper@
2012-10-12 07:57:26 +00:00

51 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.25 2012/10/12 07:57:26 dcoppa Exp $
ONLY_FOR_ARCHS= ${APM_ARCHS}
COMMENT= generate a statusbar for use with i3/xmobar/dzen2
DISTNAME= i3status-2.6
REVISION= 16
CATEGORIES= x11 sysutils
HOMEPAGE= http://i3wm.org/i3status/
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar.bz2
WANTLIB += c confuse ossaudio yajl
USE_GMAKE= Yes
BUILD_DEPENDS= textproc/asciidoc
LIB_DEPENDS= devel/libconfuse \
devel/libyajl
NO_REGRESS= Yes
# XXX: Optimizing results in seg. faults on at least amd64.
CFLAGS+= -O0
MAKE_ENV+= A2X=a2x.py \
SYSCONFDIR=${PREFIX}/share/examples/i3status/
pre-configure:
${SUBST_CMD} ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/i3status ${PREFIX}/bin/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/i3status
${INSTALL_DATA} ${WRKSRC}/i3status.conf \
${PREFIX}/share/examples/i3status/
${INSTALL_MAN} ${WRKSRC}/man/i3status.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>