summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm/pwm')
-rw-r--r--x11-wm/pwm/Manifest4
-rw-r--r--x11-wm/pwm/files/digest-pwm-1.0.200306171
-rw-r--r--x11-wm/pwm/pwm-1.0.20030617.ebuild55
3 files changed, 58 insertions, 2 deletions
diff --git a/x11-wm/pwm/Manifest b/x11-wm/pwm/Manifest
index 7ef8af14be80..aad1bdc420e1 100644
--- a/x11-wm/pwm/Manifest
+++ b/x11-wm/pwm/Manifest
@@ -1,5 +1,5 @@
-MD5 44a6bd443448d4790600bfc34d623776 ChangeLog 836
+MD5 faa792520cc04e4b7369a8b63bd0f8fa ChangeLog 979
MD5 69045ebabcc37ee8af90fac93b099097 pwm-1.0.20010309.ebuild 1425
-MD5 32036c62a8b23a2a23d7fc8ebdaddb9b pwm-1.0.20030617.ebuild 1540
+MD5 0ab17e622ba456a59ee31e56eac9f6f3 pwm-1.0.20030617.ebuild 1516
MD5 a445b90b242219cab13a332071404955 files/digest-pwm-1.0.20010309 63
MD5 dca9f22fbfe6c1b338f1c4704d3962f8 files/digest-pwm-1.0.20030617 64
diff --git a/x11-wm/pwm/files/digest-pwm-1.0.20030617 b/x11-wm/pwm/files/digest-pwm-1.0.20030617
new file mode 100644
index 000000000000..5a5d41b52eb4
--- /dev/null
+++ b/x11-wm/pwm/files/digest-pwm-1.0.20030617
@@ -0,0 +1 @@
+MD5 069f51aa3e1a938675d58b4acff15765 pwm-20030617.tar.gz 152149
diff --git a/x11-wm/pwm/pwm-1.0.20030617.ebuild b/x11-wm/pwm/pwm-1.0.20030617.ebuild
new file mode 100644
index 000000000000..20ae3095165f
--- /dev/null
+++ b/x11-wm/pwm/pwm-1.0.20030617.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+
+S=${WORKDIR}/${P}
+DESCRIPTION="A lightweight window manager. It was the first window manager to implement tabbed frames or the back then unique feature allowing multiple client windows can be attached to the same frame or This feature helps keeping windows, especially the numerous xterms, organized. "
+SRC_URI="http://modeemi.fi/~tuomov/dl/${P}.tar.gz"
+HOMEPAGE="http://modeemi.fi/~tuomov/pwm/"
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~ppc"
+IUSE="gnome"
+
+DEPEND="virtual/x11"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ cp Makefile Makefile.orig
+ sed -e "s:\$(DOCDIR)/pwm:\$(DOCDIR)/${PF}:g" \
+ -e "s:^MANDIR=.*$::" \
+ -e "s:^DOCDIR=.*$::" \
+ -e "s:^ETCDIR=.*$::" \
+ Makefile.orig >Makefile
+ cp system.mk system.orig
+ sed -e "s:-g -O2:${CFLAGS}:" \
+ -e 's:\$(WARN)::' \
+ system.orig >system.mk
+ cp config.h config.orig
+ sed -e "s:^#define CF_SYS_CONFIG_LOCATION.*$:#define CF_SYS_CONFIG_LOCATION \"/etc/X11/pwm/\":" \
+ config.orig >config.h
+}
+
+src_compile() {
+ emake PREFIX=/usr \
+ MANDIR=/usr/share/man \
+ DOCDIR=/usr/share/doc \
+ ETCDIR=/etc/X11 \
+ || die "make failed"
+}
+
+src_install() {
+ make PREFIX=${D}/usr \
+ MANDIR=${D}/usr/share/man \
+ DOCDIR=${D}/usr/share/doc \
+ ETCDIR=${D}/etc/X11 \
+ install || die "install failed"
+
+ if [ "`use gnome`" ]
+ then
+ insinto /usr/share/gnome/wm-properties
+ doins support/PWM.desktop
+ fi
+ dodoc ChangeLog README
+}