[136591] trunk/dports/graphics/libjpeg-turbo/Portfile

larryv at macports.org larryv at macports.org
Fri May 22 15:19:34 PDT 2015


Revision: 136591
          https://trac.macports.org/changeset/136591
Author:   larryv at macports.org
Date:     2015-05-22 15:19:34 -0700 (Fri, 22 May 2015)
Log Message:
-----------
libjpeg-turbo: Have build system install docs

Modified Paths:
--------------
    trunk/dports/graphics/libjpeg-turbo/Portfile

Modified: trunk/dports/graphics/libjpeg-turbo/Portfile
===================================================================
--- trunk/dports/graphics/libjpeg-turbo/Portfile	2015-05-22 22:19:32 UTC (rev 136590)
+++ trunk/dports/graphics/libjpeg-turbo/Portfile	2015-05-22 22:19:34 UTC (rev 136591)
@@ -50,16 +50,8 @@
     }
 }
 
-post-destroot {
-    xinstall -d ${destroot}${prefix}/share/doc/${name}
-    move ${destroot}${prefix}/share/doc/example.c ${destroot}${prefix}/share/doc/${name}/
-    move ${destroot}${prefix}/share/doc/libjpeg.txt ${destroot}${prefix}/share/doc/${name}/
-    move ${destroot}${prefix}/share/doc/README ${destroot}${prefix}/share/doc/${name}/
-    move ${destroot}${prefix}/share/doc/README-turbo.txt ${destroot}${prefix}/share/doc/${name}/
-    move ${destroot}${prefix}/share/doc/structure.txt ${destroot}${prefix}/share/doc/${name}/
-    move ${destroot}${prefix}/share/doc/usage.txt ${destroot}${prefix}/share/doc/${name}/
-    move ${destroot}${prefix}/share/doc/wizard.txt ${destroot}${prefix}/share/doc/${name}/
-}
+destroot.args       docdir='${prefix}/share/doc/${name}' \
+                    exampledir='${prefix}/share/doc/${name}'
 
 livecheck.url   http://sourceforge.net/projects/libjpeg-turbo/files
 livecheck.regex "${name}\/files\/(\\d+(?:\\.\\d+)*)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150522/0697620c/attachment.html>


More information about the macports-changes mailing list