mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
53cd36f25a
Approved by: 0mp (mentor), dmgk (maintainer) Differential Revision: https://reviews.freebsd.org/D33106
58 lines
1.5 KiB
Makefile
58 lines
1.5 KiB
Makefile
PORTNAME= i3
|
|
DISTVERSION= 4.20.1
|
|
CATEGORIES= x11-wm
|
|
PKGNAMESUFFIX= -gaps
|
|
|
|
MAINTAINER= dmgk@FreeBSD.org
|
|
COMMENT= Fork of i3 tiling window manager with more features, including gaps
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
LIB_DEPENDS= libcairo.so:graphics/cairo \
|
|
libev.so:devel/libev \
|
|
libpangocairo-1.0.so:x11-toolkits/pango \
|
|
libpcre.so:devel/pcre \
|
|
libstartup-notification-1.so:x11/startup-notification \
|
|
libxcb-cursor.so:x11/xcb-util-cursor \
|
|
libxcb-icccm.so:x11/xcb-util-wm \
|
|
libxcb-keysyms.so:x11/xcb-util-keysyms \
|
|
libxcb-util.so:x11/xcb-util \
|
|
libxcb-xrm.so:x11/xcb-util-xrm \
|
|
libxkbcommon.so:x11/libxkbcommon \
|
|
libyajl.so:devel/yajl
|
|
RUN_DEPENDS= p5-AnyEvent-I3>=0:devel/p5-AnyEvent-I3 \
|
|
p5-IPC-Run>=0:devel/p5-IPC-Run \
|
|
p5-JSON-XS>=0:converters/p5-JSON-XS \
|
|
p5-Try-Tiny>=0:lang/p5-Try-Tiny
|
|
|
|
USES= compiler:c11 gettext-runtime gnome iconv localbase:ldflags \
|
|
meson perl5 pkgconfig xorg
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= Airblader
|
|
USE_GNOME= glib20
|
|
USE_XORG= xcb
|
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
CONFLICTS_INSTALL= i3
|
|
|
|
OPTIONS_DEFINE= DOCS MANPAGES
|
|
OPTIONS_DEFAULT= MANPAGES
|
|
OPTIONS_SUB= yes
|
|
|
|
DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc
|
|
DOCS_MESON_TRUE= docs
|
|
|
|
MANPAGES_BUILD_DEPENDS= asciidoc:textproc/asciidoc \
|
|
xmlto:textproc/xmlto
|
|
MANPAGES_MESON_TRUE= mans
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's,/usr,${PREFIX},g' -e 's,/etc,${PREFIX}&,g' \
|
|
${WRKSRC}/man/i3-config-wizard.man \
|
|
${WRKSRC}/man/i3.man
|
|
|
|
.include <bsd.port.mk>
|