[62696] trunk/dports/archivers/zlib/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 13 16:22:12 PST 2010


Revision: 62696
          http://trac.macports.org/changeset/62696
Author:   ryandesign at macports.org
Date:     2010-01-13 16:22:11 -0800 (Wed, 13 Jan 2010)
Log Message:
-----------
zlib: documentation goes in unversioned directory. examples go in share/examples

Modified Paths:
--------------
    trunk/dports/archivers/zlib/Portfile

Modified: trunk/dports/archivers/zlib/Portfile
===================================================================
--- trunk/dports/archivers/zlib/Portfile	2010-01-14 00:07:51 UTC (rev 62695)
+++ trunk/dports/archivers/zlib/Portfile	2010-01-14 00:22:11 UTC (rev 62696)
@@ -4,7 +4,7 @@
 
 name                    zlib
 version                 1.2.3
-revision                3
+revision                4
 categories              archivers
 maintainers             landonf ryandesign openmaintainer
 license                 zlib
@@ -44,11 +44,11 @@
 destroot.destdir        prefix=${destroot}${prefix}
 
 post-destroot {
-    set docdir ${prefix}/share/doc/${name}-${version}
+    set docdir ${prefix}/share/doc/${name}
     xinstall -d ${destroot}${docdir}
     xinstall -m 0644 -W ${worksrcpath} ChangeLog FAQ README ${destroot}${docdir}
     
-    set examplesdir ${docdir}/examples
+    set examplesdir ${prefix}/share/examples/${name}
     xinstall -d ${destroot}${examplesdir}
     eval xinstall -m 0644 [glob ${worksrcpath}/example{.c,s/*}] ${destroot}${examplesdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100113/46a778ea/attachment.html>


More information about the macports-changes mailing list