source: trunk/dports/perl/p5-mail-audit/Portfile @ 20426

Last change on this file since 20426 was 20426, checked in by jberry@…, 13 years ago

Convert all darwinports@… addresses
to nomaintainer@… or openmaintainer@….

See http://trac.macports.org/projects/macports/wiki/SpecialMaintainerAddresses
for more information.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 20426 2006-11-03 02:18:01Z jberry@macports.org $
2PortSystem 1.0
3PortGroup perl5 1.0
4
5perl5.setup             Mail-Audit 2.1
6revision                2
7maintainers             nomaintainer@macports.org
8categories-append       mail
9description             Library for creating easy mail filters
10long_description        Mail::Audit was inspired by Tom Christiansen's \
11                                        audit_mail and deliverlib programs. It allows a \
12                                        piece of email to be logged, examined, accepted into \
13                                        a mailbox, filtered, resent elsewhere, rejected, and \
14                                        so on. It's designed to allow you to easily create \
15                                        filter programs to stick in a .forward file or \
16                                        similar.
17checksums               md5 b52b1142fa9ed7d847c531186f913ea6
18platforms               darwin
19
20# Depends on these Perl modules
21depends_lib-append              port:p5-mailtools \
22                                port:p5-mail-pop3client \
23                                port:p5-mime-tools \
24                                port:p5-parse-recdescent
25
26post-patch {
27        reinplace "s|#!.*perl|#!${perl5.bin}|" \
28                ${worksrcpath}/proc2ma \
29                ${worksrcpath}/popread
30}
31
32post-build {
33        system "pod2man ${worksrcpath}/proc2ma ${worksrcpath}/proc2ma.1"
34}
35
36post-destroot {
37        cd ${worksrcpath}
38        xinstall -m 0755 proc2ma ${destroot}${prefix}/bin/proc2ma
39        xinstall -m 0644 proc2ma.1 ${destroot}${prefix}/share/man/man1/proc2ma.1
40        xinstall -d -m 0755 ${destroot}${prefix}/share/${perl5.module}
41        xinstall -m 0644 popread ${destroot}${prefix}/share/${perl5.module}/popread
42}
43
Note: See TracBrowser for help on using the repository browser.