51509777e8
from upstream git
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.5 2012/07/07 09:43:54 jasper Exp $
|
|
|
|
ONLY_FOR_ARCHS= ${APM_ARCHS}
|
|
|
|
COMMENT= generate a statusbar for use with i3/xmobar/dzen2
|
|
|
|
DISTNAME= i3status-2.5.1
|
|
REVISION= 0
|
|
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>
|