source: trunk/dports/mail/ssmtp/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: 1.4 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            ssmtp
5version         2.61
6revision        1
7distname        ${name}_${version}
8categories      mail
9maintainers     foellinger.de:olaf
10description     Sendmail alternative for small routers (outgoing mail only)
11long_description        This is sSMTP, a program that replaces sendmail on workstations that \
12                        should send their mail via the departmental mailhub from which they pick up \
13                        their mail (via pop, imap, rsmtp, pop_fetch, NFS... or the like).  This \
14                        program accepts mail and sends it to the mailhub, optionally replacing the \
15                        domain in the From: line with a different one.
16platforms       darwin freebsd
17master_sites    http://ftp.debian.org/debian/pool/main/s/${name}/ \
18                ftp://ftp.icm.edu.pl/pub/Linux/debian/pool/main/s/${name}/
19distfiles       ${name}_${version}.orig${extract.suffix}
20checksums       ${name}_${version}.orig${extract.suffix} md5 957e6fff08625fe34f4fc33d0925bbc9
21worksrcdir      ${name}-${version}
22patchfiles      patch-ssmtp.c patch-generate_config patch-Makefile.in
23build.type      gnu
24
25#patch_sites    ${master_sites}
26#patchfiles     ${name}_2.61-12.1.diff.gz
27
28destroot.destdir prefix=${destroot}${prefix} \
29                 mandir=${destroot}${prefix}/share/man/man8
30
31post-destroot {
32        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
33        xinstall -W ${worksrcpath} README INSTALL COPYING \
34                ${destroot}${prefix}/share/doc/${name}
35
36        xinstall ${worksrcpath}/ssmtp.conf ${destroot}${prefix}/etc/${name}/ssmpt.conf.sample
37}
Note: See TracBrowser for help on using the repository browser.