source: trunk/dports/mail/mailqfmt/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 876 bytes
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem              1.0
4name                    mailqfmt
5version                 0.6
6categories              mail
7maintainers             sky.fr:cbellot
8description             Postfix mailq file reformatter
9platforms               darwin
10master_sites            http://www.dt.e-technik.uni-dortmund.de/~ma/postfix/
11distfiles               ${name}.pl
12checksums               md5 e1d452850f59cd004d2d4930758a4a28
13depends_lib-append      port:p5-libwww-perl port:postfix
14
15variant apple_postfix {
16          depends_lib-delete    port:postfix
17}
18
19use_configure           no
20extract {
21          file copy ${distpath}/mailqfmt.pl ${workpath}/mailqfmt
22        }
23post-patch {
24          reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \
25            ${workpath}/mailqfmt
26
27if { ![variant_isset apple_postfix] } {
28          reinplace "s|/usr/bin/mailq|${prefix}/bin/mailq|g" \
29            ${workpath}/mailqfmt
30   }
31        }
32build {}
33destroot {
34          xinstall -m 755 -d ${destroot}${prefix}/bin
35          xinstall -m 755 ${workpath}/mailqfmt ${destroot}${prefix}/bin/mailqfmt
36        }
Note: See TracBrowser for help on using the repository browser.