source: trunk/dports/mail/ssmtp/Portfile @ 78913

Last change on this file since 78913 was 78913, checked in by jmr@…, 8 years ago

ssmtp: update to 2.64

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 78913 2011-05-26 16:16:39Z jmr@macports.org $
3
4PortSystem      1.0
5
6name            ssmtp
7version         2.64
8categories      mail
9maintainers     nomaintainer
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
17homepage        http://packages.qa.debian.org/s/ssmtp.html
18master_sites    debian:s/${name}/ \
19                ftp://ftp.icm.edu.pl/pub/Linux/debian/pool/main/s/${name}/
20use_bzip2       yes
21distfiles       ${name}_${version}.orig${extract.suffix}
22checksums       md5 65b4e0df4934a6cd08c506cabcbe584f \
23                sha1 db0cc6b4f82ab8b4c79335933db9c4db706324d1 \
24                rmd160 ea6472e52a499c39d1d8ce7e13add9d8e9accbfb
25
26depends_lib     port:openssl
27
28patchfiles      patch-ssmtp.c patch-generate_config patch-Makefile.in \
29                patch-configure.in 02-557725-solaris.patch
30
31use_autoconf    yes
32configure.args  --enable-ssl
33
34destroot.destdir prefix=${destroot}${prefix} \
35                 mandir=${destroot}${prefix}/share/man/man8
36
37post-destroot {
38    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
39    xinstall -W ${worksrcpath} README INSTALL COPYING \
40        ${destroot}${prefix}/share/doc/${name}
41
42    xinstall ${worksrcpath}/ssmtp.conf ${destroot}${prefix}/etc/${name}/ssmtp.conf.sample
43}
Note: See TracBrowser for help on using the repository browser.