[78037] trunk/dports/textproc/chasen/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Apr 20 02:50:19 PDT 2011


Revision: 78037
          http://trac.macports.org/changeset/78037
Author:   ryandesign at macports.org
Date:     2011-04-20 02:50:18 -0700 (Wed, 20 Apr 2011)
Log Message:
-----------
chasen: use notes

Modified Paths:
--------------
    trunk/dports/textproc/chasen/Portfile

Modified: trunk/dports/textproc/chasen/Portfile
===================================================================
--- trunk/dports/textproc/chasen/Portfile	2011-04-20 09:45:24 UTC (rev 78036)
+++ trunk/dports/textproc/chasen/Portfile	2011-04-20 09:50:18 UTC (rev 78037)
@@ -85,12 +85,14 @@
         xinstall -m 644 ${workpath}/${ipa}/doc/ipadic-ja.pdf ${destroot}${prefix}/share/doc/chasen-ipadic/doc
     }
 
-    post-activate {
-        ui_msg "\nDue to historical reasons, the default encoding of ChaSen is set to EUC-JP."
-        ui_msg "If you'd like to handle text files written in UTF-8 or Shift_JIS, you may use -r and -i options.\n"
-        ui_msg "  UTF-8)     chasen -r ${prefix}/etc/chasenrc-UTF-8 -i w <input>"
-        ui_msg "  Shift_JIS) chasen -r ${prefix}/etc/chasenrc-Shift_JIS -i s <input>\n"
-    }
+    notes-append "
+        Due to historical reasons, the default encoding of ChaSen is set to EUC-JP.\
+        If you'd like to handle text files written in UTF-8 or Shift_JIS, you may use\
+        -r and -i options.
+        
+        UTF-8)     chasen -r ${prefix}/etc/chasenrc-UTF-8 -i w <input>
+        Shift_JIS) chasen -r ${prefix}/etc/chasenrc-Shift_JIS -i s <input>
+        "
 }
 
 livecheck.type  regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110420/0cd3472a/attachment.html>


More information about the macports-changes mailing list