Revision: 74462 http://trac.macports.org/changeset/74462 Author: ryandesign@macports.org Date: 2010-12-17 21:20:40 -0800 (Fri, 17 Dec 2010) Log Message: ----------- whois: use notes Modified Paths: -------------- trunk/dports/net/whois/Portfile Modified: trunk/dports/net/whois/Portfile =================================================================== --- trunk/dports/net/whois/Portfile 2010-12-18 05:13:31 UTC (rev 74461) +++ trunk/dports/net/whois/Portfile 2010-12-18 05:20:40 UTC (rev 74462) @@ -88,11 +88,16 @@ xinstall -m 644 -W ${worksrcpath} whois.conf ${destroot}${prefix}/etc/whois.conf.sample } -post-activate { - if {![file exists ${prefix}/etc/whois.conf]} { - ui_msg "To customize which whois servers get used, copy" - ui_msg "${prefix}/etc/whois.conf.sample to" - ui_msg "${prefix}/etc/whois.conf and then make changes." +notes " +To customize which whois servers get used, copy\ +${prefix}/etc/whois.conf.sample to\ +${prefix}/etc/whois.conf and then make changes. +" + +pre-activate { + # Clear the notes if the user has already done what they say to do. + if {[file exists ${prefix}/etc/whois.conf]} { + notes } }
participants (1)
-
ryandesign@macports.org