Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2012 09:27:00 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r309345 - in head/x11-wm/treewm: . files
Message-ID:  <201212210927.qBL9R0aP031872@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Dec 21 09:26:59 2012
New Revision: 309345
URL: http://svnweb.freebsd.org/changeset/ports/309345

Log:
  - Fix case usage in the COMMENT line
  - Drop pretty much obvious pkg-message (including 404'ed link)
  - Cleanup Makefile, sort knobs, get rid of .for loops
  - Improve port description while here

Deleted:
  head/x11-wm/treewm/files/pkg-message.in
Modified:
  head/x11-wm/treewm/Makefile
  head/x11-wm/treewm/pkg-descr

Modified: head/x11-wm/treewm/Makefile
==============================================================================
--- head/x11-wm/treewm/Makefile	Fri Dec 21 07:10:21 2012	(r309344)
+++ head/x11-wm/treewm/Makefile	Fri Dec 21 09:26:59 2012	(r309345)
@@ -1,4 +1,4 @@
-# Created by: Rudolf Polzer
+# Created by: Rudolf Polzer <freebsd-dr@durchnull.de>
 # $FreeBSD$
 
 PORTNAME=	treewm
@@ -8,50 +8,41 @@ CATEGORIES=	x11-wm
 MASTER_SITES=	SF
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Window Manager that arranges the windows in a tree
+COMMENT=	Window manager that arranges windows in a tree
 
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	xmkmf:${PORTSDIR}/devel/imake
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 USE_BZIP2=	yes
-USE_XORG=	x11 ice sm xext xmu xpm xt xxf86vm
 USE_GMAKE=	yes
+USE_XORG=	x11 ice sm xext xmu xpm xt xxf86vm
 MAKE_JOBS_SAFE=	yes
 
-SUB_FILES=	pkg-message
-
 PORTDOCS=	AUTHORS ChangeLog INSTALL PROBLEMS README README.tiling TODO
 PORTEXAMPLES=	default.cfg sample.cfg
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
+
 .include <bsd.port.options.mk>
 
 post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^PREFIX/s| =| ?=| ; \
-		/^CXXFLAGS/s| =| ?=| ; \
+	@${REINPLACE_CMD} -e '/^PREFIX/s| =| ?=| ; /^CXXFLAGS/s| =| ?=| ; \
 		s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/Makefile
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/src/treewm ${PREFIX}/bin
 	${INSTALL_PROGRAM} ${WRKSRC}/xprop/xprop ${PREFIX}/bin/xprop-treewm
 	${INSTALL_PROGRAM} ${WRKSRC}/xkill/xkill ${PREFIX}/bin/xkill-treewm
-	${MKDIR} ${DATADIR}/pixmaps
+	@${MKDIR} ${DATADIR}/pixmaps
 	${INSTALL_DATA} ${WRKSRC}/src/pixmaps/*.xpm ${DATADIR}/pixmaps
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-.for F in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${F} ${DOCSDIR}
-.endfor
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
 	@${MKDIR} ${EXAMPLESDIR}
-.for F in ${PORTEXAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/${F} ${EXAMPLESDIR}
-.endfor
+	${INSTALL_DATA} ${PORTEXAMPLES:S|^|${WRKSRC}/|} ${EXAMPLESDIR}
 .endif
-	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>

Modified: head/x11-wm/treewm/pkg-descr
==============================================================================
--- head/x11-wm/treewm/pkg-descr	Fri Dec 21 07:10:21 2012	(r309344)
+++ head/x11-wm/treewm/pkg-descr	Fri Dec 21 09:26:59 2012	(r309345)
@@ -1,8 +1,21 @@
-treewm is a window manager that tries to implement a new concept. In addition to
-the client windows the user can create desktops which can themselves contain
-windows and desktops. By arranging the windows in such a tree the user is able
-to manage his tasks efficiently.
+treewm is a window manager that tries to implement a new concept.  In addition
+to the client windows the user can create desktops which can themselves contain
+windows and desktops.  By arranging the windows in such a tree the user is able
+to manage his tasks efficiently  treewm is feature-rich, flexible and provides
+a powerful concept.  However, treewm's look is is rather puristic, and its feel
+is not always intuitive, but with a bit of practise it should be very effective
+to use.
 
-More info: http://www.informatik.uni-frankfurt.de/~polzer/treewmdurchnull/
+Short feature list (some of them are quite unique among window managers):
+
+  - Allows to create desktops and to arbitrarily move windows between desktops
+  - Many options (such as sticky, autoresize, always on top, or the focus or
+    raise policy) can be set for any desktop or window
+  - Can be fully customized using the configuration file
+  - Has a very powerful (somewhat vi-like) command mode, and can be controlled
+    from shell scripts via a FIFO
+  - Icons can be placed on desktops that can execute arbitrary commands
+  - Only uses very common libraries, in particular it doesn't require GTK, Qt,
+    or anything like that
 
 WWW: http://treewm.sourceforge.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212210927.qBL9R0aP031872>