2015-10-04 08:48:12 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.98 2015/10/04 08:48:12 dcoppa Exp $
|
2009-09-02 19:26:17 +00:00
|
|
|
|
|
|
|
COMMENT = improved dynamic tiling window manager
|
|
|
|
|
2015-10-04 08:48:12 +00:00
|
|
|
DISTNAME = i3-4.11
|
2009-09-02 19:26:17 +00:00
|
|
|
CATEGORIES = x11
|
|
|
|
|
|
|
|
EXTRACT_SUFX = .tar.bz2
|
2011-05-06 14:14:31 +00:00
|
|
|
HOMEPAGE = http://i3wm.org/
|
|
|
|
MASTER_SITES = ${HOMEPAGE}/downloads/
|
2010-09-14 08:54:18 +00:00
|
|
|
MAINTAINER = David Coppa <dcoppa@openbsd.org>
|
2009-09-02 19:26:17 +00:00
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
|
2015-03-17 15:39:47 +00:00
|
|
|
WANTLIB = c>=68.3 cairo ev fontconfig freetype \
|
2013-05-16 18:42:30 +00:00
|
|
|
glib-2.0 gobject-2.0 m pango-1.0 pangocairo-1.0 \
|
2014-01-11 16:04:43 +00:00
|
|
|
pangoft2-1.0 pcre pthread startup-notification-1 \
|
2014-04-15 10:31:30 +00:00
|
|
|
xcb xcb-cursor xcb-util xcb-icccm xcb-keysyms \
|
2015-03-17 15:39:47 +00:00
|
|
|
xcb-randr xcb-render xcb-xinerama xcb-xkb \
|
|
|
|
xkbcommon xkbcommon-x11 yajl z
|
2009-09-02 19:26:17 +00:00
|
|
|
|
2013-10-24 15:18:00 +00:00
|
|
|
MODULES = devel/gettext
|
2012-04-26 10:55:10 +00:00
|
|
|
|
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-04-26 10:55:10 +00:00
|
|
|
|
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
|
2009-09-02 19:26:17 +00:00
|
|
|
|
|
|
|
USE_GMAKE = Yes
|
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST = Yes
|
2010-06-28 22:51:25 +00:00
|
|
|
|
2012-05-09 11:56:49 +00:00
|
|
|
MAKE_FLAGS = CC="${CC}" \
|
2012-09-21 17:16:13 +00:00
|
|
|
SYSCONFDIR=${SYSCONFDIR} \
|
|
|
|
V=1
|
2012-04-26 10:55:10 +00:00
|
|
|
|
2011-05-09 11:03:40 +00:00
|
|
|
.if defined(DEBUG)
|
|
|
|
MAKE_FLAGS += DEBUG=1
|
|
|
|
.endif
|
|
|
|
|
2010-09-14 08:54:18 +00:00
|
|
|
FAKE_FLAGS = PREFIX=${PREFIX} \
|
2015-10-04 08:48:12 +00:00
|
|
|
EXEC_PREFIX=${PREFIX} \
|
2010-09-14 08:54:18 +00:00
|
|
|
SYSCONFDIR=${PREFIX}/share/examples \
|
|
|
|
INSTALL_DATA="${INSTALL_DATA}" \
|
|
|
|
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
|
|
|
|
INSTALL_SCRIPT="${INSTALL_SCRIPT}"
|
|
|
|
|
2012-05-10 09:27:37 +00:00
|
|
|
post-configure:
|
2012-12-13 12:10:13 +00:00
|
|
|
${SUBST_CMD} ${WRKSRC}/i3-dmenu-desktop \
|
2013-05-16 18:42:30 +00:00
|
|
|
${WRKSRC}/i3-nagbar/main.c \
|
2012-12-13 12:10:13 +00:00
|
|
|
${WRKSRC}/i3.config \
|
2011-11-06 20:23:24 +00:00
|
|
|
${WRKSRC}/i3.config.keycodes \
|
2015-10-04 08:48:12 +00:00
|
|
|
${WRKSRC}/libi3/get_config_path.c \
|
2014-01-11 16:04:43 +00:00
|
|
|
${WRKSRC}/libi3/get_exe_path.c \
|
2015-10-04 08:48:12 +00:00
|
|
|
${WRKSRC}/src/commands.c
|
2010-09-14 08:54:18 +00:00
|
|
|
|
|
|
|
post-install:
|
2012-09-21 17:16:13 +00:00
|
|
|
${INSTALL_MAN} ${WRKBUILD}/man/*.1 ${PREFIX}/man/man1/
|
2014-08-10 09:58:04 +00:00
|
|
|
${SUBST_MAN} ${WRKBUILD}/man/i3-config-wizard.1 \
|
2011-12-01 16:00:01 +00:00
|
|
|
${PREFIX}/man/man1/i3-config-wizard.1
|
2014-08-10 09:58:04 +00:00
|
|
|
${SUBST_MAN} ${WRKBUILD}/man/i3-dmenu-desktop.1 \
|
2013-05-16 18:42:30 +00:00
|
|
|
${PREFIX}/man/man1/i3-dmenu-desktop.1
|
2014-08-10 09:58:04 +00:00
|
|
|
${SUBST_MAN} ${WRKBUILD}/man/i3.1 ${PREFIX}/man/man1/i3.1
|
2013-06-02 11:24:06 +00:00
|
|
|
@rm ${PREFIX}/man/man1/i3-sensible*.1
|
2009-09-02 19:26:17 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|