[85059] users/hum/textproc/chasen/Portfile

hum at macports.org hum at macports.org
Sat Oct 8 09:26:20 PDT 2011


Revision: 85059
          http://trac.macports.org/changeset/85059
Author:   hum at macports.org
Date:     2011-10-08 09:26:17 -0700 (Sat, 08 Oct 2011)
Log Message:
-----------
chasen: use the Tcl ln command instead of the system one. correct long_description.
See http://lists.macosforge.org/pipermail/macports-dev/2011-October/016376.html. Thanks to Ryan!

Modified Paths:
--------------
    users/hum/textproc/chasen/Portfile

Modified: users/hum/textproc/chasen/Portfile
===================================================================
--- users/hum/textproc/chasen/Portfile	2011-10-08 15:50:38 UTC (rev 85058)
+++ users/hum/textproc/chasen/Portfile	2011-10-08 16:26:17 UTC (rev 85059)
@@ -13,7 +13,7 @@
 homepage            http://chasen-legacy.sourceforge.jp/
 description         Japanese morphological analysis system
 long_description    ChaSen is a tool to analyze a text according to a set of dictionaries that \
-                    specifies grammer, part of speech of words, and so on.
+                    specifies grammer, part of speech of words, and so on. \
                     This port depends on ChaSen base analyzer and a Japanese dictionary.
 
 distfiles
@@ -86,10 +86,10 @@
 destroot {
     set dest_chasen ${destroot}${prefix}/etc/chasen
     file mkdir ${dest_chasen}
-    system "cd ${dest_chasen} && ln -sf chasenrc-${dicname} chasenrc"
+    ln -s chasenrc-${dicname} ${dest_chasen}/chasenrc
     foreach encoding {utf8 sjis} {
         if {[variant_isset ${encoding}]} {
-            system "cd ${dest_chasen} && ln -sf chasenrc-${dicname}-${encoding} chasenrc-${encoding}"
+            ln -s chasenrc-${dicname}-${encoding} ${dest_chasen}/chasenrc-${encoding}
         }
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111008/46983a2c/attachment-0001.html>


More information about the macports-changes mailing list