[94406] trunk/dports/math/wapiti/Portfile

hum at macports.org hum at macports.org
Mon Jun 18 05:44:24 PDT 2012


Revision: 94406
          https://trac.macports.org/changeset/94406
Author:   hum at macports.org
Date:     2012-06-18 05:44:22 -0700 (Mon, 18 Jun 2012)
Log Message:
-----------
wapiti: install additional documents in ${prefix}/share/doc/${name} instead of ${prefix}/share/{name}; see http://lists.macosforge.org/pipermail/macports-dev/2012-June/019739.html.

Modified Paths:
--------------
    trunk/dports/math/wapiti/Portfile

Modified: trunk/dports/math/wapiti/Portfile
===================================================================
--- trunk/dports/math/wapiti/Portfile	2012-06-18 12:31:45 UTC (rev 94405)
+++ trunk/dports/math/wapiti/Portfile	2012-06-18 12:44:22 UTC (rev 94406)
@@ -5,6 +5,7 @@
 
 name                wapiti
 version             1.4.0
+revision            1
 categories          math textproc
 maintainers         hum openmaintainer
 
@@ -37,13 +38,16 @@
 
 post-destroot {
     # install additional documents.
-    set wapiti_dir ${destroot}${prefix}/share/${name}
-    xinstall -d ${wapiti_dir}
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
     xinstall -m 644 -W ${worksrcpath} \
-        COPYING HISTORY \
-        ${wapiti_dir}
+        COPYING \
+        HISTORY \
+        ${destroot}${docdir}
     # install sample data.
-    copy ${worksrcpath}/dat ${wapiti_dir}
+    set wapiti_dir ${prefix}/share/${name}
+    xinstall -d ${destroot}${wapiti_dir}
+    copy ${worksrcpath}/dat ${destroot}${wapiti_dir}
 }
 
 livecheck.type      regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120618/705819e4/attachment.html>


More information about the macports-changes mailing list