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.
This commit is contained in:
parent
494e25fd92
commit
0c9594f251
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=23198
6 changed files with 80 additions and 0 deletions
32
mail/wmbiff/Makefile
Normal file
32
mail/wmbiff/Makefile
Normal file
|
@ -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>
|
1
mail/wmbiff/distinfo
Normal file
1
mail/wmbiff/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (wmbiff-0.1a.tar.gz) = 61ba5287cb03a37528449f48169bd19f
|
44
mail/wmbiff/files/patch-aa
Normal file
44
mail/wmbiff/files/patch-aa
Normal file
|
@ -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
|
0
mail/wmbiff/pkg-comment
Normal file
0
mail/wmbiff/pkg-comment
Normal file
0
mail/wmbiff/pkg-descr
Normal file
0
mail/wmbiff/pkg-descr
Normal file
3
mail/wmbiff/pkg-plist
Normal file
3
mail/wmbiff/pkg-plist
Normal file
|
@ -0,0 +1,3 @@
|
|||
bin/wmbiff
|
||||
share/examples/wmbiff/sample.wmbiffrc
|
||||
@dirrm share/examples/wmbiff
|
Loading…
Reference in a new issue