summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2001-01-26 03:34:34 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2001-01-26 03:34:34 +0000
commit2cd8db047156c6c45a307bf2e6043d5bb2531472 (patch)
tree47d78a06cc6fac448fea4078dde9bdda118b200d
parentAdd update1 from master_site. (diff)
new port of qlwm 2.1, a window manager based on Qt 2.x
Obtained from: OpenBSD
Notes
Notes: svn path=/head/; revision=37591
-rw-r--r--x11-wm/Makefile1
-rw-r--r--x11-wm/qlwm/Makefile70
-rw-r--r--x11-wm/qlwm/distinfo1
-rw-r--r--x11-wm/qlwm/files/patch-dclock_Makefile11
-rw-r--r--x11-wm/qlwm/files/patch-mail_Makefile11
-rw-r--r--x11-wm/qlwm/files/patch-src_Makefile20
-rw-r--r--x11-wm/qlwm/files/qlwm8
-rw-r--r--x11-wm/qlwm/pkg-comment1
-rw-r--r--x11-wm/qlwm/pkg-descr12
9 files changed, 135 insertions, 0 deletions
diff --git a/x11-wm/Makefile b/x11-wm/Makefile
index 3f979d14a8c4..7be76efdfce8 100644
--- a/x11-wm/Makefile
+++ b/x11-wm/Makefile
@@ -37,6 +37,7 @@
SUBDIR += olvwm
SUBDIR += piewm
SUBDIR += pwm
+ SUBDIR += qlwm
SUBDIR += qvwm
SUBDIR += sapphire
SUBDIR += sapphire-themes
diff --git a/x11-wm/qlwm/Makefile b/x11-wm/qlwm/Makefile
new file mode 100644
index 000000000000..e89e3c1ebf14
--- /dev/null
+++ b/x11-wm/qlwm/Makefile
@@ -0,0 +1,70 @@
+# New ports collection makefile for: qlwm
+# Date created: 2000-01-24
+# Whom: trevor
+# based on the OpenBSD port by Marc Espie <espie@openbsd.org>
+#
+# $OpenBSD: Makefile,v 1.2 2000/10/20 12:27:06 espie Exp $
+# $FreeBSD$
+#
+
+PORTNAME= qlwm
+PORTVERSION= 2.1
+CATEGORIES= x11-wm
+MASTER_SITES= http://www.netcologne.de/~nc-lindenal/qlwm/
+
+MAINTAINER= trevor@FreeBSD.org
+
+DOCDIR= share/doc/qlwm
+DOCS= CHANGES README
+LIBDIR= lib/qlwm
+PLIST= ${WRKDIR}/pkg-plist
+MAN1= qlwm.1
+USE_QT2= yes
+USE_X_PREFIX= yes
+
+MAKE_ENV= CPPFLAGS="-I${X11BASE}/include/qt2 -I${X11BASE}/include" \
+ LFLAGS="-L${X11BASE}/lib -L${X11BASE}/lib/qt2" \
+ QTDIR=${X11BASE} \
+ DEST=${PREFIX}/${LIBDIR}
+
+post-patch:
+ ${PERL} -pi -e "s:/usr/local/qlwm:${PREFIX}/${LIBDIR}:g" ${WRKSRC}/Makefile
+ ${PERL} -pi -e "s:-lqt:-lqt2:g ; s:bin/moc:bin/moc2:g" \
+ ${WRKSRC}/*/Makefile
+
+pre-install:
+ ${ECHO} bin/qlwm > ${PLIST}
+.for i in biff dclock qlwm
+ ${ECHO} ${LIBDIR}/$i >> ${PLIST}
+.endfor
+ for i in `cd ${WRKSRC}/files; ${ECHO} *`; do \
+ ${ECHO} ${LIBDIR}/files/$$i >> ${PLIST}; \
+ done
+.if !defined(NOPORTDOCS)
+.for i in ${DOCS}
+ ${ECHO} ${DOCDIR}/$i >> ${PLIST}
+.endfor
+.endif
+.for i in ${LIBDIR}/files ${LIBDIR}
+ ${ECHO} @dirrm $i >> ${PLIST}
+.endfor
+.if !defined(NOPORTDOCS)
+ ${ECHO} @dirrm ${DOCDIR} >> ${PLIST}
+.endif
+
+do-install:
+ ${MKDIR} ${PREFIX}/${LIBDIR}/files
+ ${INSTALL_DATA} ${WRKSRC}/files/* ${PREFIX}/${LIBDIR}/files
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/qlwm ${WRKSRC}/dclock/dclock \
+ ${WRKSRC}/mail/biff ${PREFIX}/${LIBDIR}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/${DOCDIR}
+.for i in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/${DOCDIR}
+.endfor
+.endif
+ ${INSTALL_MAN} ${WRKSRC}/qlwm.1 ${PREFIX}/man/man1
+ ${SED} -e s,%PREFIX%,${PREFIX},g <${FILESDIR}/qlwm >${WRKSRC}/qlwm
+ ${INSTALL_SCRIPT} ${WRKSRC}/qlwm ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/x11-wm/qlwm/distinfo b/x11-wm/qlwm/distinfo
new file mode 100644
index 000000000000..efa559258703
--- /dev/null
+++ b/x11-wm/qlwm/distinfo
@@ -0,0 +1 @@
+MD5 (qlwm-2.1.tar.gz) = 028c74abd39cd5666071dac5bd39f61f
diff --git a/x11-wm/qlwm/files/patch-dclock_Makefile b/x11-wm/qlwm/files/patch-dclock_Makefile
new file mode 100644
index 000000000000..a9078c1c3087
--- /dev/null
+++ b/x11-wm/qlwm/files/patch-dclock_Makefile
@@ -0,0 +1,11 @@
+--- dclock/Makefile.orig Tue Oct 17 05:05:22 2000
++++ dclock/Makefile Thu Jan 25 16:52:37 2001
+@@ -6,7 +6,7 @@
+ #CXXFLAGS = -Wall -pipe
+
+ # include files
+-INCPATH = -I$(QTDIR)/include
++INCPATH = -I$(QTDIR)/include -I${X11BASE}/include/qt2
+
+ # libraries
+ LFLAGS = -L$(QTDIR)/lib
diff --git a/x11-wm/qlwm/files/patch-mail_Makefile b/x11-wm/qlwm/files/patch-mail_Makefile
new file mode 100644
index 000000000000..bbabd1b7fd36
--- /dev/null
+++ b/x11-wm/qlwm/files/patch-mail_Makefile
@@ -0,0 +1,11 @@
+--- mail/Makefile.orig Tue Oct 17 05:05:20 2000
++++ mail/Makefile Thu Jan 25 16:52:45 2001
+@@ -8,7 +8,7 @@
+ #CXXFLAGS = -Wall -pipe
+
+ # include files
+-INCPATH = -I$(QTDIR)/include
++INCPATH = -I${X11BASE}/include/qt2 -I${X11BASE}/include
+
+ # libraries
+ LFLAGS = -L$(QTDIR)/lib
diff --git a/x11-wm/qlwm/files/patch-src_Makefile b/x11-wm/qlwm/files/patch-src_Makefile
new file mode 100644
index 000000000000..69e19afc14fe
--- /dev/null
+++ b/x11-wm/qlwm/files/patch-src_Makefile
@@ -0,0 +1,20 @@
+--- src/Makefile.orig Tue Oct 17 05:05:22 2000
++++ src/Makefile Thu Jan 25 16:54:44 2001
+@@ -7,7 +7,7 @@
+ #CXXFLAGS = -pipe -DDEBUGMSG
+
+ # include files
+-INCPATH = -I/usr/X11R6/include -I$(QTDIR)/include
++INCPATH= -I${X11BASE}/include/qt2 -I${X11BASE}/include
+
+ # libraries
+ LFLAGS = -L/usr/X11R6/lib -L$(QTDIR)/lib
+@@ -30,7 +30,7 @@
+ .SUFFIXES: .cpp
+
+ .cpp.o:
+- $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) $(CXXFLAGS) $(INCPATH) -o $@ -c $<
+
+ ####### Build rules
+
diff --git a/x11-wm/qlwm/files/qlwm b/x11-wm/qlwm/files/qlwm
new file mode 100644
index 000000000000..d404fd766b4c
--- /dev/null
+++ b/x11-wm/qlwm/files/qlwm
@@ -0,0 +1,8 @@
+#! /bin/sh
+PREFIX=%PREFIX%
+if ! test -e $HOME/.qlwm
+then
+ mkdir -p $HOME/.qlwm
+ cp ${PREFIX}/lib/qlwm/files/{defaults,appdefaults,menuconfig} $HOME/.qlwm
+fi
+exec ${PREFIX}/lib/qlwm/qlwm "$@"
diff --git a/x11-wm/qlwm/pkg-comment b/x11-wm/qlwm/pkg-comment
new file mode 100644
index 000000000000..e029a3cb0269
--- /dev/null
+++ b/x11-wm/qlwm/pkg-comment
@@ -0,0 +1 @@
+Qt-based window manager
diff --git a/x11-wm/qlwm/pkg-descr b/x11-wm/qlwm/pkg-descr
new file mode 100644
index 000000000000..e6f48f177f44
--- /dev/null
+++ b/x11-wm/qlwm/pkg-descr
@@ -0,0 +1,12 @@
+This is a window manager based on the Qt library. It supports
+icons, keyboard controls, and virtual screens. It comes with two
+applets: a biff-like mail indicator and a clock, both designed to
+be swallowed by its toolbar.
+
+Caution! This window manager will end your X session when it is
+killed, so finish up in all your X programs first.
+
+WWW: http://www.netcologne.de/~nc-lindenal/qlwm
+
+Trevor Johnson
+trevor@FreeBSD.org