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

Last change on this file since 104629 was 95133, checked in by mww@…, 8 years ago

mailqfmt: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 95133 2012-07-05 21:47:28Z mww@macports.org $
2
3PortSystem              1.0
4name                    mailqfmt
5version                 0.6
6revision        1
7categories              mail
8license                 GPL-2
9maintainers             sky.fr:cbellot
10homepage                http://www.dt.e-technik.uni-dortmund.de/~ma/postfix/
11description             Postfix mailq file reformatter
12long_description        mailqfmt reformats postfix mail queue with single \
13                        lines entries that are easier to parse
14platforms               darwin
15master_sites            http://www.dt.e-technik.uni-dortmund.de/~ma/postfix/
16distfiles               ${name}.pl
17checksums               md5 e1d452850f59cd004d2d4930758a4a28
18depends_lib-append      port:p5.12-libwww-perl port:postfix
19
20variant apple_postfix description {uses the mail queues of macosx postfix} {
21        depends_lib-delete      port:postfix
22}
23
24use_configure           no
25extract {
26          file copy ${distpath}/mailqfmt.pl ${workpath}/mailqfmt
27        }
28post-patch {
29          reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|g" \
30            ${workpath}/mailqfmt
31
32if { ![variant_isset apple_postfix] } {
33          reinplace "s|/usr/bin/mailq|${prefix}/bin/mailq|g" \
34            ${workpath}/mailqfmt
35   }
36        }
37build {}
38destroot {
39          xinstall -m 755 -d ${destroot}${prefix}/bin
40          xinstall -m 755 ${workpath}/mailqfmt ${destroot}${prefix}/bin/mailqfmt
41        }
Note: See TracBrowser for help on using the repository browser.