[112686] trunk/dports/math/wapiti/Portfile
hum at macports.org
hum at macports.org
Tue Oct 29 07:11:57 PDT 2013
Revision: 112686
https://trac.macports.org/changeset/112686
Author: hum at macports.org
Date: 2013-10-29 07:11:57 -0700 (Tue, 29 Oct 2013)
Log Message:
-----------
wapiti: install doc and examples according to the standard file hierarchy.
Modified Paths:
--------------
trunk/dports/math/wapiti/Portfile
Modified: trunk/dports/math/wapiti/Portfile
===================================================================
--- trunk/dports/math/wapiti/Portfile 2013-10-29 14:11:26 UTC (rev 112685)
+++ trunk/dports/math/wapiti/Portfile 2013-10-29 14:11:57 UTC (rev 112686)
@@ -5,7 +5,7 @@
name wapiti
version 1.4.0
-revision 1
+revision 2
categories math textproc
maintainers hum openmaintainer
@@ -38,16 +38,15 @@
post-destroot {
# install additional documents.
- set docdir ${prefix}/share/doc/${name}
- xinstall -d ${destroot}${docdir}
+ set dest_doc ${destroot}${prefix}/share/doc/${name}
+ xinstall -d ${dest_doc}
xinstall -m 644 -W ${worksrcpath} \
- COPYING \
- HISTORY \
- ${destroot}${docdir}
- # install sample data.
- set wapiti_dir ${prefix}/share/${name}
- xinstall -d ${destroot}${wapiti_dir}
- copy ${worksrcpath}/dat ${destroot}${wapiti_dir}
+ COPYING HISTORY \
+ ${dest_doc}
+ # install examples.
+ xinstall -d ${destroot}${prefix}/share/examples
+ set dest_ex ${destroot}${prefix}/share/examples/${name}
+ copy ${worksrcpath}/dat ${dest_ex}
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131029/ab23a14e/attachment.html>
More information about the macports-changes
mailing list