aboutsummaryrefslogtreecommitdiffstats
path: root/mail/gotmail
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-05-23 06:07:57 +0800
committerpat <pat@FreeBSD.org>2002-05-23 06:07:57 +0800
commitbaaa350105915c7da975f5272baf6325f7aef376 (patch)
tree26246146a9a50766e20d1237d1ca1b93bf350fd7 /mail/gotmail
parent8359b59008043fe2eb99b878f8d786fb181901da (diff)
downloadfreebsd-ports-gnome-baaa350105915c7da975f5272baf6325f7aef376.tar.gz
freebsd-ports-gnome-baaa350105915c7da975f5272baf6325f7aef376.tar.zst
freebsd-ports-gnome-baaa350105915c7da975f5272baf6325f7aef376.zip
Update to 0.7.1
PR: 38428 Submitted by: maintainer
Diffstat (limited to 'mail/gotmail')
-rw-r--r--mail/gotmail/Makefile24
-rw-r--r--mail/gotmail/distinfo2
-rw-r--r--mail/gotmail/files/patch-gotmail.pl22
-rw-r--r--mail/gotmail/pkg-plist2
4 files changed, 15 insertions, 35 deletions
diff --git a/mail/gotmail/Makefile b/mail/gotmail/Makefile
index 38e6de19e700..15f73e027d2e 100644
--- a/mail/gotmail/Makefile
+++ b/mail/gotmail/Makefile
@@ -6,32 +6,36 @@
#
PORTNAME= gotmail
-PORTVERSION= 0.6.6
-PORTREVISION= 1
+PORTVERSION= 0.7.1
CATEGORIES= mail perl5
-MASTER_SITES= http://www.hawkins.emu.id.au/gotmail/
+MASTER_SITES= http://ssl.usu.edu/paul/gotmail/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= ports@geeksrus.net
RUN_DEPENDS= curl:${PORTSDIR}/ftp/curl \
- ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/URI.pm:${PORTSDIR}/net/p5-URI \
+ ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Net/libnet.cfg:${PORTSDIR}/net/p5-Net
-USE_PERL5= yes
+MAN1= ${PORTNAME}.1
NO_BUILD= yes
-
-WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_PERL5= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
pre-patch:
- ${PERL} -pi -e 's|\r$$||' ${WRKSRC}/${PORTNAME}.pl
+ ${PERL} -pi -e 's|\r$$||' ${WRKSRC}/${PORTNAME}
+ ${PERL} -pi -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/${PORTNAME}
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
+.for i in ${MAN1}
+ ${INSTALL_MAN} ${WRKSRC}/${i} ${MANPREFIX}/man/man1
+.endfor
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
-.for i in COPYING ChangeLog README TODO sample.gotmailrc
+.for i in ChangeLog README sample.gotmailrc
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/${PORTNAME}
.endfor
.endif
diff --git a/mail/gotmail/distinfo b/mail/gotmail/distinfo
index 8ece8f665976..598be4008764 100644
--- a/mail/gotmail/distinfo
+++ b/mail/gotmail/distinfo
@@ -1 +1 @@
-MD5 (gotmail_0.6.6.tar.gz) = fd529e6b5d7258ad6fb6dbf05c0fa694
+MD5 (gotmail_0.7.1.tar.gz) = 46fd92313a3d8f4c9145bf7a5750bbd3
diff --git a/mail/gotmail/files/patch-gotmail.pl b/mail/gotmail/files/patch-gotmail.pl
deleted file mode 100644
index 72af85fad76a..000000000000
--- a/mail/gotmail/files/patch-gotmail.pl
+++ /dev/null
@@ -1,22 +0,0 @@
---- gotmail.pl.orig Mon Jul 23 20:04:47 2001
-+++ gotmail.pl Sun Mar 31 19:47:52 2002
-@@ -462,6 +462,8 @@
-
- if ($page =~ m/<meta(.*)content=\"(.*)url=(\S+)\">/i) {
- $redirect_location = $3;
-+ } elsif ($page =~ m/\w+\.location\.replace\s*\(\"([^\"]+)\"/i) {
-+ $redirect_location = $1;
- }
-
- if ($redirect_location eq "")
-@@ -577,6 +579,10 @@
- if ($stripmboxheader)
- {
- s/^From (.*)\n//;
-+ }
-+ else
-+ {
-+ s/^From\s+(\S+)\s+(\w+),\s+(\d+)\s+(\w+)\s+(\d+)\s+(\d+:\d+:\d+)/From $1 $2 $4 $3 $6 $5/;
- }
-
- # Strip any HTML artifacts from the message body.
diff --git a/mail/gotmail/pkg-plist b/mail/gotmail/pkg-plist
index 9d6828ebbe13..fe884bc475e4 100644
--- a/mail/gotmail/pkg-plist
+++ b/mail/gotmail/pkg-plist
@@ -1,7 +1,5 @@
bin/gotmail
-%%PORTDOCS%%share/doc/gotmail/COPYING
%%PORTDOCS%%share/doc/gotmail/ChangeLog
%%PORTDOCS%%share/doc/gotmail/README
-%%PORTDOCS%%share/doc/gotmail/TODO
%%PORTDOCS%%share/doc/gotmail/sample.gotmailrc
%%PORTDOCS%%@dirrm share/doc/gotmail