aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/i3/Makefile
blob: 147149c48a37683c71fbdb840f6852ab59fdc491 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Dennis Herrmann <dhn@FreeBSD.org>
# $FreeBSD$

PORTNAME=   i3
DISTVERSION=    4.16
CATEGORIES= x11-wm
MASTER_SITES=   http://i3wm.org/downloads/

MAINTAINER= bapt@FreeBSD.org
COMMENT=    Improved dynamic tiling window manager

LICENSE=    BSD3CLAUSE

LIB_DEPENDS=    libstartup-notification-1.so:x11/startup-notification \
        libxcb-util.so:x11/xcb-util \
        libxcb-keysyms.so:x11/xcb-util-keysyms \
        libxcb-icccm.so:x11/xcb-util-wm \
        libev.so:devel/libev \
        libyajl.so:devel/yajl \
        libcairo.so:graphics/cairo \
        libpangocairo-1.0.so:x11-toolkits/pango \
        libpcre.so:devel/pcre \
        libxcb-cursor.so:x11/xcb-util-cursor \
        libxkbcommon.so:x11/libxkbcommon \
        libxcb-xrm.so:x11/xcb-util-xrm
RUN_DEPENDS=    p5-IPC-Run>=0:devel/p5-IPC-Run \
        p5-Try-Tiny>=0:lang/p5-Try-Tiny \
        p5-AnyEvent-I3>=0:devel/p5-AnyEvent-I3

USES=       compiler:c11 pkgconfig gmake iconv perl5 tar:bzip2
USE_XORG=   xcb
GNU_CONFIGURE=  yes
CONFIGURE_OUTSOURCE=    yes
CONFIGURE_ENV=  ac_cv_path_PATH_ASCIIDOC=""
LDFLAGS+=   -L${LOCALBASE}/lib ${ICONV_LIB}
INSTALL_TARGET= install-strip

CONFLICTS_INSTALL=  i3-gaps

post-install:
    ${INSTALL_DATA} ${WRKSRC}/man/*.1 ${STAGEDIR}${MANPREFIX}/man/man1/

.include <bsd.port.mk>