[84879] trunk/dports/devel/missingh/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Oct 3 13:36:00 PDT 2011


Revision: 84879
          http://trac.macports.org/changeset/84879
Author:   ryandesign at macports.org
Date:     2011-10-03 13:35:57 -0700 (Mon, 03 Oct 2011)
Log Message:
-----------
missingh: use system -W

Modified Paths:
--------------
    trunk/dports/devel/missingh/Portfile

Modified: trunk/dports/devel/missingh/Portfile
===================================================================
--- trunk/dports/devel/missingh/Portfile	2011-10-03 20:21:26 UTC (rev 84878)
+++ trunk/dports/devel/missingh/Portfile	2011-10-03 20:35:57 UTC (rev 84879)
@@ -23,22 +23,27 @@
 
 worksrcdir	${name}
 
-pre-configure	{ system "cd ${worksrcpath} && make setup"
-		}
+pre-configure {
+    system -W ${worksrcpath} "make setup"
+}
 
-configure	{ system "cd ${worksrcpath} && ./setup configure --prefix=${prefix}"
-		}
+configure {
+    system -W ${worksrcpath} "./setup configure --prefix=${prefix}"
+}
 
-build		{ system "cd ${worksrcpath} && ./setup build"
-		}
+build {
+    system -W ${worksrcpath} "./setup build"
+}
 
 test.run	yes
-test		{ system "cd ${worksrcpath} && make test-ghc6"
-		}
+test {
+    system -W ${worksrcpath} "make test-ghc6"
+}
 
-destroot	{ system "cd ${worksrcpath} && ./setup copy --copy-prefix=${destroot}${prefix}"
-                  system "cd ${worksrcpath} && ./Setup register   --gen-script"
-                  system "cd ${worksrcpath} && ./Setup unregister --gen-script"
+destroot {
+    system -W ${worksrcpath} "./setup copy --copy-prefix=${destroot}${prefix}"
+    system -W ${worksrcpath} "./setup register   --gen-script"
+    system -W ${worksrcpath} "./setup unregister --gen-script"
 
                   file mkdir ${destroot}${prefix}/libexec/${name}
                   file copy ${worksrcpath}/register.sh \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111003/770f6d6a/attachment.html>


More information about the macports-changes mailing list