openbsd-ports/x11/i3/Makefile

57 lines
1.2 KiB
Makefile
Raw Normal View History

2011-05-09 11:03:40 +00:00
# $OpenBSD: Makefile,v 1.17 2011/05/09 11:03:40 dcoppa Exp $
COMMENT = improved dynamic tiling window manager
2011-05-09 11:03:40 +00:00
DISTNAME = i3-3.e-bf3
PKGNAME = i3-3.5.3
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 c ev m xcb xcb-atom xcb-aux xcb-event
2011-05-09 11:03:40 +00:00
WANTLIB += xcb-icccm xcb-keysyms xcb-randr xcb-xinerama
WANTLIB += yajl
MODULES = converters/libiconv
2010-11-22 08:36:47 +00:00
LIB_DEPENDS = devel/libev \
devel/libyajl>=2.0.0
2010-11-22 08:36:47 +00:00
BUILD_DEPENDS = devel/bison
RUN_DEPENDS = x11/dmenu \
devel/p5-IPC-Run \
devel/p5-Try-Tiny \
devel/p5-AnyEvent \
x11/p5-AnyEvent-I3
USE_GMAKE = Yes
2010-10-19 08:13:56 +00:00
USE_GROFF = Yes
NO_REGRESS = Yes
2011-05-09 11:03:40 +00:00
.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}/src/config.c
post-install:
${INSTALL_MAN} ${WRKBUILD}/man/*.1 ${PREFIX}/man/man1/
.include <bsd.port.mk>