From 3d4e276d1b85062cbea67c75dde201d0c114e092 Mon Sep 17 00:00:00 2001
From: Kirill Ponomarev <krion@FreeBSD.org>
Date: Sun, 16 Nov 2003 15:16:42 +0000
Subject: - Update to version 0.4.2

PR:		59335
Submitted by:	Ports Fury
---
 x11-wm/w9wm/Makefile                      | 14 ++++++++------
 x11-wm/w9wm/distinfo                      |  2 +-
 x11-wm/w9wm/files/patch-Makefile.no-imake | 29 -----------------------------
 x11-wm/w9wm/pkg-descr                     |  2 +-
 4 files changed, 10 insertions(+), 37 deletions(-)
 delete mode 100644 x11-wm/w9wm/files/patch-Makefile.no-imake

(limited to 'x11-wm/w9wm')

diff --git a/x11-wm/w9wm/Makefile b/x11-wm/w9wm/Makefile
index 339f2ab5b577..398316f1435e 100644
--- a/x11-wm/w9wm/Makefile
+++ b/x11-wm/w9wm/Makefile
@@ -6,19 +6,21 @@
 #
 
 PORTNAME=	w9wm
-PORTVERSION=	0.4.1
+PORTVERSION=	0.4.2
 CATEGORIES=	x11-wm
-MASTER_SITES=	http://inferno.cs.univ-paris8.fr/~drieu/w9wm/src/
+MASTER_SITES=	http://www.grassouille.org/code/w9wm/src/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A hack of 9wm to give virtual screens
 
-USE_X_PREFIX=	yes
-MAKEFILE=	Makefile.no-imake
+WRKSRC=		${WRKDIR}/${DISTNAME}.orig
+
+USE_IMAKE=	yes
+USE_REINPLACE=	yes
 
 MAN1=		w9wm.1
 
-pre-patch:
-	@${PERL} -pi.orig -e 's|malloc.h|stdlib.h|' ${WRKSRC}/client.c
+post-patch:
+	@${REINPLACE_CMD} -e '/malloc\.h/d' ${WRKSRC}/client.c
 
 .include <bsd.port.mk>
diff --git a/x11-wm/w9wm/distinfo b/x11-wm/w9wm/distinfo
index 19cdb92e4a02..316d474acf54 100644
--- a/x11-wm/w9wm/distinfo
+++ b/x11-wm/w9wm/distinfo
@@ -1 +1 @@
-MD5 (w9wm-0.4.1.tar.gz) = 102169e67b9b616f16b21da97bfb8289
+MD5 (w9wm-0.4.2.tar.gz) = 4c4bf243d9ae1478878c2b3bfcda144f
diff --git a/x11-wm/w9wm/files/patch-Makefile.no-imake b/x11-wm/w9wm/files/patch-Makefile.no-imake
deleted file mode 100644
index 652b84efb702..000000000000
--- a/x11-wm/w9wm/files/patch-Makefile.no-imake
+++ /dev/null
@@ -1,29 +0,0 @@
---- Makefile.no-imake.orig	Wed Dec  6 19:02:10 2000
-+++ Makefile.no-imake	Sat Mar 17 23:17:16 2001
-@@ -6,11 +6,11 @@
- # if you're using AIX, add "-DBSD_INCLUDES" to "CFLAGS".
- #
- 
--CFLAGS = -g -DSHAPE
--LDFLAGS = -lXext -lX11
--BIN = /usr/bin/X11
-+CFLAGS += -DSHAPE -I${X11BASE}/include
-+LDFLAGS = -lXext -lX11 -L${X11BASE}/lib
-+BIN = ${X11BASE}/bin
- 
--MANDIR = /usr/man/man1
-+MANDIR = ${X11BASE}/man/man1
- MANSUFFIX = 1
- 
- #
-@@ -31,9 +31,7 @@
- 
- install: w9wm
- 	cp w9wm $(BIN)/w9wm
--
--install.man:
--	cp 9wm.man $(MANDIR)/9wm.$(MANSUFFIX)
-+	cp w9wm.1 $(MANDIR)/w9wm.$(MANSUFFIX)
- 
- $(OBJS): $(HFILES)
- 
diff --git a/x11-wm/w9wm/pkg-descr b/x11-wm/w9wm/pkg-descr
index 29a04617c8d4..1ba91bbb2379 100644
--- a/x11-wm/w9wm/pkg-descr
+++ b/x11-wm/w9wm/pkg-descr
@@ -12,7 +12,7 @@ w9wm brings support for virtual screens (provided you use the second
 button, aka middle button to select one virtual screen) as well as for
 key bindings (to switch from one window to another).
 
-WWW: http://inferno.cs.univ-paris8.fr/~drieu/w9wm/
+WWW: http://www.grassouille.org/code/w9wm.en.html
 
 - George Reid
 greid@ukug.uk.freebsd.org
-- 
cgit v1.2.3