[32765] trunk/dports/devel/missingh/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Jan 13 02:31:49 PST 2008
Revision: 32765
http://trac.macosforge.org/projects/macports/changeset/32765
Author: ryandesign at macports.org
Date: 2008-01-13 02:31:44 -0800 (Sun, 13 Jan 2008)
Log Message:
-----------
missingh: no longer use the deprecated 'cd' command
Modified Paths:
--------------
trunk/dports/devel/missingh/Portfile
Modified: trunk/dports/devel/missingh/Portfile
===================================================================
--- trunk/dports/devel/missingh/Portfile 2008-01-13 09:36:30 UTC (rev 32764)
+++ trunk/dports/devel/missingh/Portfile 2008-01-13 10:31:44 UTC (rev 32765)
@@ -23,27 +23,22 @@
worksrcdir ${name}
-pre-configure { cd ${worksrcpath}
- system "make setup"
+pre-configure { system "cd ${worksrcpath} && make setup"
}
-configure { cd ${worksrcpath}
- system "./setup configure --prefix=${prefix}"
+configure { system "cd ${worksrcpath} && ./setup configure --prefix=${prefix}"
}
-build { cd ${worksrcpath}
- system "./setup build"
+build { system "cd ${worksrcpath} && ./setup build"
}
test.run yes
-test { cd ${worksrcpath}
- system "make test-ghc6"
+test { system "cd ${worksrcpath} && make test-ghc6"
}
-destroot { cd ${worksrcpath}
- system "./setup copy --copy-prefix=${destroot}${prefix}"
- system "./Setup register --gen-script"
- system "./Setup unregister --gen-script"
+destroot { system "cd ${worksrcpath} && ./setup copy --copy-prefix=${destroot}${prefix}"
+ system "cd ${worksrcpath} && ./Setup register --gen-script"
+ system "cd ${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/20080113/76069e35/attachment.html
More information about the macports-changes
mailing list