aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>1999-11-20 08:57:08 +0800
committerjim <jim@FreeBSD.org>1999-11-20 08:57:08 +0800
commitfeecfa2695912d16d8e7a2393827336e72dc4691 (patch)
tree8acae04a47189aa7d0bcd4c8494f32f18b0caaa6 /mail
parent924e2adaa56f002729137c2c8aeb30fd9a7ca73b (diff)
downloadfreebsd-ports-gnome-feecfa2695912d16d8e7a2393827336e72dc4691.tar.gz
freebsd-ports-gnome-feecfa2695912d16d8e7a2393827336e72dc4691.tar.zst
freebsd-ports-gnome-feecfa2695912d16d8e7a2393827336e72dc4691.zip
Import of wmbiff.
wmbiff is a dock app that displays the total number of messages or the number of unread messages in different mailboxes. It supports up to 5 mailboxes.
Diffstat (limited to 'mail')
-rw-r--r--mail/wmbiff/Makefile32
-rw-r--r--mail/wmbiff/distinfo1
-rw-r--r--mail/wmbiff/files/patch-aa44
-rw-r--r--mail/wmbiff/pkg-comment0
-rw-r--r--mail/wmbiff/pkg-descr0
-rw-r--r--mail/wmbiff/pkg-plist3
6 files changed, 80 insertions, 0 deletions
diff --git a/mail/wmbiff/Makefile b/mail/wmbiff/Makefile
new file mode 100644
index 000000000000..f6d1eb3df3f3
--- /dev/null
+++ b/mail/wmbiff/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: wmbiff
+# Version required: 0.1a
+# Date created: 19 Nov 1999
+# Whom: Jim Mock <jim@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= wmbiff-0.1a
+CATEGORIES= mail windowmaker afterstep
+MASTER_SITES= http://ccat.elect.ru:8100/wmbiff/ \
+ http://www.freebsd.org/~jim/distfiles/
+
+MAINTAINER= jim@FreeBSD.org
+
+LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
+
+USE_GMAKE= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/wmbiff
+USE_X_PREFIX= yes
+
+pre-build:
+ @(cd ${WRKSRC} && ${GMAKE} clean)
+
+post-install:
+ @${ECHO} "===> Installing sample.wmbiffrc to ${PREFIX}/share/examples/wmbiff"
+ @${ECHO} "===> Modify it to suit your needs and copy to ~/.wmbiffrc"
+ @${MKDIR} ${PREFIX}/share/examples/wmbiff && ${CHMOD} a+rx ${PREFIX}/share/examples/wmbiff
+ @${INSTALL_DATA} ${WRKSRC}/sample.wmbiffrc ${PREFIX}/share/examples/wmbiff
+ @${CHMOD} 644 ${PREFIX}/share/examples/wmbiff/sample.wmbiffrc
+
+.include <bsd.port.mk>
diff --git a/mail/wmbiff/distinfo b/mail/wmbiff/distinfo
new file mode 100644
index 000000000000..44f3f4c6b23f
--- /dev/null
+++ b/mail/wmbiff/distinfo
@@ -0,0 +1 @@
+MD5 (wmbiff-0.1a.tar.gz) = 61ba5287cb03a37528449f48169bd19f
diff --git a/mail/wmbiff/files/patch-aa b/mail/wmbiff/files/patch-aa
new file mode 100644
index 000000000000..aab17f67b0af
--- /dev/null
+++ b/mail/wmbiff/files/patch-aa
@@ -0,0 +1,44 @@
+--- Makefile.orig Fri Nov 19 16:27:15 1999
++++ Makefile Fri Nov 19 16:30:36 1999
+@@ -1,9 +1,9 @@
+-prefix=
+-BIN=/usr/X11R6/bin
+-CONF=/etc
+-LIBDIR = -L/usr/X11R6/lib
++CC ?= gcc
++CFLAGS = -c -Wall
++CONF = ${X11BASE}/etc
++LIBDIR = -L${X11BASE}/lib
++INCLUDES = -I${X11BASE}/include
+ LIBS = -lXpm -lXext -lX11
+-FLAGS = -O2
+ OBJS = wmbiff.o \
+ ../wmgeneral/wmgeneral.o \
+ ../wmgeneral/misc.o \
+@@ -11,11 +11,10 @@
+
+
+ .c.o:
+- cc -I/usr/X11R6/share/include $(FLAGS) -c -Wall $< -o $*.o
++ ${CC} ${CFLAGS} ${INCLUDES} $< -o $*.o
+
+ wmbiff: $(OBJS)
+- cc $(FLAGS) -o wmbiff $^ $(LIBDIR) $(LIBS)
+- strip -s wmbiff
++ ${CC} -o wmbiff $^ ${LIBDIR} ${LIBS}
+
+ all:: wmbiff
+
+@@ -26,11 +25,4 @@
+ rm -f wmbiff *~
+
+ install:: wmbiff
+- cp -f wmbiff $(prefix)$(BIN)/
+- chmod 755 $(prefix)$(BIN)/wmbiff
+- strip -s $(prefix)$(BIN)/wmbiff
+-# chown root:root $(prefix)$(BIN)/wminet
+-# cp wminetrc $(HOME)/.wminetrc
+-# chmod 600 $(HOME)/.wminetrc
+-# cp wmbiffrc $(prefix)$(CONF)/wmbiffrc
+-# chmod 644 $(prefix)$(CONF)/wmbiffrc
++ @/usr/bin/install -c -o 0 -g 0 -s -m 755 wmbiff ${X11BASE}/bin/wmbiff
diff --git a/mail/wmbiff/pkg-comment b/mail/wmbiff/pkg-comment
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/mail/wmbiff/pkg-comment
diff --git a/mail/wmbiff/pkg-descr b/mail/wmbiff/pkg-descr
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/mail/wmbiff/pkg-descr
diff --git a/mail/wmbiff/pkg-plist b/mail/wmbiff/pkg-plist
new file mode 100644
index 000000000000..6286e7337a2d
--- /dev/null
+++ b/mail/wmbiff/pkg-plist
@@ -0,0 +1,3 @@
+bin/wmbiff
+share/examples/wmbiff/sample.wmbiffrc
+@dirrm share/examples/wmbiff