On Sat, May 27, 2006 at 09:27:20PM +0200, Tobias Ulmer wrote:
> Hi,
> 
> here's a small port of my favourite window manager. It's a bit like the
> well known ion.
> 
> Tested on i386 only.
> 
> More info and screenshots is available on http://www.wmii.de
> 
> Tobias
> 
> ps: wmii-3 is not an update for x11/wmi - it's another 'generation' and
> works very different.
It works ok here on alpha, powerpc, sgi and sparc64. Though I would
suggest the following diff to:
- format pkg/DESCR to 72 chars wide.
- NO_REGRESS, since there are no regression tests.
- and some more little things, like honoring CFLAGS.

diff -urN wmii.orig/Makefile wmii/Makefile
--- wmii.orig/Makefile  Sat May 27 20:25:11 2006
+++ wmii/Makefile       Sun May 28 11:58:40 2006
@@ -1,3 +1,5 @@
+# $OpenBSD$
+
 COMMENT=               "dynamic window manager"
 
 DISTNAME=              wmii-3
@@ -12,14 +14,16 @@
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
-WANTLIB=               c m X11
+WANTLIB=               X11 c m
 
 MASTER_SITES=          http://wmii.de/download/
 
 USE_X11=               Yes
 
+NO_REGRESS=            Yes
+
 post-install:
-       mkdir -p ${PREFIX}/share/examples
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples
        mv ${WRKINST}/etc/${DISTNAME} ${PREFIX}/share/examples
 
 .include <bsd.port.mk>
diff -urN wmii.orig/patches/patch-config_mk wmii/patches/patch-config_mk
--- wmii.orig/patches/patch-config_mk   Sat May 27 19:48:46 2006
+++ wmii/patches/patch-config_mk        Sun May 28 11:47:00 2006
@@ -1,5 +1,5 @@
---- config.mk.orig     Sat May 27 19:46:49 2006
-+++ config.mk  Sat May 27 19:48:03 2006
+--- config.mk.orig     Fri May 19 13:20:53 2006
++++ config.mk  Sun May 28 11:46:41 2006
 @@ -2,8 +2,8 @@
  
  # paths
@@ -16,7 +16,7 @@
  
  # Linux/BSD
 -CFLAGS = -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-+CFLAGS = -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
++CFLAGS = -Wall -O2 -pipe -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
        -DVERSION=\"${VERSION}\"
  LDFLAGS = ${LIBS}
  
diff -urN wmii.orig/pkg/DESCR wmii/pkg/DESCR
--- wmii.orig/pkg/DESCR Sat May 27 20:53:12 2006
+++ wmii/pkg/DESCR      Sun May 28 11:45:02 2006
@@ -1,4 +1,4 @@
 wmii is a dynamic window manager for X11. It supports classic and
-dynamic window management with extended keyboard, mouse, and
-filesystem based remote control. It replaces the workspace paradigm
-with a new tagging approach.
+dynamic window management with extended keyboard, mouse, and filesystem
+based remote control. It replaces the workspace paradigm with a new
+tagging approach.

Cheers,
Jasper

-- 
Humppa is a serious thing!

Reply via email to