Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  2 Mar 2002 20:07:55 +0100 (CET)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35487: New port: gtkgrepmail (A gtk front-end to grepmail)
Message-ID:  <20020302190755.4B7425A545@nemesis.informatik.unibw-muenchen.de>

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

>Number:         35487
>Category:       ports
>Synopsis:       New port: gtkgrepmail (A gtk front-end to grepmail)
>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:   Sat Mar 02 11:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.5-STABLE FreeBSD 4.5-STABLE #0: Tue Jan 29 14:37:26 CET 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386


>Description:

Gtkgrepmail is a gtk front end to grepmail.  Support is provided for
both local mailboxes and remote mailboxes that are accessible via IMAP
and ssh/rsh.

WWW: http://malcolm.wattle.id.au/software.html

Regards,
         Olli

>How-To-Repeat:
>Fix:

# 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:
#
#	gtkgrepmail
#	gtkgrepmail/Makefile
#	gtkgrepmail/distinfo
#	gtkgrepmail/pkg-comment
#	gtkgrepmail/pkg-descr
#	gtkgrepmail/pkg-plist
#	gtkgrepmail/files
#	gtkgrepmail/files/patch-aa
#
echo c - gtkgrepmail
mkdir -p gtkgrepmail > /dev/null 2>&1
echo x - gtkgrepmail/Makefile
sed 's/^X//' >gtkgrepmail/Makefile << 'END-of-gtkgrepmail/Makefile'
X# New ports collection makefile for:   gtkgrepmail
X# Date created:        02 March 2002
X# Whom:                Oliver Braun <obraun@informatik.unibw-muenchen.de>
X#
X# $FreeBSD$
X#
X
XPORTNAME=      gtkgrepmail
XPORTVERSION=   0.5
XCATEGORIES=    mail
XMASTER_SITES=  ftp://ftp.terminus.net.au/unix/perl/
XEXTRACT_SUFX=  .tgz
X
XMAINTAINER=    obraun@informatik.unibw-muenchen.de
X
XBUILD_DEPENDS=	grepmail:${PORTSDIR}/mail/grepmail \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
XRUN_DEPENDS=	grepmail:${PORTSDIR}/mail/grepmail \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Gnome.pm:${PORTSDIR}/x11-toolkits/p5-Gnome \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Date/Manip.pm:${PORTSDIR}/devel/p5-Date-Manip \
X		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
X
XPERL_CONFIGURE= YES
X
XMAN1=		gtkgrepmail.1
X
XPORTDOCS=	COPYING FAQ NEWS ROADMAP changelog INSTALL README TODO
X
X.if !defined(NOPORTDOCS)
Xpost-install:
X	@${MKDIR} ${DOCSDIR}
X.for file in ${PORTDOCS}
X	${INSTALL_DATA} ${WRKSRC}/Documentation/${file} ${DOCSDIR}
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-gtkgrepmail/Makefile
echo x - gtkgrepmail/distinfo
sed 's/^X//' >gtkgrepmail/distinfo << 'END-of-gtkgrepmail/distinfo'
XMD5 (gtkgrepmail-0.5.tgz) = 684c32d853e674aefe166077d14011dc
END-of-gtkgrepmail/distinfo
echo x - gtkgrepmail/pkg-comment
sed 's/^X//' >gtkgrepmail/pkg-comment << 'END-of-gtkgrepmail/pkg-comment'
XA gtk front-end to grepmail
END-of-gtkgrepmail/pkg-comment
echo x - gtkgrepmail/pkg-descr
sed 's/^X//' >gtkgrepmail/pkg-descr << 'END-of-gtkgrepmail/pkg-descr'
XGtkgrepmail is a gtk front end to grepmail.  Support is provided for both local
Xmailboxes and remote mailboxes that are accessible via IMAP and ssh/rsh.
X
XWWW: http://malcolm.wattle.id.au/software.html
X
X- Oliver Braun
Xobraun@informatik.unibw-muenchen.de
END-of-gtkgrepmail/pkg-descr
echo x - gtkgrepmail/pkg-plist
sed 's/^X//' >gtkgrepmail/pkg-plist << 'END-of-gtkgrepmail/pkg-plist'
Xbin/gtkgrepmail
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/gtkgrepmail/.packlist
X%%PORTDOCS%%share/doc/gtkgrepmail/COPYING
X%%PORTDOCS%%share/doc/gtkgrepmail/FAQ
X%%PORTDOCS%%share/doc/gtkgrepmail/NEWS
X%%PORTDOCS%%share/doc/gtkgrepmail/ROADMAP
X%%PORTDOCS%%share/doc/gtkgrepmail/changelog
X%%PORTDOCS%%share/doc/gtkgrepmail/INSTALL
X%%PORTDOCS%%share/doc/gtkgrepmail/README
X%%PORTDOCS%%share/doc/gtkgrepmail/TODO
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/gtkgrepmail
X%%PORTDOCS%%@dirrm share/doc/gtkgrepmail
END-of-gtkgrepmail/pkg-plist
echo c - gtkgrepmail/files
mkdir -p gtkgrepmail/files > /dev/null 2>&1
echo x - gtkgrepmail/files/patch-aa
sed 's/^X//' >gtkgrepmail/files/patch-aa << 'END-of-gtkgrepmail/files/patch-aa'
X--- gtkgrepmail.orig	Sat Feb  2 02:15:16 2002
X+++ gtkgrepmail	Sat Mar  2 17:31:49 2002
X@@ -29,8 +29,8 @@
X # Define variables
X $defaultMailpath="$ENV{HOME}/Mail";
X $defaultMailbox="search-results";
X-$defaultGrepmail="/usr/bin/grepmail";
X-$defaultIMAP="/usr/bin/X11/xterm -e /usr/bin/elm -f";
X+$defaultGrepmail="/usr/local/bin/grepmail";
X+$defaultIMAP="/usr/X11R6/bin/xterm -e /usr/local/bin/elm -f";
X $defaultSSH="/usr/bin/ssh";
X $defaultHost="localhost";
X $defaultUser="$ENV{USER}";
X@@ -1029,7 +1029,7 @@
X     $chkRecurse->set_active(0);
X     $row = 0;
X     while ( $row <= $#filelist ) {
X-      $lstFiles->unselect_item($row,0);
X+      $lstFiles->unselect_row($row,0);
X       $row++;
X     }
X     @valfiles = "";
X@@ -1142,7 +1142,7 @@
X     if ( $valrdbAnd && $valAnd ) { $andspec = "| grepmail $scopeflag2 $valInverse $valCase -e \\\"$valAnd\\\"" }
X     elsif ( $valAnd ) { $orspec = "\\|\\\"$valAnd\\\"" };
X     if ( $valNot ) { $notspec = "| grepmail $scopeflag3 $valCase -v -e \\\"$valNot\\\"" };
X-    $grepmailcmd = "$valGrepmail -e \\(\\\"$valSearch\\\"$orspec\\) $scopeflag $valInverse $valCase $valRecurse $valSkipattach $datespec @valfiles $andspec $notspec 2>&1 1>$valMailpath/$valMailbox";
X+    $grepmailcmd = "$valGrepmail -e \\(\"$valSearch\"$orspec\\) $scopeflag $valInverse $valCase $valRecurse $valSkipattach $datespec @valfiles $andspec $notspec 2>&1 1>$valMailpath/$valMailbox";
X     unless ( errorhandler() ) {
X       $appbar1->push($context_id,"Initiating search...");
X       $dlgMain_form->window->set_cursor( new Gtk::Gdk::Cursor( 150 ) );
X@@ -1190,7 +1190,7 @@
X }
X 
X sub on_mnuManual_activate {
X-    unless ( $child = fork ) {
X+    unless ( fork ) {
X       exec "gnome-help-browser 'man:gtkgrepmail'";
X     }
X }
END-of-gtkgrepmail/files/patch-aa
exit

>Release-Note:
>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?20020302190755.4B7425A545>