On Sun, May 28, 2006 at 12:07:41PM +0200, Jasper Lievisse Adriaanse wrote:
> 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.
I did, if it wasn't, then there is a bug in fmt ;) I think removing the
name of the application in pkg/DESCR is a matter of taste, most ports i've
checked include it.

> - NO_REGRESS, since there are no regression tests.
:)

> - and some more little things, like honoring CFLAGS.
Doesn't work like steven pointed out, fixed it in another way. Plus
some other small things like forgeting $OpenBSD$...

> [...] 
> 
> Cheers,
> Jasper
> 
> -- 
> Humppa is a serious thing!
> 
> 

Thanks for testing jasper.

Here is the new diff, the complete thingie is attached.

diff -ur wmii.orig/Makefile wmii/Makefile
--- wmii.orig/Makefile  Sat May 27 20:25:11 2006
+++ wmii/Makefile       Sun May 28 13:28:36 2006
@@ -1,3 +1,5 @@
+# $OpenBSD$
+
 COMMENT=               "dynamic window manager"
 
 DISTNAME=              wmii-3
@@ -18,8 +20,10 @@
 
 USE_X11=               Yes
 
+NO_REGRESS=            Yes
+
 post-install:
-       mkdir -p ${PREFIX}/share/examples
-       mv ${WRKINST}/etc/${DISTNAME} ${PREFIX}/share/examples
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples
+       mv ${WRKINST}${SYSCONFDIR}/${DISTNAME} ${PREFIX}/share/examples
 
 .include <bsd.port.mk>
diff -ur 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 13:25:35 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 13:25:02 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+= -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
        -DVERSION=\"${VERSION}\"
  LDFLAGS = ${LIBS}
  

Tobias

Attachment: wmii.tar.gz
Description: application/tar-gz

Reply via email to