[29301] trunk/dports/mail/ssmtp/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Sep 20 12:31:33 PDT 2007


Revision: 29301
          http://trac.macosforge.org/projects/macports/changeset/29301
Author:   markd at macports.org
Date:     2007-09-20 12:31:33 -0700 (Thu, 20 Sep 2007)

Log Message:
-----------
Copy a sample .conf file not copied by the makefile; install docs.

Modified Paths:
--------------
    trunk/dports/mail/ssmtp/Portfile

Modified: trunk/dports/mail/ssmtp/Portfile
===================================================================
--- trunk/dports/mail/ssmtp/Portfile	2007-09-20 16:16:43 UTC (rev 29300)
+++ trunk/dports/mail/ssmtp/Portfile	2007-09-20 19:31:33 UTC (rev 29301)
@@ -3,6 +3,7 @@
 PortSystem 1.0
 name		ssmtp
 version		2.61
+revision	1
 distname	${name}_${version}
 categories	mail
 maintainers	olaf at foellinger.de
@@ -26,3 +27,11 @@
 
 destroot.destdir prefix=${destroot}${prefix} \
                  mandir=${destroot}${prefix}/share/man/man8
+
+post-destroot {
+	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
+	xinstall -W ${worksrcpath} README INSTALL COPYING \
+		${destroot}${prefix}/share/doc/${name}
+
+	xinstall ${worksrcpath}/ssmtp.conf ${destroot}${prefix}/etc/${name}/ssmpt.conf.sample
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070920/fd175efe/attachment.html


More information about the macports-changes mailing list