summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2009-08-23 16:20:37 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2009-08-23 16:20:37 +0000
commit945fb1922dec16a8a7b0a0a90d86511cc662fce1 (patch)
tree0404fc8f0494e16e463fb20370d13e1621744883 /x11-wm
parentChase the fribidi shared lib bump. (diff)
- Update to 3.c
Notes
Notes: svn path=/head/; revision=240199
Diffstat (limited to 'x11-wm')
-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