summaryrefslogtreecommitdiff
path: root/wm/i3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'wm/i3/Makefile')
-rw-r--r--wm/i3/Makefile23
1 files changed, 14 insertions, 9 deletions
diff --git a/wm/i3/Makefile b/wm/i3/Makefile
index ba5fd6433c9..33c3a9333d0 100644
--- a/wm/i3/Makefile
+++ b/wm/i3/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2013/05/31 12:42:30 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2013/10/17 22:41:12 tonnerre Exp $
#
-DISTNAME= i3-4.4
-PKGREVISION= 1
+DISTNAME= i3-4.6
CATEGORIES= wm
MASTER_SITES= http://i3wm.org/downloads/
EXTRACT_SUFX= .tar.bz2
@@ -28,27 +27,33 @@ MAKE_ENV+= SYSCONFDIR=${PKG_SYSCONFDIR:C/\/i3//}
MAKE_ENV+= DEBUG=0
MAKE_ENV+= SHM_SUPPORT=0
+REPLACE_INTERPRETER+= perl
+REPLACE.perl.old= /usr/bin/env perl
+REPLACE.perl.new= ${TOOLS_PATH.perl}
+REPLACE_FILES.perl= i3-dmenu-desktop i3-migrate-config-to-v4
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/i3 ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man/i3.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
-.for i in i3bar i3-config-wizard i3-input i3-msg i3-nagbar
- ${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${DESTDIR}${PREFIX}/bin/
+.for i in i3 i3-dmenu-desktop i3-migrate-config-to-v4 i3-sensible-editor \
+ i3-sensible-pager i3-sensible-terminal
+ ${INSTALL_SCRIPT} ${WRKSRC}/${i} ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/man/${i}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.endfor
-.for i in i3-config-wizard
+.for i in i3bar i3-config-wizard i3-input i3-msg i3-nagbar
${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${DESTDIR}${PREFIX}/bin/
+ ${INSTALL_MAN} ${WRKSRC}/man/${i}.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
.endfor
${INSTALL_DATA} ${WRKSRC}/i3.config ${DESTDIR}${EGDIR}/config
${INSTALL_DATA} ${WRKSRC}/i3.config.keycodes ${DESTDIR}${EGDIR}/config.keycodes
${INSTALL_DATA} ${WRKSRC}/i3.xsession.desktop ${DESTDIR}${PREFIX}/share/xsessions/
${INSTALL_DATA} ${WRKSRC}/include/i3/ipc.h ${DESTDIR}${PREFIX}/include/i3/
- ${INSTALL_SCRIPT} ${WRKSRC}/i3-sensible-editor ${DESTDIR}${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/i3-sensible-pager ${DESTDIR}${PREFIX}/bin/
- ${INSTALL_SCRIPT} ${WRKSRC}/i3-sensible-terminal ${DESTDIR}${PREFIX}/bin/
.include "../../devel/libev/buildlink3.mk"
.include "../../devel/yajl/buildlink3.mk"
+.include "../../devel/pango/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
.include "../../x11/xcb-util/buildlink3.mk"
.include "../../x11/xcb-util-wm/buildlink3.mk"
.include "../../x11/xcb-util-keysyms/buildlink3.mk"