Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / wm / i3 / Makefile
blob6d720fc8bf431533485ba4b12996114eafbf0754
1 # $NetBSD$
4 DISTNAME= i3-4.4
5 CATEGORIES= wm
6 MASTER_SITES= http://i3wm.org/downloads/
7 EXTRACT_SUFX= .tar.bz2
9 MAINTAINER= tonnerre@NetBSD.org
10 HOMEPAGE= http://i3wm.org/
11 COMMENT= Improved dynamic tiling window manager
12 LICENSE= modified-bsd
14 USE_TOOLS+= gmake bison lex yacc pkg-config perl
15 USE_LANGUAGES= c99
16 MAKE_JOBS_SAFE= no
18 PKG_SYSCONFSUBDIR= i3
19 INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/i3
20 INSTALLATION_DIRS+= share/xsessions include/i3
22 EGDIR= ${PREFIX}/share/examples/i3
23 CONF_FILES= ${EGDIR}/config ${PKG_SYSCONFDIR}/config
24 CONF_FILES+= ${EGDIR}/config.keycodes ${PKG_SYSCONFDIR}/config.keycodes
26 MAKE_ENV+= SYSCONFDIR=${PKG_SYSCONFDIR:C/\/i3//}
27 MAKE_ENV+= DEBUG=0
28 MAKE_ENV+= SHM_SUPPORT=0
30 do-install:
31 ${INSTALL_PROGRAM} ${WRKSRC}/i3 ${DESTDIR}${PREFIX}/bin/
32 ${INSTALL_MAN} ${WRKSRC}/man/i3.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
33 .for i in i3bar i3-config-wizard i3-input i3-msg i3-nagbar
34 ${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${DESTDIR}${PREFIX}/bin/
35 ${INSTALL_MAN} ${WRKSRC}/man/${i}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
36 .endfor
37 .for i in i3-config-wizard
38 ${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${DESTDIR}${PREFIX}/bin/
39 .endfor
40 ${INSTALL_DATA} ${WRKSRC}/i3.config ${DESTDIR}${EGDIR}/config
41 ${INSTALL_DATA} ${WRKSRC}/i3.config.keycodes ${DESTDIR}${EGDIR}/config.keycodes
42 ${INSTALL_DATA} ${WRKSRC}/i3.xsession.desktop ${DESTDIR}${PREFIX}/share/xsessions/
43 ${INSTALL_DATA} ${WRKSRC}/include/i3/ipc.h ${DESTDIR}${PREFIX}/include/i3/
44 ${INSTALL_SCRIPT} ${WRKSRC}/i3-sensible-editor ${DESTDIR}${PREFIX}/bin/
45 ${INSTALL_SCRIPT} ${WRKSRC}/i3-sensible-pager ${DESTDIR}${PREFIX}/bin/
46 ${INSTALL_SCRIPT} ${WRKSRC}/i3-sensible-terminal ${DESTDIR}${PREFIX}/bin/
48 .include "../../devel/libev/buildlink3.mk"
49 .include "../../devel/yajl/buildlink3.mk"
50 .include "../../devel/pcre/buildlink3.mk"
51 .include "../../x11/xcb-util/buildlink3.mk"
52 .include "../../x11/xcb-util-wm/buildlink3.mk"
53 .include "../../x11/xcb-util-keysyms/buildlink3.mk"
54 .include "../../x11/libxcb/buildlink3.mk"
55 .include "../../x11/libX11/buildlink3.mk"
56 .include "../../x11/libXcursor/buildlink3.mk"
57 .include "../../x11/startup-notification/buildlink3.mk"
59 .include "../../mk/bsd.pkg.mk"