1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Update to 3.c

This commit is contained in:
Dennis Herrmann 2009-08-23 16:20:37 +00:00
parent 3be3b55af8
commit 945fb1922d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=240199
3 changed files with 12 additions and 19 deletions

View File

@ -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>

View File

@ -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

View File

@ -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