diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-05-22 22:07:57 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-05-22 22:07:57 +0000 |
commit | d8954b61be65302c20a610224cfd37324977ad50 (patch) | |
tree | 8450b6195223973daf9d28f04c8749afeae5aa81 /mail/gotmail | |
parent | 2a32ac274a696630acaa5bec461af285afc7a39b (diff) | |
download | ports-d8954b61be65302c20a610224cfd37324977ad50.tar.gz ports-d8954b61be65302c20a610224cfd37324977ad50.zip |
Notes
Diffstat (limited to 'mail/gotmail')
-rw-r--r-- | mail/gotmail/Makefile | 24 | ||||
-rw-r--r-- | mail/gotmail/distinfo | 2 | ||||
-rw-r--r-- | mail/gotmail/files/patch-gotmail.pl | 22 | ||||
-rw-r--r-- | mail/gotmail/pkg-plist | 2 |
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 |