[110920] trunk/dports/mail/qpopper/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Sep 9 21:48:44 PDT 2013


Revision: 110920
          https://trac.macports.org/changeset/110920
Author:   ryandesign at macports.org
Date:     2013-09-09 21:48:44 -0700 (Mon, 09 Sep 2013)
Log Message:
-----------
qpopper: use notes instead of ui_msgs

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

Modified: trunk/dports/mail/qpopper/Portfile
===================================================================
--- trunk/dports/mail/qpopper/Portfile	2013-09-10 04:14:07 UTC (rev 110919)
+++ trunk/dports/mail/qpopper/Portfile	2013-09-10 04:48:44 UTC (rev 110920)
@@ -50,18 +50,20 @@
         ${destroot}${prefix}/etc/xinetd.d/qpopper-dist
 }
 
-# Tell the user that the server needs to be used through (x)inetd
-post-install {
-    ui_msg "\nTo use qpopper, you'll need to add it to inetd.conf/xinetd.d/launchd depending on"
-    ui_msg "what you use on your system.\n"
-    ui_msg "For inetd, something like:"
-    ui_msg "pop3  stream  tcp  nowait  root  /usr/libexec/tcpd  ${prefix}/sbin/popper"
-    ui_msg "should do it.\n"
-    ui_msg "For xinetd, you'll find in ${prefix}/etc/xinetd.d/"
-    ui_msg "a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/\n"
-    ui_msg "In both cases, don't forget to tell (x)inetd to reload their configuration.\n"
-}
+notes "
+To use qpopper, you'll need to add it to inetd.conf/xinetd.d/launchd depending on\
+what you use on your system.
 
+For inetd, something like:
+pop3  stream  tcp  nowait  root  /usr/libexec/tcpd  ${prefix}/sbin/popper
+should do it.
+
+For xinetd, you'll find in ${prefix}/etc/xinetd.d/\
+a file called qpopper-dist that you should edit and copy to /etc/xinetd.d/
+
+In both cases, don't forget to tell (x)inetd to reload their configuration.
+"
+
 platform darwin {
     configure.args-append   --enable-specialauth
     configure.ldflags   "-framework DirectoryService"
@@ -75,9 +77,10 @@
             ${destroot}${prefix}/Library/LaunchDaemons/org.macports.mail.qpopper.plist-dist
     }
 
-    post-install {
-        ui_msg "For launchd, you'll find in ${prefix}/Library/LaunchDaemons/ a file called org.macports.mail.qpopper.plist-dist that you should edit and copy to /Library/LaunchDaemons/"
-    }
+    notes-append "
+    For launchd, you'll find in ${prefix}/Library/LaunchDaemons/\
+    a file called org.macports.mail.qpopper.plist-dist that you should edit and copy to /Library/LaunchDaemons/
+    "
 }
 
 variant ssl {
@@ -85,10 +88,10 @@
 
     configure.args-append   --with-openssl=${prefix}
 
-    post-install {
-        ui_msg "To get TLS/SSL working, you need to setup certificates."
-        ui_msg "Cf: http://www.eudora.com/qpopper/faq.html#tls"
-    }
+    notes-append "
+    To get TLS/SSL working, you need to set up certificates.\
+    Cf: http://www.eudora.com/qpopper/faq.html#tls
+    "
 }
 
 variant pam {
@@ -102,10 +105,10 @@
     configure.args-delete   --without-pam
     configure.args-append   --with-pam=pop3
 
-    post-install {
-        ui_msg "Additionally, for PAM, you need to copy /etc/pam.d/sshd to"
-        ui_msg " /etc/pam.d/pop3, or use another config with pam_securityserver.so."
-    }
+    notes-append "
+    Additionally, for PAM, you need to copy /etc/pam.d/sshd to\
+    /etc/pam.d/pop3, or use another config with pam_securityserver.so.
+    "
 }
 
 livecheck.type      md5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130909/57ea18cc/attachment.html>


More information about the macports-changes mailing list