Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 1998 12:11:16 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6748: New port: xmailbox-2.5
Message-ID:  <199805250811.MAA00717@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         6748
>Category:       ports
>Synopsis:       New port: xmailbox-2.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 25 01:10:01 PDT 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of mailbox checker with sound and animation
for X Window System.
The xmailbox program displays, by default, an image of a mailbox.  When
there is no mail, the image shown is that of a mailbox with its flag down.
When new mail arrives, the image changes to that of a mailbox with the
flag up, its door open and a letter visible inside.  It can also optionally
play a sound through the sound-card. The NCD audio server, the rplay sound
package, FreeBSD Sun-compatible audio drivers, and an external sound player
program are supported.  By default, pressing any mouse button in the image
forces xmailbox to remember the current size of the mail file as being the
``empty'' size and to change its image accordingly.  In addition, the user
can optionally invoke his/her favorite mail retrieving program.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	xmailbox-2.5
#	xmailbox-2.5/Makefile
#	xmailbox-2.5/files
#	xmailbox-2.5/files/md5
#	xmailbox-2.5/patches
#	xmailbox-2.5/patches/patch-aa
#	xmailbox-2.5/patches/patch-ab
#	xmailbox-2.5/patches/patch-ac
#	xmailbox-2.5/pkg
#	xmailbox-2.5/pkg/PLIST
#	xmailbox-2.5/pkg/COMMENT
#	xmailbox-2.5/pkg/DESCR
#
echo c - xmailbox-2.5
mkdir -p xmailbox-2.5 > /dev/null 2>&1
echo x - xmailbox-2.5/Makefile
sed 's/^X//' >xmailbox-2.5/Makefile << 'END-of-xmailbox-2.5/Makefile'
X# New ports collection makefile for:	xmailbox
X# Version required:			2.5
X# Date created:				23 May 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		xmailbox-2.5
XCATEGORIES=		mail x11
XMASTER_SITES=		${MASTER_SITE_XCONTRIB}
XMASTER_SITE_SUBDIR=	applications
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XLIB_DEPENDS=		Xpm\\.4\\.:${PORTSDIR}/graphics/xpm
X
XUSE_IMAKE=		yes
X
XMAN1=			xmailbox.1
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/xmailbox ${PREFIX}/bin
X	@ ${INSTALL_MAN} ${WRKSRC}/xmailbox.man ${PREFIX}/man/man1/xmailbox.1
X	@ ${INSTALL_DATA} ${WRKSRC}/XMailbox.ad ${PREFIX}/lib/X11/app-defaults/XMailbox
X	@ ${MKDIR} ${PREFIX}/share/xmailbox
X	@ ${INSTALL_DATA} ${WRKSRC}/dingdong.au ${PREFIX}/share/xmailbox
X	@ ${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${PREFIX}/share/xmailbox
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/xmailbox
X	@ ${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${PREFIX}/share/doc/xmailbox
X	@ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmailbox
X.endif
X
X.include <bsd.port.mk>
END-of-xmailbox-2.5/Makefile
echo c - xmailbox-2.5/files
mkdir -p xmailbox-2.5/files > /dev/null 2>&1
echo x - xmailbox-2.5/files/md5
sed 's/^X//' >xmailbox-2.5/files/md5 << 'END-of-xmailbox-2.5/files/md5'
XMD5 (xmailbox-2.5.tar.gz) = 31ac48e470724267ec00f8f93ccf22af
END-of-xmailbox-2.5/files/md5
echo c - xmailbox-2.5/patches
mkdir -p xmailbox-2.5/patches > /dev/null 2>&1
echo x - xmailbox-2.5/patches/patch-aa
sed 's/^X//' >xmailbox-2.5/patches/patch-aa << 'END-of-xmailbox-2.5/patches/patch-aa'
X--- Imakefile	Wed Jul 16 16:36:17 1997
X+++ /home/andy/tmp/wrk/Imakefile	Sat May 23 23:17:12 1998
X@@ -5,7 +5,7 @@
X # Note: you need to have XPM 3.4 or higher!
X #------------------------------------------
X #
X-XPMINCDIR = /usr/include/X11
X+XPMINCDIR = $(X11BASE)/include/X11
X XPMLIBDIR = /usr/X11/lib
X    XPMLIB = -L$(XPMLIBDIR) -lXpm
X 
X@@ -20,7 +20,7 @@
X # Comment the following define if you
X # want audio support
X #------------------------------------------
X-#define NO_AUDIO          /* */
X+/* #define NO_AUDIO          /* */
X 
X #------------------------------------------
X # Uncomment the following define if your
X@@ -42,7 +42,7 @@
X #    uncomment the following define to
X #    turn on sound support. 
X #------------------------------------------
X-/* SUN_AUDIO = -DSUN_AUDIO   /* */
X+SUN_AUDIO = -DSUN_AUDIO   /* */
X 
X #------------------------------------------
X # Uncomment the following define if you
END-of-xmailbox-2.5/patches/patch-aa
echo x - xmailbox-2.5/patches/patch-ab
sed 's/^X//' >xmailbox-2.5/patches/patch-ab << 'END-of-xmailbox-2.5/patches/patch-ab'
X--- MailboxP.h	Mon Jul  1 11:13:47 1996
X+++ /home/andy/tmp/wrk/MailboxP.h	Sun May 24 00:39:39 1998
X@@ -40,12 +40,10 @@
X 
X #ifdef SYSV
X #define MAILBOX_DIRECTORY "/usr/mail"
X-#else
X-#ifdef SVR4
X+#elif defined(SVR4) || defined(__FreeBSD__)
X #define MAILBOX_DIRECTORY "/var/mail"
X #else
X #define MAILBOX_DIRECTORY "/usr/spool/mail"
X-#endif
X #endif
X 
X typedef struct {				/* new fields for mailbox widget */
END-of-xmailbox-2.5/patches/patch-ab
echo x - xmailbox-2.5/patches/patch-ac
sed 's/^X//' >xmailbox-2.5/patches/patch-ac << 'END-of-xmailbox-2.5/patches/patch-ac'
X--- XMailbox.ad	Wed Jul 16 16:13:32 1997
X+++ /home/andy/tmp/wrk/XMailbox.ad	Sat May 23 23:30:34 1998
X@@ -9,7 +9,7 @@
X xmailbox*mailAnimOnce:		true
X ! xmailbox*mailAnimUpdate:	1000
X ! xmailbox*mailapp:		echo 'setenv LINES 25; setenv COLUMNS 80; xterm -n Elm -e elm' | /bin/csh -f -s
X-! xmailbox*mailSndFile:		/usr/public/lib/sounds/bong.au
X+xmailbox*mailSndFile:		/usr/X11R6/share/xmailbox/ugotmail.au
X ! xmailbox*mailSndComm:		/usr/public/bin/play %s
X ! xmailbox*nomailXpmFile:	/usr/X11/include/X11/pixmaps/mail0.xpm
X ! xmailbox*mailXpmFile:		/usr/X11/include/X11/pixmaps/mail1.xpm
END-of-xmailbox-2.5/patches/patch-ac
echo c - xmailbox-2.5/pkg
mkdir -p xmailbox-2.5/pkg > /dev/null 2>&1
echo x - xmailbox-2.5/pkg/PLIST
sed 's/^X//' >xmailbox-2.5/pkg/PLIST << 'END-of-xmailbox-2.5/pkg/PLIST'
Xbin/xmailbox
Xlib/X11/app-defaults/XMailbox
Xman/man1/xmailbox.1.gz
Xshare/doc/xmailbox/DISCLAIMER
Xshare/doc/xmailbox/README
Xshare/xmailbox/dingdong.au
Xshare/xmailbox/ugotmail.au
X@dirrm share/doc/xmailbox
X@dirrm share/xmailbox
END-of-xmailbox-2.5/pkg/PLIST
echo x - xmailbox-2.5/pkg/COMMENT
sed 's/^X//' >xmailbox-2.5/pkg/COMMENT << 'END-of-xmailbox-2.5/pkg/COMMENT'
XMailbox checker with sound and animation for X Window System.
END-of-xmailbox-2.5/pkg/COMMENT
echo x - xmailbox-2.5/pkg/DESCR
sed 's/^X//' >xmailbox-2.5/pkg/DESCR << 'END-of-xmailbox-2.5/pkg/DESCR'
XThe xmailbox program displays, by default, an image of a mailbox.  When
Xthere is no mail, the image shown is that of a mailbox with its flag down.
XWhen new mail arrives, the image changes to that of a mailbox with the
Xflag up, its door open and a letter visible inside.  It can also optionally
Xplay a sound through the sound-card. The NCD audio server, the rplay sound
Xpackage, FreeBSD Sun-compatible audio drivers, and an external sound player
Xprogram are supported.  By default, pressing any mouse button in the image
Xforces xmailbox to remember the current size of the mail file as being the
X``empty'' size and to change its image accordingly.  In addition, the user
Xcan optionally invoke his/her favorite mail retrieving program.
END-of-xmailbox-2.5/pkg/DESCR
exit


>How-To-Repeat:

>Fix:

   Please, check and commit this port.

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805250811.MAA00717>