summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2004-01-24 15:06:48 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2004-01-24 15:06:48 +0000
commit69627573e5ce93fa4cef94efae84aca3156cefb3 (patch)
tree16c7e0c00c8086d02c305501e99726cb4b03f5ca
parent- Update to version 0.10 (diff)
Add wmmsg 1.0, dockapp that notifies you on ICQ, AIM and IRC events.
PR: 61749 Submitted by: Thomas Kempka <t.kempka@web.de>
-rw-r--r--x11/Makefile1
-rw-r--r--x11/wmmsg/Makefile37
-rw-r--r--x11/wmmsg/distinfo1
-rw-r--r--x11/wmmsg/files/patch-src-wmgeneral::misc.c13
-rw-r--r--x11/wmmsg/pkg-descr6
-rw-r--r--x11/wmmsg/pkg-plist2
6 files changed, 60 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index f539af059279..a8ed3c7a4668 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -150,6 +150,7 @@
SUBDIR += wmfstatus
SUBDIR += wmmatrix
SUBDIR += wmmenu
+ SUBDIR += wmmsg
SUBDIR += wmoldmenu2new
SUBDIR += wmxss
SUBDIR += workrave
diff --git a/x11/wmmsg/Makefile b/x11/wmmsg/Makefile
new file mode 100644
index 000000000000..9a66bbcf4381
--- /dev/null
+++ b/x11/wmmsg/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: wmmsg
+# Date created: 22 January 2004
+# Whom: Thomas Kempka <t.kempka@web.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= wmmsg
+PORTVERSION= 1.0
+CATEGORIES= x11 windowmaker
+MASTER_SITES= http://taxiway.swapspace.net/~matt/wmmsg/
+
+MAINTAINER= t.kempka@web.de
+COMMENT= Dockapp that notifies you on ICQ, AIM and IRC events
+
+LIB_DEPENDS= Imlib2:${PORTSDIR}/graphics/imlib2
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+USE_GNOME= gtk12
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_XPM= yes
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
+
+MAN1= wmmsg.1
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|exit (|_exit(|g' \
+ ${WRKSRC}/src/wmgeneral/wmgeneral.c \
+ ${WRKSRC}/src/wmgeneral/misc.c
+ @${REINPLACE_CMD} -e 's|long currtime\;|time_t currtime\;|g' \
+ ${WRKSRC}/src/wmmsg/wmmsg.c
+ @${REINPLACE_CMD} -e 's| man\/wmmsg_notify\.1||g' ${WRKSRC}/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/x11/wmmsg/distinfo b/x11/wmmsg/distinfo
new file mode 100644
index 000000000000..ee2c938e5dce
--- /dev/null
+++ b/x11/wmmsg/distinfo
@@ -0,0 +1 @@
+MD5 (wmmsg-1.0.tar.bz2) = 80f9ec282cdf8ee9770fcb2e83c5f255
diff --git a/x11/wmmsg/files/patch-src-wmgeneral::misc.c b/x11/wmmsg/files/patch-src-wmgeneral::misc.c
new file mode 100644
index 000000000000..6acf05786971
--- /dev/null
+++ b/x11/wmmsg/files/patch-src-wmgeneral::misc.c
@@ -0,0 +1,13 @@
+--- src/wmgeneral/misc.c.orig Fri Jan 23 21:58:35 2004
++++ src/wmgeneral/misc.c Sat Jan 24 15:16:21 2004
+@@ -221,8 +221,8 @@
+ {
+ args[i] = argv[i];
+ }
+- args[argc] = NULL;
+- execvp (argv[0], args);
++ /* args[argc] = NULL;
++ execvp (argv[0], args); */
+ exit (10);
+ }
+ return pid;
diff --git a/x11/wmmsg/pkg-descr b/x11/wmmsg/pkg-descr
new file mode 100644
index 000000000000..8136cec9e60c
--- /dev/null
+++ b/x11/wmmsg/pkg-descr
@@ -0,0 +1,6 @@
+Informs you of new events, such as incoming chat messages,
+by displaying related icons and arrival times. Works with Gaim, X-Chat, etc.
+Can be used to alert you of various other system events.
+
+WWW: http://taxiway.swapspace.net/~matt/wmmsg/
+Author: Michael Foley <mike@swapspace.net>, Matthew Elder <matt@swapspace.net>
diff --git a/x11/wmmsg/pkg-plist b/x11/wmmsg/pkg-plist
new file mode 100644
index 000000000000..f733c1477017
--- /dev/null
+++ b/x11/wmmsg/pkg-plist
@@ -0,0 +1,2 @@
+bin/wmmsg
+bin/wmmsg_notify