[85060] users/hum/textproc
hum at macports.org
hum at macports.org
Sat Oct 8 09:27:44 PDT 2011
Revision: 85060
http://trac.macports.org/changeset/85060
Author: hum at macports.org
Date: 2011-10-08 09:27:44 -0700 (Sat, 08 Oct 2011)
Log Message:
-----------
mecab, mecab-sjis, mecab-utf8: use the Tcl ln command instead of the system one.
See http://lists.macosforge.org/pipermail/macports-dev/2011-October/016376.html. Thanks to Ryan!
Modified Paths:
--------------
users/hum/textproc/mecab/Portfile
users/hum/textproc/mecab-sjis/Portfile
users/hum/textproc/mecab-utf8/Portfile
Modified: users/hum/textproc/mecab/Portfile
===================================================================
--- users/hum/textproc/mecab/Portfile 2011-10-08 16:26:17 UTC (rev 85059)
+++ users/hum/textproc/mecab/Portfile 2011-10-08 16:27:44 UTC (rev 85060)
@@ -63,7 +63,7 @@
destroot {
set dest_dic ${destroot}${prefix}/lib/mecab/dic
file mkdir ${dest_dic}
- system "cd ${dest_dic}; ln -sf ${dicname}-${encoding} sysdic"
+ ln -s ${dicname}-${encoding} ${dest_dic}/sysdic
}
livecheck.type none
Modified: users/hum/textproc/mecab-sjis/Portfile
===================================================================
--- users/hum/textproc/mecab-sjis/Portfile 2011-10-08 16:26:17 UTC (rev 85059)
+++ users/hum/textproc/mecab-sjis/Portfile 2011-10-08 16:27:44 UTC (rev 85060)
@@ -50,9 +50,9 @@
}
destroot {
- set dicdir ${destroot}${prefix}/lib/mecab/dic
- file mkdir ${dicdir}
- system "cd ${dicdir}; ln -sf ${dicname}-${encoding} sysdic"
+ set dest_dic ${destroot}${prefix}/lib/mecab/dic
+ file mkdir ${dest_dic}
+ ln -s ${dicname}-${encoding} ${dest_dic}/sysdic
}
livecheck.type none
Modified: users/hum/textproc/mecab-utf8/Portfile
===================================================================
--- users/hum/textproc/mecab-utf8/Portfile 2011-10-08 16:26:17 UTC (rev 85059)
+++ users/hum/textproc/mecab-utf8/Portfile 2011-10-08 16:27:44 UTC (rev 85060)
@@ -50,9 +50,9 @@
}
destroot {
- set dicdir ${destroot}${prefix}/lib/mecab/dic
- file mkdir ${dicdir}
- system "cd ${dicdir}; ln -sf ${dicname}-${encoding} sysdic"
+ set dest_dic ${destroot}${prefix}/lib/mecab/dic
+ file mkdir ${dest_dic}
+ ln -s ${dicname}-${encoding} ${dest_dic}/sysdic
}
livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111008/99b1cd01/attachment.html>
More information about the macports-changes
mailing list