openbsd-ports/x11/i3/Makefile
dcoppa 5eefb99e99 Fixes from upstream:
Bugfix: properly restore workspace containers
(upstream git commit 679a5de8cfb9211afb1a1dd882e53bd672084754)

Bugfix: missed case for decoration rerender
(upstream git commit 56c284af8e281d9d5657e55b3edb7f7c673fc747)

Bugfix: add a sync call to i3bar to confirm reparents before exiting
(upstream git commit 4699c714b33afb1c264f3d19911b880267165b94)

Bugfix: don't set focus in con_set_layout() on invisible workspaces
(upstream git commit fc886315342b3a2292ad0c08394b6bb452663bb1)
2014-08-18 08:46:27 +00:00

73 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.88 2014/08/18 08:46:27 dcoppa Exp $
COMMENT = improved dynamic tiling window manager
DISTNAME = i3-4.8
REVISION = 0
CATEGORIES = x11
EXTRACT_SUFX = .tar.bz2
HOMEPAGE = http://i3wm.org/
MASTER_SITES = ${HOMEPAGE}/downloads/
MAINTAINER = David Coppa <dcoppa@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = X11 c>=68.3 cairo ev fontconfig freetype \
glib-2.0 gobject-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre pthread startup-notification-1 \
xcb xcb-cursor xcb-util xcb-icccm xcb-keysyms \
xcb-randr xcb-xinerama yajl z
MODULES = devel/gettext
LIB_DEPENDS = devel/libev \
devel/libyajl>=2.0.0 \
devel/pango \
devel/pcre \
devel/startup-notification
RUN_DEPENDS = devel/desktop-file-utils \
x11/dmenu \
x11/i3status \
x11/p5-AnyEvent-I3
USE_GMAKE = Yes
NO_TEST = Yes
MAKE_FLAGS = CC="${CC}" \
SYSCONFDIR=${SYSCONFDIR} \
V=1
.if defined(DEBUG)
MAKE_FLAGS += DEBUG=1
.endif
FAKE_FLAGS = PREFIX=${PREFIX} \
SYSCONFDIR=${PREFIX}/share/examples \
INSTALL_DATA="${INSTALL_DATA}" \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
post-configure:
${SUBST_CMD} ${WRKSRC}/i3-dmenu-desktop \
${WRKSRC}/i3-nagbar/main.c \
${WRKSRC}/i3.config \
${WRKSRC}/i3.config.keycodes \
${WRKSRC}/libi3/get_exe_path.c \
${WRKSRC}/src/commands.c \
${WRKSRC}/src/config.c
post-install:
${INSTALL_MAN} ${WRKBUILD}/man/*.1 ${PREFIX}/man/man1/
${SUBST_MAN} ${WRKBUILD}/man/i3-config-wizard.1 \
${PREFIX}/man/man1/i3-config-wizard.1
${SUBST_MAN} ${WRKBUILD}/man/i3-dmenu-desktop.1 \
${PREFIX}/man/man1/i3-dmenu-desktop.1
${SUBST_MAN} ${WRKBUILD}/man/i3.1 ${PREFIX}/man/man1/i3.1
@rm ${PREFIX}/man/man1/i3-sensible*.1
.include <bsd.port.mk>