[81863] trunk/dports/multimedia/ffmpeg/Portfile

jmr at macports.org jmr at macports.org
Sat Aug 6 00:53:42 PDT 2011


Revision: 81863
          http://trac.macports.org/changeset/81863
Author:   jmr at macports.org
Date:     2011-08-06 00:53:41 -0700 (Sat, 06 Aug 2011)
Log Message:
-----------
ffmpeg: use notes

Modified Paths:
--------------
    trunk/dports/multimedia/ffmpeg/Portfile

Modified: trunk/dports/multimedia/ffmpeg/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg/Portfile	2011-08-06 07:48:29 UTC (rev 81862)
+++ trunk/dports/multimedia/ffmpeg/Portfile	2011-08-06 07:53:41 UTC (rev 81863)
@@ -181,9 +181,8 @@
     depends_lib-append port:jack
 }
 
-post-activate {
-    if {![variant_isset no_nonfree]} {
-        ui_msg "
+if {![variant_isset no_nonfree]} {
+notes "
 *******
 ******* This build of ${name} includes nonfree code as follows:
 *******
@@ -201,8 +200,8 @@
 ******* To remove this restriction use variant +no_nonfree
 *******
 "
-    } elseif {![variant_isset no_gpl]} {
-        ui_msg "
+} elseif {![variant_isset no_gpl]} {
+notes "
 *******
 ******* This build of ${name} includes GPLed code and
 ******* is therefore licensed under GPL v2 or later.
@@ -217,14 +216,13 @@
 ******* To include only LGPLed code use variant +no_gpl +no_nonfree
 *******
 "
-    } else {
-        ui_msg "
+} else {
+notes "
 *******
 ******* This build of ${name} includes no GPLed or nonfree
 ******* code and is therefore licensed under LGPL v2.1 or later.
 *******
 "
-    }
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110806/64059415/attachment.html>


More information about the macports-changes mailing list