[99563] trunk/dports/textproc/kakarot/Portfile
hum at macports.org
hum at macports.org
Fri Nov 9 16:25:33 PST 2012
Revision: 99563
http://trac.macports.org//changeset/99563
Author: hum at macports.org
Date: 2012-11-09 16:25:33 -0800 (Fri, 09 Nov 2012)
Log Message:
-----------
kakarot: install README.txt in ${prefix}/share/doc/${name}; add comments.
Modified Paths:
--------------
trunk/dports/textproc/kakarot/Portfile
Modified: trunk/dports/textproc/kakarot/Portfile
===================================================================
--- trunk/dports/textproc/kakarot/Portfile 2012-11-10 00:21:44 UTC (rev 99562)
+++ trunk/dports/textproc/kakarot/Portfile 2012-11-10 00:25:33 UTC (rev 99563)
@@ -6,6 +6,7 @@
github.setup yu-hatva kakarot c0c690cb45264446c7c0b3a2c32008a5888e4cee
version 0.2
+revision 1
categories textproc japanese
maintainers hum openmaintainer
@@ -64,6 +65,7 @@
set kakarotrc ${prefix}/etc/kakarotrc
post-destroot {
+ # rename binary, library and resource files.
move ${destroot}${prefix}/bin/cabocha ${destroot}${kakarot_bin}
move ${destroot}${prefix}/lib/libcabocha.4.dylib ${destroot}${kakarot_lib}
move ${destroot}${prefix}/lib/cabocha ${destroot}${prefix}/lib/kakarot
@@ -73,10 +75,16 @@
foreach path [list ${kakarot_bin} ${kakarot_lib}] {
system "install_name_tool -change ${prefix}/lib/libcabocha.4.dylib ${kakarot_lib} ${destroot}${path}"
}
- xinstall -m 644 ${kakarot_srcpath}/kakeval.txt ${destroot}${prefix}/lib/kakarot
+ # delete other cabocha files.
foreach path {bin/cabocha-config include lib/libcabocha.a lib/libcabocha.la lib/libcabocha.dylib libexec share} {
delete ${destroot}${prefix}/${path}
}
+ # install a resource file for v0.2.
+ xinstall -m 644 ${kakarot_srcpath}/kakeval.txt ${destroot}${prefix}/lib/kakarot
+ # install an additional document.
+ set docdir ${prefix}/share/doc/kakarot
+ xinstall -d ${destroot}${docdir}
+ xinstall -m 644 ${kakarot_srcpath}/README.txt ${destroot}${docdir}
}
livecheck.type none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121109/80846057/attachment.html>
More information about the macports-changes
mailing list