2020-07-31 10:00:51 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.125 2020/07/31 10:00:51 solene Exp $
|
2009-09-02 19:26:17 +00:00
|
|
|
|
|
|
|
COMMENT = improved dynamic tiling window manager
|
|
|
|
|
2020-07-31 10:00:51 +00:00
|
|
|
DISTNAME = i3-4.18.2
|
2018-03-29 21:05:32 +00:00
|
|
|
|
2009-09-02 19:26:17 +00:00
|
|
|
CATEGORIES = x11
|
|
|
|
|
2018-03-29 21:05:32 +00:00
|
|
|
HOMEPAGE = https://i3wm.org/
|
|
|
|
|
2009-09-02 19:26:17 +00:00
|
|
|
# BSD
|
2019-07-12 20:50:46 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2009-09-02 19:26:17 +00:00
|
|
|
|
2020-03-10 16:27:52 +00:00
|
|
|
# XXX use of pledge has been neutered. For more details see
|
|
|
|
# https://marc.info/?l=openbsd-ports&m=156762440931634&w=2
|
|
|
|
WANTLIB += c cairo ev glib-2.0 gobject-2.0 harfbuzz iconv intl
|
|
|
|
WANTLIB += m pango-1.0 pangocairo-1.0 pcre pthread startup-notification-1
|
2019-08-23 15:07:20 +00:00
|
|
|
WANTLIB += xcb xcb-cursor xcb-icccm xcb-keysyms xcb-randr xcb-shape
|
|
|
|
WANTLIB += xcb-util xcb-xinerama xcb-xkb xcb-xrm xkbcommon xkbcommon-x11
|
2016-11-13 20:46:23 +00:00
|
|
|
WANTLIB += yajl
|
|
|
|
|
2018-03-29 21:05:32 +00:00
|
|
|
MASTER_SITES = ${HOMEPAGE}/downloads/
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
|
|
|
|
2016-11-13 20:46:23 +00:00
|
|
|
BUILD_DEPENDS = textproc/asciidoc \
|
|
|
|
textproc/xmlto
|
2010-11-22 08:36:47 +00:00
|
|
|
LIB_DEPENDS = devel/libev \
|
2011-12-01 16:00:01 +00:00
|
|
|
devel/libyajl>=2.0.0 \
|
2012-09-21 17:16:13 +00:00
|
|
|
devel/pango \
|
2011-12-01 16:00:01 +00:00
|
|
|
devel/pcre \
|
2015-03-17 15:39:47 +00:00
|
|
|
devel/startup-notification \
|
|
|
|
x11/xkbcommon
|
2012-05-09 11:56:49 +00:00
|
|
|
RUN_DEPENDS = devel/desktop-file-utils \
|
|
|
|
x11/dmenu \
|
2014-07-11 15:49:58 +00:00
|
|
|
x11/i3status \
|
|
|
|
x11/p5-AnyEvent-I3
|
2019-01-13 12:48:10 +00:00
|
|
|
|
|
|
|
# Tests now use the X11::XCB Perl module, not yet in ports.
|
|
|
|
NO_TEST = Yes
|
|
|
|
#TEST_DEPENDS = x11/p5-AnyEvent-I3
|
2017-09-25 06:30:43 +00:00
|
|
|
|
2016-11-13 20:46:23 +00:00
|
|
|
FAKE_FLAGS = i3confdir="${PREFIX}/share/examples/i3/"
|
2009-09-02 19:26:17 +00:00
|
|
|
|
2018-03-29 21:05:32 +00:00
|
|
|
SEPARATE_BUILD =Yes
|
2016-11-13 20:46:23 +00:00
|
|
|
USE_GMAKE = Yes
|
2018-03-29 21:05:32 +00:00
|
|
|
CONFIGURE_STYLE =gnu
|
2016-11-13 20:46:23 +00:00
|
|
|
CONFIGURE_ENV = CPPFLAGS="-I${X11BASE}/include \
|
|
|
|
-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${X11BASE}/lib \
|
|
|
|
-L${LOCALBASE}/lib"
|
2010-09-14 08:54:18 +00:00
|
|
|
|
2019-03-17 13:46:41 +00:00
|
|
|
.if defined(DEBUG)
|
|
|
|
CONFIGURE_ARGS +=--enable-debug
|
|
|
|
.endif
|
|
|
|
|
2016-11-13 20:46:23 +00:00
|
|
|
pre-configure:
|
|
|
|
${SUBST_CMD} ${WRKSRC}/etc/config \
|
|
|
|
${WRKSRC}/etc/config.keycodes \
|
|
|
|
${WRKSRC}/i3-dmenu-desktop \
|
2013-05-16 18:42:30 +00:00
|
|
|
${WRKSRC}/i3-nagbar/main.c \
|
2015-10-04 08:48:12 +00:00
|
|
|
${WRKSRC}/libi3/get_config_path.c \
|
2016-11-13 20:46:23 +00:00
|
|
|
${WRKSRC}/libi3/get_exe_path.c \
|
|
|
|
${WRKSRC}/man/i3-config-wizard.man \
|
|
|
|
${WRKSRC}/man/i3.man
|
2009-09-02 19:26:17 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|