diff options
author | trevor <trevor@FreeBSD.org> | 2002-07-15 12:31:33 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2002-07-15 12:31:33 +0800 |
commit | 6bb6c52237c24978884103596e3371aa8a540c16 (patch) | |
tree | 98af810c35d360f83bb314bf1703068033f0cce8 | |
parent | 83a02929aff4a4bf5938475a4708f853a4a05a9d (diff) | |
download | freebsd-ports-graphics-6bb6c52237c24978884103596e3371aa8a540c16.tar.gz freebsd-ports-graphics-6bb6c52237c24978884103596e3371aa8a540c16.tar.zst freebsd-ports-graphics-6bb6c52237c24978884103596e3371aa8a540c16.zip |
Add the matchbox window manager.
-rw-r--r-- | x11-wm/Makefile | 1 | ||||
-rw-r--r-- | x11-wm/matchbox/Makefile | 66 | ||||
-rw-r--r-- | x11-wm/matchbox/distinfo | 1 | ||||
-rw-r--r-- | x11-wm/matchbox/files/patch-util_monolaunch.c | 19 | ||||
-rw-r--r-- | x11-wm/matchbox/pkg-comment | 1 | ||||
-rw-r--r-- | x11-wm/matchbox/pkg-descr | 14 |
6 files changed, 102 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile index 1ae333e62be..237669266dd 100644 --- a/x11-wm/Makefile +++ b/x11-wm/Makefile @@ -53,6 +53,7 @@ SUBDIR += libdockapp SUBDIR += libepplet SUBDIR += lwm + SUBDIR += matchbox SUBDIR += metacity SUBDIR += metacity-setup SUBDIR += mlvwm diff --git a/x11-wm/matchbox/Makefile b/x11-wm/matchbox/Makefile new file mode 100644 index 00000000000..601b2c1eb5c --- /dev/null +++ b/x11-wm/matchbox/Makefile @@ -0,0 +1,66 @@ +# New ports collection makefile for: matchbox +# Date created: 2002-07-14 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= matchbox +PORTVERSION= 0.3 +CATEGORIES= x11-wm +MASTER_SITES= http://handhelds.org/~mallum/downloadables/matchbox/ + +MAINTAINER= trevor@FreeBSD.org + +DOCS= AUTHORS COPYING ChangeLog NEWS README TODO + +CONFIGURE_ARGS= --prefix=${PREFIX} +GNU_CONFIGURE= yes +MAN1= matchbox.1 mbcontrol.1 monolaunch.1 miniapm.1 minisys.1 minitime.1 minivol.1 +PLIST= ${WRKDIR}/pkg-plist +USE_X_PREFIX= yes + +pre-install: + ${ECHO_CMD} bin/matchbox > ${PLIST} +.for ii in minitime minisys minivol monolaunch mbcontrol mbdock + ${ECHO_CMD} bin/${ii} >> ${PLIST} +.endfor + cd ${WRKSRC}/data/themes && ${FIND} -s . -type f | \ + ${CUT} -c3-999 | \ + ${SED} -e 's:^:share/data/matchbox/:' >> ${PLIST} \ + && ${FIND} -d . -type d | \ + ${CUT} -c3-999 | \ + ${SED} -e 's:^:@dirrm share/data/matchbox/:' >> ${PLIST} +.if !defined(NOPORTDOCS) +.for ii in ${DOCS} + ${ECHO_CMD} share/doc/matchbox/${ii} >> ${PLIST} +.endfor + ${ECHO_CMD} @dirrm share/doc/matchbox >> ${PLIST} +.endif +.for ii in share/matchbox/mbdock share/matchbox + ${ECHO_CMD} @dirrm ${ii} >> ${PLIST} +.endfor + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/matchbox ${PREFIX}/bin +.for ii in minitime minisys minivol monolaunch mbcontrol + ${INSTALL_PROGRAM} ${WRKSRC}/util/${ii} ${PREFIX}/bin +.endfor + ${INSTALL_PROGRAM} ${WRKSRC}/dock/mbdock ${PREFIX}/bin + ${MKDIR} ${DATADIR} + cd ${WRKSRC}/data/ && pax -r -w themes ${DATADIR} \ + && pax -r -w mbdock ${DATADIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for ii in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${ii} ${DOCSDIR} +.endfor +.endif +.for ii in defaults icon.xpm + ${INSTALL_DATA} ${WRKSRC}/data/${ii} ${DATADIR} +.endfor +.for ii in ${MAN1} + ${INSTALL_MAN} ${WRKSRC}/doc/${ii} ${PREFIX}/man/man1/ +.endfor + +.include <bsd.port.mk> diff --git a/x11-wm/matchbox/distinfo b/x11-wm/matchbox/distinfo new file mode 100644 index 00000000000..9729515e3ee --- /dev/null +++ b/x11-wm/matchbox/distinfo @@ -0,0 +1 @@ +MD5 (matchbox-0.3.tar.gz) = 6a14ff325653a601d7643b1b0a627091 diff --git a/x11-wm/matchbox/files/patch-util_monolaunch.c b/x11-wm/matchbox/files/patch-util_monolaunch.c new file mode 100644 index 00000000000..b2e753ab2b2 --- /dev/null +++ b/x11-wm/matchbox/files/patch-util_monolaunch.c @@ -0,0 +1,19 @@ +$FreeBSD$ + +--- util/monolaunch.c.orig Wed Jul 10 06:38:02 2002 ++++ util/monolaunch.c Sun Jul 14 20:41:16 2002 +@@ -20,14 +20,12 @@ + */ + + #include <stdlib.h> +-#include <getopt.h> + #include <string.h> + #include <fcntl.h> + #include <stdio.h> + #include <errno.h> + #include <sys/types.h> + #include <sys/stat.h> +-#include <sys/sysmacros.h> + #include <signal.h> + #include <X11/X.h> + #include <X11/Xlib.h> diff --git a/x11-wm/matchbox/pkg-comment b/x11-wm/matchbox/pkg-comment new file mode 100644 index 00000000000..0ed914e728c --- /dev/null +++ b/x11-wm/matchbox/pkg-comment @@ -0,0 +1 @@ +Window manager suitable for low-resolution screens diff --git a/x11-wm/matchbox/pkg-descr b/x11-wm/matchbox/pkg-descr new file mode 100644 index 00000000000..b5c21acf9ed --- /dev/null +++ b/x11-wm/matchbox/pkg-descr @@ -0,0 +1,14 @@ +The matchbox window manager is suitable for use on low-resolution +screens, such as those on mobile computers. It sizes most windows +so they take up the whole screen. All decorations are contained +in the title bar. + +Besides the window manager itself, this port installs the dock and +applets (clock, battery meter, load meter, mixer, launcher, and +theme changer--the mbmenu and mbwave applets are omitted because +they are Linux-specific). + +The dock may be used with the metacity window manager. Matchbox +is compatible with the GNOME and KDE panels. + +WWW: http://handhelds.org/~mallum/matchbox/ |