[97973] trunk/dports/textproc/cabocha/Portfile
hum at macports.org
hum at macports.org
Thu Sep 20 23:15:25 PDT 2012
Revision: 97973
http://trac.macports.org//changeset/97973
Author: hum at macports.org
Date: 2012-09-20 23:15:25 -0700 (Thu, 20 Sep 2012)
Log Message:
-----------
cabocha: fix license; install additional documents and extra tools.
Modified Paths:
--------------
trunk/dports/textproc/cabocha/Portfile
Modified: trunk/dports/textproc/cabocha/Portfile
===================================================================
--- trunk/dports/textproc/cabocha/Portfile 2012-09-21 05:59:53 UTC (rev 97972)
+++ trunk/dports/textproc/cabocha/Portfile 2012-09-21 06:15:25 UTC (rev 97973)
@@ -5,6 +5,7 @@
name cabocha
version 0.64
+revision 1
categories textproc japanese
maintainers hum openmaintainer
@@ -15,7 +16,7 @@
homepage http://code.google.com/p/cabocha/
platforms darwin
-license BSD
+license {BSD Permissive}
master_sites googlecode
checksums rmd160 b6e0a3f7cb4829e26b8b86ca2e2ab6131ab22a12 \
@@ -42,3 +43,17 @@
test.run yes
test.target check
+
+post-destroot {
+ # install additional documents.
+ set doc_dir ${destroot}${prefix}/share/doc/${name}
+ file mkdir ${doc_dir}
+ xinstall -m 644 -W ${worksrcpath} \
+ AUTHORS COPYING ChangeLog TODO \
+ ${doc_dir}
+ xinstall -m 644 ${worksrcpath}/doc/README.txt ${doc_dir}
+ # install extra tools.
+ set share_dir ${destroot}${prefix}/share/${name}
+ file mkdir ${share_dir}
+ copy ${worksrcpath}/tools ${share_dir}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120920/09ebceba/attachment.html>
More information about the macports-changes
mailing list