diff options
author | ume <ume@FreeBSD.org> | 2000-09-15 01:27:59 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2000-09-15 01:27:59 +0800 |
commit | b2b43c4efdc4c07c395992af7f76940070bdd1ad (patch) | |
tree | 4457855c6cd412cbe837d49bbc410232606db765 /mail | |
parent | 1ea7f0de3c1a91d85141c5574c7aa4ffb33ce514 (diff) | |
download | freebsd-ports-gnome-b2b43c4efdc4c07c395992af7f76940070bdd1ad.tar.gz freebsd-ports-gnome-b2b43c4efdc4c07c395992af7f76940070bdd1ad.tar.zst freebsd-ports-gnome-b2b43c4efdc4c07c395992af7f76940070bdd1ad.zip |
A plugin for gkrellm, that watches in multiple mailboxes for new mail.
Submitted by: Tobias Reifenberger <treif@mayn.de>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/gkrellmmailwatch/Makefile | 32 | ||||
-rw-r--r-- | mail/gkrellmmailwatch/distinfo | 1 | ||||
-rw-r--r-- | mail/gkrellmmailwatch/files/patch-aa | 45 | ||||
-rw-r--r-- | mail/gkrellmmailwatch/files/patch-ab | 18 | ||||
-rw-r--r-- | mail/gkrellmmailwatch/pkg-comment | 1 | ||||
-rw-r--r-- | mail/gkrellmmailwatch/pkg-descr | 6 | ||||
-rw-r--r-- | mail/gkrellmmailwatch/pkg-plist | 1 |
8 files changed, 105 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index bcda9c5b8307..9902625fc9ee 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -30,6 +30,7 @@ SUBDIR += fetchmail SUBDIR += gbuffy SUBDIR += gensig + SUBDIR += gkrellmmailwatch SUBDIR += glacier SUBDIR += glbiff SUBDIR += grepmail diff --git a/mail/gkrellmmailwatch/Makefile b/mail/gkrellmmailwatch/Makefile new file mode 100644 index 000000000000..09d5ed979d9d --- /dev/null +++ b/mail/gkrellmmailwatch/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: gkrellm-mailwatch +# Date Created: 22.08.2000 +# Whom: Tobias Reifenberger <treif@mayn.de> +# +# $FreeBSD$ +# + +PORTNAME= gkrellmmailwatch +PORTVERSION= 0.2 +CATEGORIES= mail +MASTER_SITES= http://gkrellm.luon.net/files/ +DISTNAME= mailwatch-${PORTVERSION} + +MAINTAINER= treif@mayn.de + +LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 \ + gdk_imlib.5:${PORTSDIR}/graphics/imlib +BUILD_DEPENDS= ${X11BASE}/include/gkrellm/gkrellm.h:${PORTSDIR}/sysutils/gkrellm +RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm + +USE_X_PREFIX= yes +GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +IMLIB_CONFIG?= ${X11BASE}/bin/imlib-config +MAKE_ENV= GTK_CONFIG="${GTK_CONFIG}" IMLIB_CONFIG="${IMLIB_CONFIG}" + +WRKSRC= ${WRKDIR}/mailwatch + +do-install: + ${MKDIR} ${PREFIX}/libexec/gkrellm/plugins + ${INSTALL_PROGRAM} ${WRKSRC}/mailwatch.so ${PREFIX}/libexec/gkrellm/plugins + +.include <bsd.port.mk> diff --git a/mail/gkrellmmailwatch/distinfo b/mail/gkrellmmailwatch/distinfo new file mode 100644 index 000000000000..1f9498a5fac4 --- /dev/null +++ b/mail/gkrellmmailwatch/distinfo @@ -0,0 +1 @@ +MD5 (mailwatch-0.2.tar.gz) = bec6b0b305c27e7ee10e6f9bda416c59 diff --git a/mail/gkrellmmailwatch/files/patch-aa b/mail/gkrellmmailwatch/files/patch-aa new file mode 100644 index 000000000000..968e103872ef --- /dev/null +++ b/mail/gkrellmmailwatch/files/patch-aa @@ -0,0 +1,45 @@ +--- Makefile.orig Tue Sep 5 16:30:33 2000 ++++ Makefile Tue Sep 5 16:26:44 2000 +@@ -1,32 +1,30 @@ + # Makefile for the GKrellM mailwatch plugin + +-GTK_INCLUDE = `gtk-config --cflags` +-GTK_LIB = `gtk-config --libs` ++GTK_INCLUDE = `$(GTK_CONFIG) --cflags` ++GTK_LIB = `$(GTK_CONFIG) --libs` + +-GKRELLM_INCLUDE= -I/usr/local/include ++GKRELLM_INCLUDE= -I$(PREFIX)/include + +-IMLIB_INCLUDE = `imlib-config --cflags-gdk` +-IMLIB_LIB = `imlib-config --libs-gdk` ++IMLIB_INCLUDE = `$(IMLIB_CONFIG) --cflags-gdk` ++IMLIB_LIB = `$(IMLIB_CONFIG) --libs-gdk` + + INSTALL=install -c -s -m 755 + +-FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) ++CFLAGS+= -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(GKRELLM_INCLUDE) + LIBS = $(GTK_LIB) $(IMLIB_LIB) +-LFLAGS = -shared -lpthread +- +-CC = gcc -g $(CFLAGS) $(FLAGS) ++LFLAGS = -shared -pthread + + OBJS = mailwatch.o + + all: mailwatch.so + + mailwatch.so: $(OBJS) +- $(CC) $(OBJS) -o mailwatch.so $(LFLAGS) $(LIBS) ++ $(CC) $(CFLAGS) $(OBJS) -o mailwatch.so $(LFLAGS) $(LIBS) + + clean: + rm -f *.o core *.so* *.bak *~ ++ + install: +- $(INSTALL) -c -s -m 755 mailwatch.so /usr/share/gkrellm/plugins ++ $(INSTALL) mailwatch.so $(PREFIX)/libexec/gkrellm/plugins + + mailwatch.c.o: mailwatch.c +- diff --git a/mail/gkrellmmailwatch/files/patch-ab b/mail/gkrellmmailwatch/files/patch-ab new file mode 100644 index 000000000000..ce6d2b30e1aa --- /dev/null +++ b/mail/gkrellmmailwatch/files/patch-ab @@ -0,0 +1,18 @@ +--- mailwatch.c.orig Wed Aug 23 02:09:36 2000 ++++ mailwatch.c Wed Aug 23 02:12:48 2000 +@@ -403,13 +403,14 @@ + } + else { + for (i=ctabs; i ; i = i->next) +- if (i->is_modified != DELETED) ++ if (i->is_modified != DELETED) { + if (!strcmp(i->name,buf[0]) && i->is_modified != DELETED) { + gkrellm_message_window("Gkrellm mailwatch Error", + "a mailpanel with that name already exits",NULL); + return; + } + else pos++; ++ } + + new = create_configtab(ctabs->tabs,buf[0],256,pos); + new->is_modified = NEW; diff --git a/mail/gkrellmmailwatch/pkg-comment b/mail/gkrellmmailwatch/pkg-comment new file mode 100644 index 000000000000..a76bf7f3db8b --- /dev/null +++ b/mail/gkrellmmailwatch/pkg-comment @@ -0,0 +1 @@ +GKrellM mailwatch plugin diff --git a/mail/gkrellmmailwatch/pkg-descr b/mail/gkrellmmailwatch/pkg-descr new file mode 100644 index 000000000000..f0b5265b80ef --- /dev/null +++ b/mail/gkrellmmailwatch/pkg-descr @@ -0,0 +1,6 @@ +GKrellM mailwatch plugin + +A plugin for gkrellm, that watches in multiple mailboxes for new mail. + +Author: Sjoerd Simons <Sjoerd@donald-duck.ele.tue.nl> +WWW: http://gkrellm.luon.net/mailwatch.phtml diff --git a/mail/gkrellmmailwatch/pkg-plist b/mail/gkrellmmailwatch/pkg-plist new file mode 100644 index 000000000000..4c6f7d88f6db --- /dev/null +++ b/mail/gkrellmmailwatch/pkg-plist @@ -0,0 +1 @@ +libexec/gkrellm/plugins/mailwatch.so |