aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-06-26 23:53:21 +0800
committerarved <arved@FreeBSD.org>2003-06-26 23:53:21 +0800
commitf25ad800ff0978d902f4385ff1557f7aaf5c931e (patch)
tree5eb17029b2b346548679be0e04c759b3ef3b7196 /mail
parent328bd37083b9b52805e6da38486e15b0ce75a496 (diff)
downloadfreebsd-ports-gnome-f25ad800ff0978d902f4385ff1557f7aaf5c931e.tar.gz
freebsd-ports-gnome-f25ad800ff0978d902f4385ff1557f7aaf5c931e.tar.zst
freebsd-ports-gnome-f25ad800ff0978d902f4385ff1557f7aaf5c931e.zip
Add wmymail, small DockApp to display the number of new mail
messages in a user's inbox. It uses fetchmail and libdockapp. PR: 42072 Submitted by: Bruce M Simpson <bms@spc.org>
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/wmymail/Makefile23
-rw-r--r--mail/wmymail/distinfo1
-rw-r--r--mail/wmymail/files/patch-Makefile49
-rw-r--r--mail/wmymail/pkg-descr7
-rw-r--r--mail/wmymail/pkg-plist1
6 files changed, 82 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 9d1ed0b889c5..bad430d23939 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -330,6 +330,7 @@
SUBDIR += wmmaiload
SUBDIR += wmmultipop3
SUBDIR += wmpop3
+ SUBDIR += wmymail
SUBDIR += xbuffy
SUBDIR += xc-mail
SUBDIR += xfmail
diff --git a/mail/wmymail/Makefile b/mail/wmymail/Makefile
new file mode 100644
index 000000000000..53500bd9f16a
--- /dev/null
+++ b/mail/wmymail/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: wmymail
+# Date created: 27 August 2002
+# Whom: Bruce M Simpson <bms@spc.org>
+#
+# $FreeBSD$
+
+PORTNAME= wmymail
+PORTVERSION= 0.2
+CATEGORIES= mail x11
+MASTER_SITES= http://yath.mine.nu/wmymail/ \
+ http://dockapps.org/files/65/96/
+
+MAINTAINER= bms@spc.org
+COMMENT= Check inbox using a WindowMaker DockApp
+
+LIB_DEPENDS= dockapp.1:${PORTSDIR}/x11-wm/libdockapp
+RUN_DEPENDS= fetchmail:${PORTSDIR}/mail/fetchmail
+
+USE_X_PREFIX= yes
+
+NOMAN=
+
+.include <bsd.port.mk>
diff --git a/mail/wmymail/distinfo b/mail/wmymail/distinfo
new file mode 100644
index 000000000000..a49a75a862cd
--- /dev/null
+++ b/mail/wmymail/distinfo
@@ -0,0 +1 @@
+MD5 (wmymail-0.2.tar.gz) = c2600ab388e92c6a1474e3f30aecf4bf
diff --git a/mail/wmymail/files/patch-Makefile b/mail/wmymail/files/patch-Makefile
new file mode 100644
index 000000000000..f2512ee08a39
--- /dev/null
+++ b/mail/wmymail/files/patch-Makefile
@@ -0,0 +1,49 @@
+--- Makefile.orig Fri Jul 27 00:25:37 2001
++++ Makefile Tue Aug 27 12:34:53 2002
+@@ -1,32 +1,22 @@
+ #
+-# Makefile for wmymail
++# Makefile for xmymail (FreeBSD) -bms
+ #
+
++PROG= wmymail
+
+-VERSION = 0.2
+-CC = gcc
+-LIBS = -L/usr/X11R6/lib -lX11 -lXpm -lXext -ldockapp
+-CFLAGS = -O2 -I/usr/X11R6/include -Wall
+-XPMS = xpm/main.xpm xpm/mbox_1.xpm xpm/mbox_2.xpm xpm/mbox_3.xpm \
+- xpm/numbers.xpm xpm/unumbers.xpm
+-DISTFILES = Makefile README README.old ChangeLog wmymail.c raw-envelope.jpg
++SRCS= wmymail.c
++
++CFLAGS+= -I${X11BASE}/include -O2 -Wall
++LDADD+= -lXpm -lX11 -lXext -ldockapp
++LDADD+= -L${X11BASE}/lib
+
+-default all target: wmymail
++NOMAN=
++
++XPMS= xpm/main.xpm xpm/mbox_1.xpm xpm/mbox_2.xpm xpm/mbox_3.xpm \
++ xpm/numbers.xpm xpm/unumbers.xpm
+
+-wmymail: wmymail.o
+- $(CC) $< $(CFLAGS) $(LIBS) -o $@
++BINDIR?= ${X11BASE}/bin
+
+-wmymail.o: wmymail.c $(XPMS)
+- $(CC) $(CFLAGS) $(MY_INCS) -o $@ -c $<
+-
+-clean:
+- rm -f wmymail wmymail.o
+-
+-dist:
+- rm -fr wmymail-$(VERSION)
+- mkdir -p wmymail-$(VERSION)/xpm
+- cp $(DISTFILES) wmymail-$(VERSION)
+- cp $(XPMS) wmymail-$(VERSION)/xpm
+- rm -f wmymail-$(VERSION).tar.gz
+- tar czvf wmymail-$(VERSION).tar.gz wmymail-$(VERSION)
++wmymail.o: wmymail.c ${XPMS}
+
++.include <bsd.prog.mk>
diff --git a/mail/wmymail/pkg-descr b/mail/wmymail/pkg-descr
new file mode 100644
index 000000000000..8b373b67261f
--- /dev/null
+++ b/mail/wmymail/pkg-descr
@@ -0,0 +1,7 @@
+wmymail is a small program which uses the fetchmail port to determine how
+many new messages are in your inbox.
+
+WWW: http://dockapps.org/file.php/id/65
+
+Bruce
+bms@spc.org
diff --git a/mail/wmymail/pkg-plist b/mail/wmymail/pkg-plist
new file mode 100644
index 000000000000..8e025c76062a
--- /dev/null
+++ b/mail/wmymail/pkg-plist
@@ -0,0 +1 @@
+bin/wmymail