From f25ad800ff0978d902f4385ff1557f7aaf5c931e Mon Sep 17 00:00:00 2001 From: arved Date: Thu, 26 Jun 2003 15:53:21 +0000 Subject: 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 --- mail/Makefile | 1 + mail/wmymail/Makefile | 23 ++++++++++++++++++ mail/wmymail/distinfo | 1 + mail/wmymail/files/patch-Makefile | 49 +++++++++++++++++++++++++++++++++++++++ mail/wmymail/pkg-descr | 7 ++++++ mail/wmymail/pkg-plist | 1 + 6 files changed, 82 insertions(+) create mode 100644 mail/wmymail/Makefile create mode 100644 mail/wmymail/distinfo create mode 100644 mail/wmymail/files/patch-Makefile create mode 100644 mail/wmymail/pkg-descr create mode 100644 mail/wmymail/pkg-plist (limited to 'mail') 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 +# +# $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 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 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 -- cgit