From 679b94ae2a2258c91d54037fc52d3de93b2ce02b Mon Sep 17 00:00:00 2001 From: dhn Date: Tue, 10 Nov 2009 18:20:46 +0000 Subject: - Update to 3.d PR: ports/140442 Submitted by: Bapt --- x11-wm/i3/Makefile | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'x11-wm/i3/Makefile') diff --git a/x11-wm/i3/Makefile b/x11-wm/i3/Makefile index 6d2cb80ce0f6..ca1bcb4ace49 100644 --- a/x11-wm/i3/Makefile +++ b/x11-wm/i3/Makefile @@ -6,7 +6,7 @@ # PORTNAME= i3 -DISTVERSION= 3.c +DISTVERSION= 3.d CATEGORIES= x11-wm MASTER_SITES= http://i3.zekjur.net/downloads/ \ ${MASTER_SITE_LOCAL} @@ -20,6 +20,7 @@ LIB_DEPENDS= xcb.2:${PORTSDIR}/x11/libxcb \ ev.3:${PORTSDIR}/devel/libev USE_XORG= x11 +USE_BISON= yes USE_XLIB= yes USE_BZIP2= yes USE_GMAKE= yes @@ -28,7 +29,9 @@ MAKE_JOBS_SAFE= yes PLIST_FILES= bin/i3 \ bin/i3-msg \ - etc/i3/config.sample + bin/i3-input \ + etc/i3/config.sample \ + etc/i3/welcome PLIST_DIRS= etc/i3 MAN1= i3.1 @@ -41,19 +44,27 @@ BROKEN= Does not compile on FreeBSD 6.X post-extract: @cd ${WRKSRC} && ${CP} i3.config config.sample + @cd ${WRKSRC} && ${CP} i3.welcome welcome post-patch: @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/src/config.c @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/config.sample + @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/welcome @${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}/|g' ${WRKSRC}/man/Makefile @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/common.mk @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3.1 + @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3-msg.1 + @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3-input.1 + @${REINPLACE_CMD} -e 's|.SILENT||g' ${WRKSRC}/common.mk + @${REINPLACE_CMD} -e 's|-Iinclude|-Iinclude -Isrc|g' ${WRKSRC}/common.mk do-install: ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-msg/${PORTNAME}-msg ${PREFIX}/bin/ + ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}-input/${PORTNAME}-input ${PREFIX}/bin/ @${MKDIR} ${PREFIX}/etc/${PORTNAME} ${INSTALL_SCRIPT} ${WRKSRC}/config.sample ${PREFIX}/etc/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKSRC}/welcome ${PREFIX}/etc/${PORTNAME}/welcome ${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MANPREFIX}/man/man1 @${ECHO_MSG} "======================================================================================" -- cgit