1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add back wmanager, which was prematurely deleted by will. In fact, this

port doesn't even use qt, so remove the bogus dependency on it.
This commit is contained in:
Kris Kennaway 2002-05-24 12:01:03 +00:00
parent 11299cca11
commit 787ddab31f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59888
10 changed files with 142 additions and 0 deletions

View File

@ -82,6 +82,7 @@
SUBDIR += windowmaker
SUBDIR += wm2
SUBDIR += wmakerconf
SUBDIR += wmanager
SUBDIR += wmg
SUBDIR += wmthemeinstall
SUBDIR += wmx

45
x11-wm/wmanager/Makefile Normal file
View File

@ -0,0 +1,45 @@
# New ports collection makefile for: wmanager
# Date created: 19 Nov 1999
# Whom: Will Andrews <andrews@technologist.com>
#
# $FreeBSD$
#
PORTNAME= wmanager
PORTVERSION= 0.2
CATEGORIES= x11-wm
MASTER_SITES= http://kassandra.techfak.uni-bielefeld.de/mtessmer/wmanager/
EXTRACT_SUFX= .src.tar.bz2
MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk/
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
MAKE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmanager ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/.wmanagerrc \
${PREFIX}/share/examples/${PORTNAME}/wmanagerrc_sample
@${INSTALL_DATA} ${WRKSRC}/.xinitrc \
${PREFIX}/share/examples/${PORTNAME}/xinitrc_sample
.for file in FAQ HISTORY INSTALL NEWS README TODO
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
@${ECHO} ""
@${ECHO} "Examples of .xinitrc and .wmanagerrc have been installed"
@${ECHO} "in ${PREFIX}/share/examples/${PORTNAME} and docs have"
@${ECHO} "been installed to ${DOCSDIR}."
@${ECHO} ""
.endif
.include <bsd.port.mk>

1
x11-wm/wmanager/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (wmanager-0.2.src.tar.bz2) = 29b00db8ad366fec9211cac3931cf2a0

View File

@ -0,0 +1,61 @@
$FreeBSD$
--- Makefile.orig Sun Nov 14 17:29:24 1999
+++ Makefile Tue Aug 14 13:08:36 2001
@@ -29,17 +29,21 @@
SHELL = /bin/sh
MAKEFLAGS = --print-directory
+# base settings
+bindir = $(PREFIX)/bin
+incdir = ./inc
+srcdir = ./src
+fltkinc = $(X11BASE)/include
+x11lib = $(X11BASE)/lib
# compiler settings
-CXX = g++
-CXXFLAGS = -I$(incdir) -O2 -Wall -pedantic #-DDEBUG=1 -g3
-
+CXX = g++
+CXXFLAGS+= -I$(fltkinc) -I$(incdir) -Wall -pedantic $(PTHREAD_CFLAGS) #-DDEBUG=1 -g3
# linker settings
LD = g++
-LDFLAGS = -lfltk -lXext -lX11 -lm
-LDDIRS = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib
-
+LDFLAGS = -lMesaGL -lfltk -lXext -lX11 -lm $(PTHREAD_LIBS)
+LDDIRS = -L$(x11lib) -L/usr/lib -L/usr/local/lib
# install settings
INSTALL = /usr/bin/install
@@ -50,17 +54,6 @@
DOCTOOL = perceps
DOCTOOL_FLAGS = -a -b -f -h -m -r
-# base locations
-prefix = /usr/local
-exec_prefix = $(prefix)
-bindir = $(exec_prefix)/bin
-
-
-# include files and sources
-incdir = ./inc
-srcdir = ./src
-
-
# documentational files for developer
docdir = ./doc
templates = $(docdir)/templates
@@ -82,8 +75,7 @@
# project version
VERSION = 0.1.1
-
-all: wmanager TAGS
+all: wmanager
wmanager: $(OBJ)
$(LD) -o $@ $^ $(LDDIRS) $(LDFLAGS)

View File

@ -0,0 +1,11 @@
--- src/WManager.cc Wed Sep 29 13:23:17 1999
+++ src/WManager.cc.new Fri Nov 19 23:07:25 1999
@@ -9,6 +9,8 @@
#include <fstream> // file streams
#include <cstring> // only for 'strtok'
#include <pwd.h> // for home directory
+#include <unistd.h>
+#include <sys/types.h>
// PROJECT INCLUDES ////////////////////////////////

View File

@ -0,0 +1,3 @@
Docs have been installed in /usr/X11R6/share/wmanager/.
You are advised to have a look at the sample .wmanagerrc
and .xinitrc's available there.

View File

@ -0,0 +1 @@
X11 window manager selector

View File

@ -0,0 +1,5 @@
WManager is a windowmanager manager. Quite a tongue twister, eh?
It "manages" your windowmanagers by letting you choose from your
favorites on starting up X.
WWW: http://kassandra.techfak.uni-bielefeld.de/mtessmer/wmanager/

View File

@ -0,0 +1,3 @@
Docs have been installed in /usr/X11R6/share/wmanager/.
You are advised to have a look at the sample .wmanagerrc
and .xinitrc's available there.

11
x11-wm/wmanager/pkg-plist Normal file
View File

@ -0,0 +1,11 @@
bin/wmanager
%%PORTDOCS%%share/doc/wmanager/FAQ
%%PORTDOCS%%share/doc/wmanager/HISTORY
%%PORTDOCS%%share/doc/wmanager/INSTALL
%%PORTDOCS%%share/doc/wmanager/NEWS
%%PORTDOCS%%share/doc/wmanager/README
%%PORTDOCS%%share/doc/wmanager/TODO
%%PORTDOCS%%share/examples/wmanager/wmanagerrc_sample
%%PORTDOCS%%share/examples/wmanager/xinitrc_sample
%%PORTDOCS%%@dirrm share/examples/wmanager
%%PORTDOCS%%@dirrm share/doc/wmanager