Ticket #11155: Portfile

File Portfile, 1.1 KB (added by tristan@…, 13 years ago)

muttprint portfile

Line 
1PortSystem          1.0
2
3name                muttprint
4categories          mail
5version             0.72d
6platforms           darwin
7
8description         pretty printing of your mails
9long_description    \
10    Muttprint formats the output of mail clients to a good-looking \
11    printing. It uses the typesetting system LaTeX, which is normally \
12    part of every Linux distribution and which is also available for \
13    other operating systems like *BSD and Solaris.
14
15homepage            http://muttprint.sourceforge.net
16master_sites        sourceforge
17checksums           sha1 532a1c7ed019b0b50c78caf7eeb17f5cd34d3d1e
18
19depends_lib         port:p5-text-iconv port:dialog
20
21use_configure       no
22
23destroot            {
24                    file mkdir ${destroot}${prefix}/bin ${destroot}${prefix}/share/man/man1
25                    xinstall -m 755 ${worksrcpath}/${name} ${destroot}${prefix}/bin
26                    reinplace "s|#!/usr/bin/perl|#!${prefix}/bin/perl|" ${destroot}${prefix}/bin/${name}
27                    xinstall -m 0644 ${worksrcpath}/doc/manpages/en/muttprint.1.gz ${destroot}${prefix}/share/man/man1
28                    }
29