7f6b30648e
(upstream git commit 8b4ad8c6bdc73d8950b9ac67316811377acbf7b3) Fix cfgparse: leave EAT_WHITESPACE and BINDSYM_COND states on EOL (upstream git commit 1f6fbaf240351a3559f25bc47286c47b29c1047f) Fix restart with for_window floating configuration (upstream git commit afed6da0e5f555003ace074bf627c9a7e1c14106)
67 lines
1.6 KiB
Makefile
67 lines
1.6 KiB
Makefile
# $OpenBSD: Makefile,v 1.28 2012/03/23 08:43:54 dcoppa Exp $
|
|
|
|
COMMENT = improved dynamic tiling window manager
|
|
|
|
DISTNAME = i3-4.1.2
|
|
REVISION = 1
|
|
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
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
WANTLIB += X11 Xcursor c ev m xcb xcb-atom xcb-aux
|
|
WANTLIB += xcb-event xcb-icccm xcb-keysyms
|
|
WANTLIB += xcb-property xcb-randr xcb-xinerama yajl
|
|
WANTLIB += pcre startup-notification-1
|
|
|
|
MODULES = converters/libiconv
|
|
LIB_DEPENDS = devel/libev \
|
|
devel/libyajl>=2.0.0 \
|
|
devel/pcre \
|
|
devel/startup-notification
|
|
BUILD_DEPENDS = devel/bison \
|
|
devel/flex
|
|
RUN_DEPENDS = x11/dmenu
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
NO_REGRESS = Yes
|
|
|
|
.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}"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/i3.config \
|
|
${WRKSRC}/i3.config.keycodes \
|
|
${WRKSRC}/src/cfgparse.y \
|
|
${WRKSRC}/src/config.c
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKBUILD}/{i3bar/doc,man}/*.1 \
|
|
${PREFIX}/man/man1/
|
|
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
|
|
-c ${WRKBUILD}/man/i3-config-wizard.1 \
|
|
${PREFIX}/man/man1/i3-config-wizard.1
|
|
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} \
|
|
-c ${WRKBUILD}/man/i3.1 \
|
|
${PREFIX}/man/man1/i3.1
|
|
@rm -f ${PREFIX}/man/man1/i3-wsbar.1 \
|
|
${PREFIX}/man/man1/i3-sensible*.1
|
|
|
|
.include <bsd.port.mk>
|