[28961] trunk/dports/archivers/dzip/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 12 12:35:34 PDT 2007


Revision: 28961
          http://trac.macosforge.org/projects/macports/changeset/28961
Author:   nox at macports.org
Date:     2007-09-12 12:35:34 -0700 (Wed, 12 Sep 2007)

Log Message:
-----------
dzip:
 * Fixed destroot.
 * Don't use {{{cd}}} anymore.

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

Modified: trunk/dports/archivers/dzip/Portfile
===================================================================
--- trunk/dports/archivers/dzip/Portfile	2007-09-12 19:35:11 UTC (rev 28960)
+++ trunk/dports/archivers/dzip/Portfile	2007-09-12 19:35:34 UTC (rev 28961)
@@ -35,13 +35,11 @@
 build.args      -f Makefile.linux
 
 destroot {
-    cd ${worksrcpath}
+    xinstall ${worksrcpath}/dzip ${destroot}${prefix}/bin
 
-    xinstall -m 0755 ${destroot}${prefix}/bin
-
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}
-    xinstall -m 0644 Readme ${destroot}${docdir}
+    xinstall -m 0644 ${worksrcpath}/Readme ${destroot}${docdir}
 }
 
 variant universal {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070912/cf24175f/attachment.html


More information about the macports-changes mailing list