aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/i3
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2009-08-24 00:20:37 +0800
committerdhn <dhn@FreeBSD.org>2009-08-24 00:20:37 +0800
commite5753b0affbf3baed7fe9187120f3f7bf462ee8f (patch)
treea0a3e8c524cff920aa60af9bfe08b19cd987949f /x11-wm/i3
parentaab6996b1a6a4f3ff20657ff8708cffc9e4d0ad5 (diff)
downloadfreebsd-ports-gnome-e5753b0affbf3baed7fe9187120f3f7bf462ee8f.tar.gz
freebsd-ports-gnome-e5753b0affbf3baed7fe9187120f3f7bf462ee8f.tar.zst
freebsd-ports-gnome-e5753b0affbf3baed7fe9187120f3f7bf462ee8f.zip
- Update to 3.c
Diffstat (limited to 'x11-wm/i3')
-rw-r--r--x11-wm/i3/Makefile17
-rw-r--r--x11-wm/i3/distinfo6
-rw-r--r--x11-wm/i3/files/patch-man_Makefile8
3 files changed, 12 insertions, 19 deletions
diff --git a/x11-wm/i3/Makefile b/x11-wm/i3/Makefile
index dfc5cba65a73..181b71e76706 100644
--- a/x11-wm/i3/Makefile
+++ b/x11-wm/i3/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= i3
-DISTVERSION= 3.b
+DISTVERSION= 3.c
CATEGORIES= x11-wm
MASTER_SITES= http://i3.zekjur.net/downloads/ \
${MASTER_SITE_LOCAL}
@@ -16,7 +16,6 @@ MAINTAINER= dhn@FreeBSD.org
COMMENT= An improved dynamic tiling window manager
BUILD_DEPENDS= asciidoc:${PORTSDIR}/textproc/asciidoc \
- readlink:${PORTSDIR}/sysutils/readlink \
xmlto:${PORTSDIR}/textproc/xmlto
LIB_DEPENDS= xcb.2:${PORTSDIR}/x11/libxcb \
xcb-event.1:${PORTSDIR}/x11/xcb-util \
@@ -34,6 +33,12 @@ PLIST_DIRS= etc/i3
MAN1= i3.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 700000
+BROKEN= Does not compile on FreeBSD 6.X
+.endif
+
post-extract:
@cd ${WRKSRC} && ${CP} i3.config config.sample
@@ -41,11 +46,7 @@ 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|PREFIX|${PREFIX}/|g' ${WRKSRC}/man/Makefile
- @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3.man
-
-# Create the manpage
-post-build:
- @cd ${WRKSRC} && ${GMAKE} -C man
+ @${REINPLACE_CMD} -e 's|/usr/|${PREFIX}/|g' ${WRKSRC}/man/i3.1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
@@ -61,4 +62,4 @@ do-install:
@${ECHO_MSG} ""
@${ECHO_MSG} "======================================================================================"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/x11-wm/i3/distinfo b/x11-wm/i3/distinfo
index de4025e58619..609a97f70be1 100644
--- a/x11-wm/i3/distinfo
+++ b/x11-wm/i3/distinfo
@@ -1,3 +1,3 @@
-MD5 (i3-3.b.tar.bz2) = 997a46902d7a12bd5a247d3c436cc8c0
-SHA256 (i3-3.b.tar.bz2) = 87330b10fc7482971462fd65fceb0b30cb5f686a180ff29e06bd7f3f89c4194e
-SIZE (i3-3.b.tar.bz2) = 97884
+MD5 (i3-3.c.tar.bz2) = 8e3a4c3784beee5c5034c7570bcff1c8
+SHA256 (i3-3.c.tar.bz2) = 91726aa4fb958ff7e57ce4f074c086b738eacc231be34bc60d9d31693e493155
+SIZE (i3-3.c.tar.bz2) = 110076
diff --git a/x11-wm/i3/files/patch-man_Makefile b/x11-wm/i3/files/patch-man_Makefile
deleted file mode 100644
index 99f4f3736f03..000000000000
--- a/x11-wm/i3/files/patch-man_Makefile
+++ /dev/null
@@ -1,8 +0,0 @@
---- man/Makefile.orig 2009-06-29 20:42:52.000000000 +0200
-+++ man/Makefile 2009-06-29 20:43:13.000000000 +0200
-@@ -1,4 +1,4 @@
- all:
-- a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3.man
-+ PATH=PREFIX/bin:/usr/bin /usr/local/bin/a2x -f manpage --asciidoc-opts="-f asciidoc.conf" i3.man
- clean:
- rm -f i3.xml i3.1 i3.html