[31448] trunk/dports/mail/t-prot/Portfile
simon at macports.org
simon at macports.org
Sat Nov 24 04:59:11 PST 2007
Revision: 31448
http://trac.macosforge.org/projects/macports/changeset/31448
Author: simon at macports.org
Date: 2007-11-24 04:59:01 -0800 (Sat, 24 Nov 2007)
Log Message:
-----------
mail/t-prot: Whitespace only change to follow conventions.
Modified Paths:
--------------
trunk/dports/mail/t-prot/Portfile
Modified: trunk/dports/mail/t-prot/Portfile
===================================================================
--- trunk/dports/mail/t-prot/Portfile 2007-11-24 12:14:10 UTC (rev 31447)
+++ trunk/dports/mail/t-prot/Portfile 2007-11-24 12:59:01 UTC (rev 31448)
@@ -1,31 +1,32 @@
# $Id$
-PortSystem 1.0
-name t-prot
-version 2.1.1
-categories mail
-maintainers nomaintainer
-description TOFU protection script (MUA display filter)
-homepage http://www.escape.de/users/tolot/mutt/
-platforms darwin
+PortSystem 1.0
-long_description You know these misformatted mail or news messages, with \
-full quotes, too long signatures, and lots of exclamation marks? They get on \
-your nerves day by day? That's what this script is for.
+name t-prot
+version 2.1.1
+categories mail
+platforms darwin
+maintainers nomaintainer
+description TOFU protection script (MUA display filter)
+long_description You know these misformatted mail or news messages, with \
+ full quotes, too long signatures, and lots of \
+ exclamation marks? They get on your nerves day by day? \
+ That's what this script is for.
-master_sites http://www.escape.de/users/tolot/mutt/t-prot/downloads/
+homepage http://www.escape.de/users/tolot/mutt/
+master_sites http://www.escape.de/users/tolot/mutt/t-prot/downloads/
+checksums md5 79d2223e03257ab7627f7fcbcde2cfac
-checksums md5 79d2223e03257ab7627f7fcbcde2cfac
+depends_lib port:p5-getopt-mixed \
+ port:p5-locale-gettext
use_configure no
-depends_lib port:p5-getopt-mixed port:p5-locale-gettext
build {
- cd ${worksrcpath}
- reinplace "s|/usr|${prefix}|g" t-prot
+ reinplace "s|/usr|${prefix}|g" ${worksrcpath}/t-prot
}
-destroot {
+destroot {
xinstall -m 755 ${worksrcpath}/t-prot ${destroot}${prefix}/bin
xinstall -m 644 ${worksrcpath}/t-prot.1 \
${destroot}${prefix}/share/man/man1
@@ -36,14 +37,17 @@
}
post-install {
- ui_msg ""
- ui_msg "to start TOFU protection, add this to your ~/.muttrc:"
- ui_msg "source ${prefix}/share/t-prot/muttrc.t-prot"
- ui_msg ""
- ui_msg "..and switch it off and on with Esc-0, Esc-1"
- ui_msg ""
+ ui_msg ""
+ ui_msg "to start TOFU protection, add this to your ~/.muttrc:"
+ ui_msg "source ${prefix}/share/t-prot/muttrc.t-prot"
+ ui_msg ""
+ ui_msg "..and switch it off and on with Esc-0, Esc-1"
+ ui_msg ""
}
platform darwin {
- patch { reinplace "s|use strict;|use strict; use Locale\:\:gettext;|g" ${worksrcpath}/t-prot }
+ patch {
+ reinplace "s|use strict;|use strict; use Locale\:\:gettext;|g" \
+ ${worksrcpath}/t-prot
+ }
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071124/52d03e91/attachment.html
More information about the macports-changes
mailing list