[28983] trunk/dports/archivers/ppmd/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Sep 12 14:37:33 PDT 2007


Revision: 28983
          http://trac.macosforge.org/projects/macports/changeset/28983
Author:   nox at macports.org
Date:     2007-09-12 14:37:33 -0700 (Wed, 12 Sep 2007)

Log Message:
-----------
ppmd: Removed cd calls.

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

Modified: trunk/dports/archivers/ppmd/Portfile
===================================================================
--- trunk/dports/archivers/ppmd/Portfile	2007-09-12 21:36:56 UTC (rev 28982)
+++ trunk/dports/archivers/ppmd/Portfile	2007-09-12 21:37:33 UTC (rev 28983)
@@ -27,14 +27,12 @@
 build.args      "CXXFLAGS=\"${configure.cflags}\""
 
 destroot {
-    cd ${worksrcpath}
+    xinstall ${worksrcpath}/ppmd ${destroot}${prefix}/bin
+    xinstall -m 0444 ${worksrcpath}/ppmd.1 ${destroot}${prefix}/share/man/man1
 
-    xinstall ppmd ${destroot}${prefix}/bin
-    xinstall -m 0444 ppmd.1 ${destroot}${prefix}/share/man/man1
-
     set docdir ${prefix}/share/doc/${name}-${version}
     xinstall -d ${destroot}${docdir}
-    xinstall -m 0644 read_me.txt ${destroot}${docdir}
+    xinstall -m 0644 ${worksrcpath}/read_me.txt ${destroot}${docdir}
 }
 
 variant universal {

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


More information about the macports-changes mailing list